]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Add a FD flush counter to ethtool
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Wed, 9 Jul 2014 07:46:23 +0000 (07:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 27 Aug 2014 07:00:54 +0000 (00:00 -0700)
commit0642e819b78d544a2d7d3209fe261ec86bd64964
tree6fc2b039043f46ebda0ed29190ca94e3f3d5ac9a
parentfba01c14d91124d6f147df81f1545359a3fb30ec
i40e: Add a FD flush counter to ethtool

This helps know how many times the interface had to flush and replay FD
filter table, which gives an indication on how often we are getting FD
table full situation.

Also check on certain pf states before proceeding to add or delete
filters since we can't add or delete filters if we are in those states.

Change-ID: I97f5bbbea7146833ea61af0e08ea794fccba1780
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c