• Greg Rose's avatar
    i40e: Do not enable default port on the VEB · 56747264
    Greg Rose authored
    Enabling the default port on the VEB causes all outgoing traffic from
    virtual functions to be copied to the physical function.  The default
    port is only supposed to be used if you wish to bridge the physical
    function to a SW switch such as Open vSwitch or the Linux bridge. That
    allows the SW switch to route traffic to VMs that are not using a
    virtual function.
    
    Eventually we'll want to implement the ndo_fdb_add, ndo_fdb_del, and
    ndo_fdb_dump functions.  The ndo_fdb_add function would set the
    default port on the VEB in those cases where the MAC/VLAN address
    filters have overflowed.  Normally we would not want to use it.
    
    Change-Id: I3990f0384fff2840c4e43bc0955dd0b701380852
    Signed-off-by: default avatarGreg Rose <gregory.v.rose@intel.com>
    Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
    Tested-by: default avatarSibai Li <sibai.li@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    56747264
i40e_main.c 217 KB