RE: [PATCH v1] net/mlx5: adapt parse graph header length limitation

2023-06-19 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Rongwei Liu > Sent: Monday, June 12, 2023 11:04 AM > To: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > > Subject: [PATCH v1] net/mlx5: adapt parse graph

[PATCH v1] net/mlx5: adapt parse graph header length limitation

2023-06-12 Thread Rongwei Liu
Firmware exports the parse graph header length capability via hca_attr and the current value is 6. The user must specify the header length field via field_size. Field size implies the mask implicitly as 2^field_size-1 1. If field_size is bigger than 6, PMD needs to add an extra offset internally,