• Anjali Singhai Jain's avatar
    i40e: Set defport behavior for the Main VSI when in promiscuous mode · 92faef85
    Anjali Singhai Jain authored
    This fixes bugs where the port is not receiving multicast or VLAN tagged
    packets when in promiscuous mode. This can occur when a SW bridge is
    created on top of the device.
    
    This also fixes issues where the promiscuous behavior setting was not
    being preserved across a reset caused by features being enabled or
    disabled.
    
    We are using defport instead of doing a true promiscuous mode because we do
    not need to receive the SRIOV or VMDq VSI directed traffic which would suck
    up bandwidth and is really not intended for the SW bridge.
    
    In addition, with defport we get VLAN promiscuous behavior which is not
    possible from the VSI level promiscuous setting.
    
    Change-ID: Ie21985eac32d5af1c02e9d71c6430a90d5bab40f
    Signed-off-by: default avatarAnjali Singhai Jain <anjali.singhai@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    92faef85
i40e_main.c 288 KB