EF is long flange distance, RF is short flange, so an EF lens will go on an RF camera with an adapter, but NOT vice versa. Second, your lens is EF-S, which only covers an APS-C sensor. The RP is full frame, so your lens will only cover the middle part of the sensor.