Quantcast
Viewing all articles
Browse latest Browse all 4405

Which bonding mode does Intel SR-IOV NIC support?

Hi, Expert

 

I've investigated this for some days.

 

My purpose is launching a VM which has two VFs come from two physical NICs, and then do the bonding inside the VM.

I've tried all the 7 bonding modes, only the mode 1(active-backup) works, all the others cannot work.

 

From the following articles, the reason why other bonding mode cannot work is VM cannot change the VF's MAC address successfully.

https://bugzilla.redhat.com/show_bug.cgi?id=1164224

SR-IOV on NIC 82599: Are VF MAC Addresses unique?

https://communities.intel.com/message/246183#246183

 

From the igb driver code, I also notice the HOST refuse VM's change VF's MAC address request.

 

case E1000_VF_SET_MAC_ADDR:

    retval = -EINVAL;

    if (!(vf_data->flags & IGB_VF_FLAG_PF_SET_MAC))

         retval = igb_set_vf_mac_addr(adapter, msgbuf, vf);

    else

         dev_warn(&pdev->dev, "VF %d attempted to override administratively set MAC address\nReload the VF driver to resume operations\n", vf);

    break;

 

So, My question is

* Does Intel's SR-IOV NIC only support bonding mode active-backup? only this mode not request VM change it's interface's MAC address.

* If I want to use active-active bonding mode, such as mode 0/2/4/5/6, any solution/walkaround to make it work?

 

Thanks.


Viewing all articles
Browse latest Browse all 4405

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>