i40e: Add condition to enter fdir flush and reinit
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Fri, 17 Oct 2014 03:14:41 +0000 (03:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 3 Nov 2014 09:15:41 +0000 (01:15 -0800)
commit1790ed0c65c114b6d262963bb054526697728815
tree358ba254aab5c9600fd5b615009f1cb6bd5662bf
parent55b42b5ca2dcf143465968697fe6c6503b05fca1
i40e: Add condition to enter fdir flush and reinit

When FD_SB/ATR are not enabled, do not allow flow director flush
and reinit.

Change-ID: Iafe261c1862992981615815551abd1ed9fada0a8
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Patrick Lu <patrick.lu@intel.com>
Tested-by: <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c