]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Avoid Tx hang by not allowing more than the number of VFs supported.
authorUsha Ketineni <usha.k.ketineni@intel.com>
Fri, 23 Dec 2016 18:08:14 +0000 (10:08 -0800)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 16 Jun 2017 06:01:23 +0000 (23:01 -0700)
commit7344bb31911186b0767eb0eed1cd05888630811a
tree47e1f36882718e04d578ea230a619fc26e28bedf
parent980cb6f87d64db1a478fbe9995fa3179519a48f9
ixgbe: Avoid Tx hang by not allowing more than the number of VFs supported.

When DCB is enabled, add checks to ensure creation of number of VF's is
valid based on the traffic classes configured by the device.

Signed-off-by: Usha Ketineni <usha.k.ketineni@intel.com>
Tested-by: Ronald Bynoe <ronald.j.bynoe@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Orabug: 26242766
(cherry picked from commit b5d8acbb8781269cd4e2b986c9b0b884c0ed836a)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Ethan Zhao <ethan.zhao@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h