[Intel-wired-lan] Issue with Flow Director

Kushal Gautam kushal.gautam at gmail.com
Sun Jul 23 02:21:08 UTC 2017


Hi:

I am using Intel X710 NIC, and i40e driver.

I have been trying to use ethtool to add a flow rule to the incoming
packets. The command that I have been using is:

ethtool -U ens1f0 flow-type udp4 dst-port 319 action 3 loc 1
ethtool -U ens1f1 flow-type udp4 dst-port 319 action 3 loc 1

As per my understanding, this should be forwarding all the matched packets
to Queue #3. But, these packets are directed to somewhere else (the queue
number usually changes). I could see this will /proc/interrupts.

Also, upon inspection, I saw that atr was enabled even when I added a rule.
So, I somehow replicated the code from i40e_add_del_fdir_tcpv4() in
i40e_add_del_fdir_udp4()
to disable atr whenever there is a rule for UDP as well.

Despite several tweaks, I am still not able to funnel my packets to a
particular queue. Am I doing something wrong here ?

I can provide further information, if needed.

Thanks,
Kushal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20170723/ab1b6b5f/attachment.html>


More information about the Intel-wired-lan mailing list