* [dpdk-dev] Cannot write fdir filter successfully
@ 2019-12-26 2:14 Qi Zhang
0 siblings, 0 replies; only message in thread
From: Qi Zhang @ 2019-12-26 2:14 UTC (permalink / raw)
To: dev
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-12-26 2:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-26 2:14 [dpdk-dev] Cannot write fdir filter successfully Qi Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).