DPDK Flex Item on BlueField3

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": [
   ]
}
1 Like

Are you use on HOST/ARM? And what mode, DPU/NIC?

I suppose it support on HOST NIC mode.

I am using it on Arm cores, DPU Mode. DPDK runs on arm cores, documentation shows no reason why it shouldn’t work on them. Any suggestions on how to make it work?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.