Thursday, January 31, 2019 2:55 PM, Tom Barbette: > Subject: Re: [dpdk-users] mlx5 flow MARK action does not work with RSS > > On 2019-01-31 09:30, Tom Barbette wrote: > > I therefore tried different things and found that the problem was a > > misconfiguration of the RSS action. Thanks! > > > > Actually, it was because the rule installation fails when the flow is not > classifying on "ipv4", because of the RSS parameter. > > testpmd> flow create 0 ingress pattern eth type is 0x0800 / end actions > mark id 1 / rss / end > Caught error type 1 (cause unspecified): hardware refuses to create > flow: Invalid argument > > testpmd> flow create 0 ingress pattern eth type is 0x0800 / ipv4 / end > actions mark id 1 / rss / end > Flow rule #0 created > > Isn't it technically possible to have a "default" action? Mark the flow then > let > the packet be as usual?
Not sure what you mean here by packet be as usual? That would be so much better than tracking which > rules classify which protocol and change the action according to that... The > NIC does it by itself already... What is the functionally you seek? It will much help to propose a solution. > > Thanks, > Tom