maybe you can add some debug-messages to see why the sfp does not work. maybe i2c is too fast/too slow configured