8f9b743900
If there was no RTE_NET_I40E configured the static routine str2flowtype() was not used causing compilation warning. The str2flowtype() is moved under #ifdef RTE_NET_I40E block. Fixes: 1be514fbcea9 ("ethdev: remove legacy FDIR filter type support") Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>