i40e: split function for hash and flow director input
authorJingjing Wu <jingjing.wu@intel.com>
Wed, 23 Mar 2016 13:07:05 +0000 (21:07 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 25 Mar 2016 18:01:37 +0000 (19:01 +0100)
commitf2b2e2354bbde9acb45e4fd0906c221fbe8a270a
tree1e7a39fe0d6aac77f05500489789809dc086b4cb
parent8e32fc273a5c1ba1d68a08c2d013b8e24aea836a
i40e: split function for hash and flow director input

For the input set selection, Hash filter and Flow director shared
the same function, i.e. i40e_filter_inset_select.
For code readability, this patch replaces i40e_filter_inset_select
with two new functions: i40e_hash_filter_inset_select and
i40e_fdir_filter_inset_select for Hash filter and Flow director
respectively.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_fdir.c