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 <[email protected]> 发送时间: 2023年10月17日 23:52 收件人: jiangheng (G) <[email protected]> 抄送: [email protected]; [email protected]; Fanbin(Kira,2012 Blue Lab.) <[email protected]> 主题: 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)" <[email protected]> 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.
