[dpdk-users] FDir flex filters on XL710/i40e NICs with the new filter API

Jeremias Blendin jeremias at blendin.org
Mon Jul 18 18:36:43 CEST 2016


Hi,

I am really curious about this issue as well. Any hint is appreciated.

Thanks!

2016-06-29 11:40 GMT+02:00 Paul Emmerich <emmericp at net.in.tum.de>:
> Hi,
>
> we are trying to use flex filters to match on payload bytes and our code
> stopped working with the new Filter API after upgrading to DPDK 2.2 or later
> (currently using 16.04).
>
> We use these filters to match on the bytes 42 and 43 of the payload, the
> filter worked with DPDK 2.0 with both XL710 and 82599 NICs with the old fdir
> filter API.
>
> We then upgraded to DPDK 2.2 and later to DPDK 16.04 and migrated to the new
> filter API. The filter still works on 82599 NICs but not on XL710 NICs.
>
> Any ideas what we might be doing wrong here?
>
> The initialization code can be found here:
> https://github.com/emmericp/MoonGen/blob/master/src/device.c#L115-L157
>
> Adding the filter is done here:
> https://github.com/emmericp/MoonGen/blob/master/lua/include/filter.lua#L356-L385
>
> rte_eth_dev_filter_ctrl() does not return an error and the same code works
> for the 82599 NIC. Yet, the filter matches no packets on XL710 NICs.
>
> Is there a minimal example for the flex filters somewhere that could help me
> track down this?
>
> Any help would be appreciated.
>
> Thanks!
>
>
>  Paul


More information about the users mailing list