[dpdk-dev] Cannot write fdir filter successfully
Qi Zhang
qi8697660 at gmail.com
Thu Dec 26 03:14:04 CET 2019
Hi,
I would like to use the flow director (on 82599) to steer packets to
individual queues. However, I couldn't write a flow filter rule to the NIC.
I have tried both the perfect filter and the signature one. Unfortunately,
neither of them could work.
The error is:
fdir_write_perfect_filter_82599(): Timeout writing flow director filter, or
fdir_add_signature_filter_82599(): Timeout writing flow director filter.
The OS on my server is ubuntu 16.04, the DPDK version is 18.11
the filter configure I am using is as follows:
struct rte_eth_fdir_filter ff;
memset(&ff, 0, sizeof(struct rte_eth_fdir_filter));
ff.input.flow.tcp4_flow.ip.dst_ip = 0xA040EC7
ff.input.flow.tcp4_flow.dst_port = 0x1A0A
ff.action.report_status = RTE_ETH_FDIR_REPORT_ID;
ff.action.behavior = RTE_ETH_FDIR_ACCEPT;
ff.action.rx_queue = 1;
ret = rte_eth_dev_filter_ctrl(port_id, RTE_ETH_FILTER_FDIR,
RTE_ETH_FILTER_ADD, &ff);
I am not sure where the problem is. Could you help me out? Thanks.
More information about the dev
mailing list