net/iavf: add flow director enabled switch value
authorLeyi Rong <leyi.rong@intel.com>
Mon, 20 Apr 2020 06:16:20 +0000 (14:16 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:09 +0000 (13:57 +0200)
commitf71dbf852d467b6684408b2957acf6a124ec2c32
tree5f39d6a2059f6672afb61b171d29325168bb4e92
parent1162f5a0ef312850caa08109579761d047e8e699
net/iavf: add flow director enabled switch value

The commit adds fdir_enabled flag into iavf_rx_queue structure
to identify if fdir id is active. Rx data path can be benefit if
fdir id parsing is not needed, especially in vector path.

Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf.h
drivers/net/iavf/iavf_rxtx.h