]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Do not read the spoofed packets counter when not in IOV mode
authorGreg Rose <gregory.v.rose@intel.com>
Wed, 8 Aug 2012 00:00:58 +0000 (00:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 24 Sep 2012 07:35:05 +0000 (00:35 -0700)
commitfc81042f76a3ad75caca5d5d230afc1670cb3cae
tree75ee5efdbe4705e72aaa4a83d5a1bbd5eadde885
parent2be0d54ae0817f3f2f800a56d32807a043a3adda
ixgbe: Do not read the spoofed packets counter when not in IOV mode

The counter is not valid unless the controller is running in IOV mode.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c