i40e: refactor flow director
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Fri, 17 Jan 2014 23:36:35 +0000 (15:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2014 03:13:04 +0000 (19:13 -0800)
commitcbf613252496ed00f8669328bbd94296a03bcc79
tree9c3601ab1bc0d7a2affb8a5e4b05697bcd97719e
parent60ea5f83cddf538a4509f2214ffd50d8d69952a5
i40e: refactor flow director

The i40e hardware was generating some inconsistent results
when using current programming methods.  This refactor
fixes the inconsistencies that were preventing clean
unloads of the driver, and moves the queues for handling
flow director errors into their own hardware VSI.

This patch also implements a corrected version of the
basic ethtool add ntuple rule, which will disable
the driver's automatic flow programming.  A future patch
adds remove/replay/list support for ntuple.

Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_debugfs.c
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c