I am trying to use the DPDK flex item feature on bluefield3, which should be supported according to this link: https://doc.dpdk.org/guides/nics/mlx5.html
However, when I try it using dpdk-testpmd, I get the following error.
testpmd> flow flex_item create 0 0 flex.json
Header Mode: 0
port-0: flex item #0 creation failed: unsupported header length field mode (FIXED)
Here is firmware configuration for reference: mlxconfig for port 0:
FLEX_PARSER_PROFILE_ENABLE 4
PROG_PARSE_GRAPH True(1)
It matches the recomendation here: https://doc.dpdk.org/guides/platform/mlx5.html#mlx5-firmware-config
Is there any hardware configuration I could be missing that is causing this error?
Here is the json for reference, but I get the crash no matter how i change the json.
{
"next_header": { "field_mode": "FIELD_MODE_FIXED", "field_size": 16},
"next_protocol": {"field_size": 8, "field_base": 72},
"sample_data": [
{ "field_mode": "FIELD_MODE_FIXED", "field_size": 32, "field_base": 0}
],
"input_link": [
{"item": "eth type is 0x0800"}
],
"output_link": [
]
}