• Dave Ertman's avatar
    ice: Remove LAG+SRIOV mutual exclusion · 1c769b1a
    Dave Ertman authored
    There was a change previously to stop SR-IOV and LAG from existing on the
    same interface.  This was to prevent the violation of LACP (Link
    Aggregation Control Protocol).  The method to achieve this was to add a
    no-op Rx handler onto the netdev when SR-IOV VFs were present, thus
    blocking bonding, bridging, etc from claiming the interface by adding
    its own Rx handler.  Also, when an interface was added into a aggregate,
    then the SR-IOV capability was set to false.
    
    There are some users that have in house solutions using both SR-IOV and
    bridging/bonding that this method interferes with (e.g. creating duplicate
    VFs on the bonded interfaces and failing between them when the interface
    fails over).
    
    It makes more sense to provide the most functionality
    possible, the restriction on co-existence of these features will be
    removed.  No additional functionality is currently being provided beyond
    what existed before the co-existence restriction was put into place.  It is
    up to the end user to not implement a solution that would interfere with
    existing network protocols.
    Reviewed-by: default avatarMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
    Signed-off-by: default avatarDave Ertman <david.m.ertman@intel.com>
    Signed-off-by: default avatarWojciech Drewek <wojciech.drewek@intel.com>
    Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
    Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
    1c769b1a
ice_lag.c 9.75 KB