Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5173 Discussions

How to successfully write a flow filter for 82599

Qi
Beginner
850 Views

Hi,

I would like to use flow director (on 82599) to steer packets to individual queue. However, I couldn't write a flow filter rule to the NIC successfully. 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.​

0 Kudos
5 Replies
AlfredoS_Intel
Moderator
652 Views

Hi Qi,

 

Thank you for posting in Intel Ethernet Communities. 

 

Since your inquiry involves DPDK, we have a different team that supports DPDK.

 

Please open the link below to log your inquiry.

 

 https://www.intel.com/content/www/us/en/design/support/ips/training/welcome.html

 

Click the "Login and Access" to contact the DPDK support 

 

 

 

If you have questions, please let us know.

 

 

 

Best regards,

 

Alfred S

 

Intel Customer Support 

 

A Contingent Worker at Intel

0 Kudos
Qi
Beginner
652 Views

Thank you for your help. I will try.

 

Best,

Qi

0 Kudos
AlfredoS_Intel
Moderator
652 Views

Hi Qi,

You are most welcome. We hope you get your answers on that site.

Thank you for reaching out to us.

 

Best regards,

Alfred S

Intel Customer Support 

A Contingent Worker at Intel

0 Kudos
AlfredoS_Intel
Moderator
652 Views

Hi Qi,

We would like to check if you are already getting the assistance that you need from our specialized team.

Best Regards,

Alfred S

Intel® Customer Support

A Contingent Worker at Intel

0 Kudos
AlfredoS_Intel
Moderator
652 Views

Hi Qi,

 

I am just sending another follow up if you still have questions or clarifications. 

Since we have not heard back from you, I will close this inquiry now. 

 

If you need further assistance, please post a new question. 

 

Best regards,

Alfred S.

Intel Customer Support

A Contingent Worker at Intel

 

0 Kudos
Reply