• Tushar Dave's avatar
    i40e: Fix errors resulted while turning off TSO · a70e407f
    Tushar Dave authored
    On systems with 128 CPUs, turning off TSO results in errors,
    
    i40e 0000:03:00.0: failed to get tracking for 1 vectors for VSI 400, err=-12
    i40e 0000:03:00.0: Couldn't create FDir VSI
    i40e 0000:03:00.0: i40e_ptp_init: PTP not supported on eth0
    i40e 0000:03:00.0: couldn't add VEB, err I40E_ERR_ADMIN_QUEUE_ERROR aq_err I40E_AQ_RC_ENOENT
    i40e 0000:03:00.0: rebuild of switch failed: -1, will try to set up simple PF connection
    i40e 0000:03:00.0 eth0: adding 00:10:e0:8a:24:b6 vid=0
    
    Enabling FD_SB without checking availability of MSI-X vector is the
    root cause. This change adds necessary check.
    Signed-off-by: default avatarTushar Dave <tushar.n.dave@oracle.com>
    Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    a70e407f
i40e.h 28.7 KB