RE: [PATCH v2 9/9] net/mlx5: fix flex item header length field translation

2024-09-18 Thread Dariusz Sosnowski
> -Original Message- > From: Slava Ovsiienko > Sent: Wednesday, September 18, 2024 15:46 > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Ori Kam ; Dariusz Sosnowski > ; sta...@dpdk.org > Subject: [PATCH v2 9/9] net/mlx5: fix flex item header len

[PATCH v2 9/9] net/mlx5: fix flex item header length field translation

2024-09-18 Thread Viacheslav Ovsiienko
There are hardware imposed limitations on the header length field description for the mask and shift combinations in the FIELD_MODE_OFFSET mode. The patch updates: - parameter check for FIELD_MODE_OFFSET for the header length field - check whether length field crosses dword boundaries in h