From: Qi Zhang <qi8697660@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Cannot write fdir filter successfully
Date: Thu, 26 Dec 2019 10:14:04 +0800 [thread overview]
Message-ID: <CAFdR+ZuBpzQNbL5CUUvmLN+nH8Oc+oVwwa1gU2wAdNCgpoeYZw@mail.gmail.com> (raw)
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.
reply other threads:[~2019-12-26 2:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFdR+ZuBpzQNbL5CUUvmLN+nH8Oc+oVwwa1gU2wAdNCgpoeYZw@mail.gmail.com \
--to=qi8697660@gmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).