Hello,
This is a known issue with the driver and kernel version you're using and is supposed to be fixed in the next driver release.
Regardless, you shouldn't be putting your faith on this script in order to verify you have the correct configuration in place.
I suggest using "ibstat" or "ibv_devinfo" in order to verify physical connectivity. let me know if you need further help on this.
Cheers