summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_prm.h
diff options
context:
space:
mode:
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>2016-11-02 11:39:38 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-11-07 18:42:22 +0100
commit97267b8eb9bd04f9d0ded72910baaf86ed16af13 (patch)
treea26a2b9b653d2a420506b4a1df7c17f59dbe2e8a /drivers/net/mlx5/mlx5_prm.h
parent350f4c482e466ca5eeec338030142ef618975664 (diff)
downloaddpdk-97267b8eb9bd04f9d0ded72910baaf86ed16af13.zip
dpdk-97267b8eb9bd04f9d0ded72910baaf86ed16af13.tar.gz
dpdk-97267b8eb9bd04f9d0ded72910baaf86ed16af13.tar.xz
net/mlx5: define explicit fields for Rx offloads
This commit redefines the completion queue element structure as the original lacks the required fields. Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_prm.h')
-rw-r--r--drivers/net/mlx5/mlx5_prm.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/drivers/net/mlx5/mlx5_prm.h b/drivers/net/mlx5/mlx5_prm.h
index 500f25a..7f31a2f 100644
--- a/drivers/net/mlx5/mlx5_prm.h
+++ b/drivers/net/mlx5/mlx5_prm.h
@@ -158,7 +158,21 @@ struct mlx5_cqe {
#if (RTE_CACHE_LINE_SIZE == 128)
uint8_t padding[64];
#endif
- struct mlx5_cqe64 cqe64;
+ uint8_t pkt_info;
+ uint8_t rsvd0[11];
+ uint32_t rx_hash_res;
+ uint8_t rx_hash_type;
+ uint8_t rsvd1[11];
+ uint8_t hds_ip_ext;
+ uint8_t l4_hdr_type_etc;
+ uint16_t vlan_info;
+ uint8_t rsvd2[12];
+ uint32_t byte_cnt;
+ uint64_t timestamp;
+ uint8_t rsvd3[4];
+ uint16_t wqe_counter;
+ uint8_t rsvd4;
+ uint8_t op_own;
};
#endif /* RTE_PMD_MLX5_PRM_H_ */