Re: [PATCH v2 00/20] Enable lock annotations on most libraries and drivers

2023-02-25 Thread David Marchand
Salut Gaëtan, On Fri, Feb 24, 2023 at 4:59 PM Gaëtan Rivet wrote: > > FreeBSD libc pthread API has lock annotations while Linux glibc has > > none. > > We could simply disable the check on FreeBSD, but having this check, > > a few issues got raised in drivers that are built with FreeBSD. > > For

[PATCH v4] lib/net: add MPLS insert and strip functionality

2023-02-25 Thread Tanzeel-inline
From: Tanzeel Ahmed This patch is new version of [PATCH] lib/net: added push MPLS header API. I have also added the MPLS strip functionality to address the question asked in last patch. > You should explain why you add this function. None of the foundational NICs currently supports MPLS insertio

[PATCH] net/mlx5: reject flow template API reconfiguration

2023-02-25 Thread Dariusz Sosnowski
Flow Template API allows rte_flow_configure() to be called more than once, to allow applications to dynamically reconfigure the amount of resources available for flow table and flow rule creation. PMDs can reject the change in configuration and keep the old configuration. Before this patch, during

[PATCH 0/2] net/mlx5: fix representor matching

2023-02-25 Thread Dariusz Sosnowski
This patch series addresses a few issues with representor matching mode available in mlx5 PMD: - First patch fixes an issue with internal flow group index translation occurring when both extended metadata mode and representor matching was enabled. - Second patch fixes an issue with isolated mo

[PATCH 1/2] net/mlx5: fix egress group translation in HWS

2023-02-25 Thread Dariusz Sosnowski
With HW Steering enabled creating egress template tables and egress flow rules on E-Switch setups is allowed. To enable it, PMD creates a set of default egress flow rules responsible for: - Storing representor ID (vport tag is used) in HW register. This is used for traffic source identification.

[PATCH 2/2] net/mlx5: fix isolated mode when repr matching is disabled

2023-02-25 Thread Dariusz Sosnowski
In HW steering mode, when running on an E-Switch setup, mlx5 PMD provides an ability to enable or disable representor matching (through `repr_matching_en` device argument). If representor matching is enabled, any ingress or egress flow rule, created on any port representor will match traffic relate

RE: [PATCH] net/mlx5: reject flow template API reconfiguration

2023-02-25 Thread Ori Kam
Hi, > -Original Message- > From: Dariusz Sosnowski > Sent: Saturday, 25 February 2023 21:58 > Subject: [PATCH] net/mlx5: reject flow template API reconfiguration > > Flow Template API allows rte_flow_configure() to be called > more than once, to allow applications to dynamically reconfig