[PATCH v4] common/sfc: replace out of bounds condition with static_assert

2024-02-11 Thread Stephen Hemminger
The sfc base code had its own definition of static assertions using the out of bound array access hack. Replace it with a static_assert like rte_common.h. The use of null pointer to compute offset is not always a constant in older versions of clang. Use standard offsetof() instead. Fixes: f67e471

[PATCH] common/sfc: replace out of bounds condition with static_assert

2024-02-11 Thread Stephen Hemminger
The sfc base code had its own definition of static assertions using the out of bound array access hack. This method does not force the condition to be const and can have false negatives. Better to use static_assert() like other places in DPDK. Fixes: f67e4719147d ("net/sfc/base: fix coding style"

[PATCH v2] crypto/ipsec_mb: use new ipad/opad calculation API

2024-02-11 Thread Brian Dooley
IPSec Multi-buffer library v1.4 added a new API to calculate inner/outer padding for HMAC-SHAx/MD5. Signed-off-by: Pablo de Lara Signed-off-by: Brian Dooley Acked-by: Ciara Power Depends-on: series-30989 ("crypto/ipsec_mb: bump minimum IPsec Multi-buffer version") v2: - Remove ipsec mb versi

Minutes of Technical Board meeting 07-February-2024

2024-02-11 Thread Konstantin Ananyev
Members Attending - Aaron Conole Bruce Richardson Hemant Agrawal Honappa Nagarahalli Jerin Jacob Kevin Traynor Konstantin Ananyev (chair) Maxime Coquelin Morten Brorup Stephen Hemminger Thomas Monjalon NOTE: The technical board meetings are on every second Wednesday at 3 pm UTC

Re: [PATCH v5 1/4] eal: add pointer compression functions

2024-02-11 Thread Konstantin Ananyev
Add a new utility header for compressing pointers. The provided functions can store pointers in 32-bit offsets. The compression takes advantage of the fact that pointers are usually located in a limited memory region (like a mempool). We can compress them by converting them to offsets from a b

RE: [PATCH v2] app/testpmd: use Tx preparation in txonly engine

2024-02-11 Thread Konstantin Ananyev
> > > > TSO breaks when MSS spans more than 8 data fragments. Those > > > > packets will be dropped by Tx preparation API, but it will cause > > > > MDD event if txonly forwarding engine does not call the Tx > > preparation > > > > API before transmitting packets. > > > > > > > > > > txonly is us

[PATCH v5] ethdev: add template table resize API

2024-02-11 Thread Gregory Etelson
Template table creation API sets table flows capacity. If application needs more flows then the table was designed for, the following procedures must be completed: 1. Create a new template table with larger flows capacity. 2. Re-create existing flows in the new table and delete flows from the or

RE: [PATCH v2 1/1] ethdev: add IPv6 FL and TC field identifiers

2024-02-11 Thread Michael Baum
On 2/9/2024 3:51 PM, Ferruh Yigit wrote: > > On 2/8/2024 22:38 PM, Michael Baum wrote: > > Add new "rte_flow_field_id" enumeration values to describe both IPv6 > > traffic class and IPv6 flow label fields. > > > > The TC value is "RTE_FLOW_FIELD_IPV6_TRAFFIC_CLASS" in flow API and > > "ipv6_traffi