Fixed a bug in "generate_vf_bdf"
Tested on 2 port card and working fine.