net/ice/base: enable setting up FDIR counters
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 23 Sep 2019 07:44:32 +0000 (15:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:56 +0000 (15:00 +0200)
commit70b14768e37cbbf444b1ca3682760ab37fce1b56
tree30683c3f246f4ac13e7ecffe94830c876dbc9bf0
parent34c672476522006441bf9af5810fdb5babdbc0a8
net/ice/base: enable setting up FDIR counters

Enable getting value from input to set up flow director counters,
so that the FDIR counters can count none, packets only, bytes only
or both packets and bytes as demanded.

Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_fdir.c
drivers/net/ice/base/ice_fdir.h