net/i40e: config flow director automatically
authorXiaoyun Li <xiaoyun.li@intel.com>
Sun, 30 Sep 2018 02:29:50 +0000 (10:29 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commit2e67a7fbf3ffd64cf18a565535135794b62af74d
tree21021ee5b1ecc9ccc5c34b5368369d9afd82eee6
parent64f1c8539c8ce99214b9eb1fb728a2c6745f3300
net/i40e: config flow director automatically

I40e driver needed users to config exact fdir mode to create rte_flow
rules but it shouldn't. This patch allows users to create rte_flow rules
without configuring fdir mode and let the driver config fdir automatically.
And remove the workaround in flow filtering example.

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_flow.c
examples/flow_filtering/main.c