summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_devx_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mlx5/mlx5_devx_cmds.c')
-rw-r--r--drivers/net/mlx5/mlx5_devx_cmds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5_devx_cmds.c b/drivers/net/mlx5/mlx5_devx_cmds.c
index acfe1de..01e4094 100644
--- a/drivers/net/mlx5/mlx5_devx_cmds.c
+++ b/drivers/net/mlx5/mlx5_devx_cmds.c
@@ -330,6 +330,8 @@ mlx5_devx_cmd_query_hca_attr(struct ibv_context *ctx,
attr->eth_net_offloads = MLX5_GET(cmd_hca_cap, hcattr,
eth_net_offloads);
attr->eth_virt = MLX5_GET(cmd_hca_cap, hcattr, eth_virt);
+ attr->flex_parser_protocols = MLX5_GET(cmd_hca_cap, hcattr,
+ flex_parser_protocols);
if (!attr->eth_net_offloads)
return 0;