You must ask e-bookers.
Nobody can give proper information without knowing whether e-bookers are providing two seperate tickets (and therefore you must adhere to each airlines baggage policy), or -as is likely - this is a through ticket where two seperate airlines have a combined deal which usually means that the largest allowance is the one that both airlines agree to.
Sorry,above seems a bit garbled - anyway ,check with e-bookers
I have found that if you are connecting from Aer Lingus to an onward flight with BA etc that they will allow you the extra luggage e.g. I flew to LAX a couple of years back and had my full allowance of 23kg with BA and Aer Lingus had no problems; maybe a different story if you had an extra 10kg instead of 3