Thread (2 messages) flat view 2 messages, 2 authors, 2021-01-28

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

From: Raslan Darawsheh <hidden>
Date: 2021-01-28 09:52:58

Hi,
-----Original Message-----
From: Viacheslav Ovsiienko <redacted>
Sent: Wednesday, January 27, 2021 3:53 PM
To: dev@dpdk.org
Cc: Raslan Darawsheh <redacted>; Matan Azrad
[off-list ref]; Ori Kam [off-list ref]; NBU-Contact-Thomas
Monjalon [off-list ref]; stable@dpdk.org
Subject: [PATCH] net/mlx5: fix wire vport hint

In order to optimize number of hops in the steering tables there
was the hint field of source vport in the matcher. If this hint
was provided for the wire port the actual vport match, used by
kernel, was not set in the matcher metadata register field.
This could led to not creating the rule in hardware and E-Switch
malfunction if kernel used non-zero metadata value for the wire
vport.

This patch always sets the match for the vport metadata register
value besides the hint.

Fixes: aaf34de5d801 ("net/mlx5: add wire vport hint")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Ovsiienko <redacted>
---
Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help