OSDN Git Service

ixgbe: Fix case of Tx Hang in PF with 32 VFs
authorGreg Rose <gregory.v.rose@intel.com>
Wed, 25 Jan 2012 07:59:37 +0000 (07:59 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 9 Feb 2012 09:25:49 +0000 (01:25 -0800)
commit4cd6923d3481773f3fbcae5ca940c8823aa33475
tree77a22f738317d40752ee48c19415f433a413e680
parenta4b08329c74985e5cc3a44b6d2b2c59444ed8079
ixgbe: Fix case of Tx Hang in PF with 32 VFs

A check for the number of VFs allocated should have used a greater than
equal operator instead of just greater than.  This caused allocation of
exactly 32 VFs to not enable the PF transmit and receive enables.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Robert E Garrett <robertX.e.garrett@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c