]> Pileus Git - ~andy/linux/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)
commit0584d999328f3033c038118fb891c9efd5f361df
tree75ee5efdbe4705e72aaa4a83d5a1bbd5eadde885
parent4b2cd27f834e526f933aa63ce91964b7581271f4
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