答复: Whether the creatation of flow rules of i40e NIC support tcp port mask
jiangheng (G)
jiangheng14 at huawei.com
Wed Oct 18 03:48:05 CEST 2023
Hi Stephen:
I am trying to shorten mask, but flow rules s not working.in i40e NIC.
Please see i40e pmd code:
https://github.com/DPDK/dpdk/blob/v22.11/drivers/net/i40e/i40e_flow.c#L2036
It only determines that the mask is UINT16_MAX, and setting mask to other value seems no difference.
-----邮件原件-----
发件人: Stephen Hemminger <stephen at networkplumber.org>
发送时间: 2023年10月17日 23:52
收件人: jiangheng (G) <jiangheng14 at huawei.com>
抄送: beilei.xing at intel.com; users at dpdk.org; Fanbin(Kira,2012 Blue Lab.) <fanbin12 at huawei.com>
主题: Re: Whether the creatation of flow rules of i40e NIC support tcp port mask
On Tue, 17 Oct 2023 08:52:22 +0000
"jiangheng (G)" <jiangheng14 at huawei.com> wrote:
> Hi beilei,
>
> I would like to create flows using tcp port mask, but it seems only mask 0xffff or 0x0 work, Does flow rlue can be created using other mask?
>
> I40e dirver was using now.
Why not create multiple rules each pointing at same action?
Or is mask so wide that you run out of rte_flow slots.
More information about the users
mailing list