• David S. Miller's avatar
    Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 3eb193e0
    David S. Miller authored
    Jeff Kirsher says:
    
    ====================
    10GbE Intel Wired LAN Driver Updates 2016-09-23
    
    This series contains updates to ixgbe and ixgbevf.
    
    Emil provides several changes, first simplifies the logic for setting VLAN
    filtering by checking the VMDQ flag and the old 82598 MAC, instead of
    having to maintain a list of MAC types.  Then made two functions static
    that are used only within the file, a by-product is sparse is now happy.
    Added spinlocks to make sure that the MTU configuration is handled
    properly.  Fixed an issue where when SR-IOV is enabled while the
    ixgbevf driver is loaded would result in all mailbox requests being
    rejected by ixgbe, so call ixgbe_sriov_reinit() before pci_enable_sriov()
    to ensure mailbox requests are properly handled.
    
    Mark resolves a NULL pointer issue by simply setting the read and write
    *_ref_mdi pointers for x550em_a devices.  Then clearly indicates within
    ethtool that all MACs support pause frames and made sure that the
    advertising is set to the requested mode.  Fixed an issue where
    MDIO_PRTAD_NONE was not being used consistently to indicate no PHY
    address.
    
    Alex fixes an issue, where the support for multiple queues when SR-IOV
    is enabled was added but the support was not reported.  With that, fix
    an issue where the hardware redirection table could support more queues
    then the PF currently has when SR-IOV is enabled, so use the RSS mask to
    trim off the bits that are not used.  Lastly, instead of limiting the
    VFs if we do not use 4 queues for RSS in the PF, we can instead just limit
    the RSS queues used to a power of 2.  We can now support use cases where
    VFs are using more queues than the PF is currently using and can support
    RSS if so desired.
    ====================
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3eb193e0
ixgbe_sriov.c 42.8 KB