RE: [RFC 1/5] ethdev: add port affinity match item

2023-01-24 Thread Jiawei(Jonny) Wang
Hi, > > > > > > 21/12/2022 11:29, Jiawei Wang: > > > > + /** > > > > +* Matches on the physical port affinity of the received packet. > > > > +* > > > > +* See struct rte_flow_item_port_affinity. > > > > +*/ > > > > + RTE_FLOW_ITEM_TYPE_PORT_AFFINITY, >

Re: [RFC 1/5] ethdev: add port affinity match item

2023-01-18 Thread Thomas Monjalon
18/01/2023 15:41, Jiawei(Jonny) Wang: > Hi, > > > > > 21/12/2022 11:29, Jiawei Wang: > > > + /** > > > + * Matches on the physical port affinity of the received packet. > > > + * > > > + * See struct rte_flow_item_port_affinity. > > > + */ > > > + RTE_FLOW_ITEM_TYPE_PORT_AFFINITY, > > > }; >

RE: [RFC 1/5] ethdev: add port affinity match item

2023-01-18 Thread Jiawei(Jonny) Wang
Hi, > > 21/12/2022 11:29, Jiawei Wang: > > + /** > > +* Matches on the physical port affinity of the received packet. > > +* > > +* See struct rte_flow_item_port_affinity. > > +*/ > > + RTE_FLOW_ITEM_TYPE_PORT_AFFINITY, > > }; > > I'm not sure about the word "affinity". > I

Re: [RFC 1/5] ethdev: add port affinity match item

2023-01-18 Thread Thomas Monjalon
21/12/2022 11:29, Jiawei Wang: > + /** > + * Matches on the physical port affinity of the received packet. > + * > + * See struct rte_flow_item_port_affinity. > + */ > + RTE_FLOW_ITEM_TYPE_PORT_AFFINITY, > }; I'm not sure about the word "affinity". I think you want to

RE: [RFC 1/5] ethdev: add port affinity match item

2023-01-11 Thread Ori Kam
Hi Jiawei, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Wednesday, 21 December 2022 12:30 > > For the multiple hardware ports connect to a single DPDK port (mhpsdp), > currently there is no information to indicate the packet belongs to > which hardware port. > > This patch in

[RFC 1/5] ethdev: add port affinity match item

2022-12-21 Thread Jiawei Wang
For the multiple hardware ports connect to a single DPDK port (mhpsdp), currently there is no information to indicate the packet belongs to which hardware port. This patch introduces a new port affinity item in rte flow API, and the port affinity value reflects the physical port affinity of the re