i40e: use priv flags to control flow director
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 3 Sep 2015 21:18:49 +0000 (17:18 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 15 Oct 2015 08:56:18 +0000 (01:56 -0700)
commitef17178cf5abe304b2098a50f580e8c19e5084d2
tree9de1fd7022b983ba72977d9685b75ca52ce4dcfa
parentd4b2f9fe608320604748c3cb90c99b2255782935
i40e: use priv flags to control flow director

Some customers wish to be able to control our hardware specific
feature called flow director, at runtime.  This patch enables
ethtool priv flags to control this driver/hardware specific feature.

ethtool --set-priv-flags ethX flow-director-atr off

NOTE: the ethtool ntuple interface controls the flow-director
      sideband rules.

Change-ID: Iba156350b07fa2ce66f53ded51739f9a3781fe0e
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@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