Re: [dpdk-dev] [PATCH] net/mlx5: add wire vport hint

2020-11-17 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Viacheslav Ovsiienko > Sent: Friday, November 13, 2020 5:33 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > > Subject: [PATCH] net/mlx5: add wire vport hint > > The kernel can use two approaches to distinguish the E-Switch > source vport in

[dpdk-dev] [PATCH] net/mlx5: add wire vport hint

2020-11-13 Thread Viacheslav Ovsiienko
The kernel can use two approaches to distinguish the E-Switch source vport in the packet metadata - either with dedicated source_port field or register C0. To eliminate the extra source vport matching in the hardware the source_port field can be set to specific values (0x) for the wire source p