net/ena: rework RSS configuration
[dpdk.git] / drivers / net / hns3 / hns3_rxtx_vec.c
index cc8b970..844512f 100644 (file)
@@ -172,8 +172,6 @@ hns3_rxq_vec_setup_rearm_data(struct hns3_rx_queue *rxq)
                         offsetof(struct rte_mbuf, rearm_data));
        RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, refcnt) <
                         offsetof(struct rte_mbuf, rearm_data));
-       RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, refcnt) <
-                        offsetof(struct rte_mbuf, rearm_data));
        RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, nb_segs) <
                         offsetof(struct rte_mbuf, rearm_data));
        RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, port) <
@@ -182,8 +180,6 @@ hns3_rxq_vec_setup_rearm_data(struct hns3_rx_queue *rxq)
                         offsetof(struct rte_mbuf, rearm_data) > 6);
        RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, refcnt) -
                         offsetof(struct rte_mbuf, rearm_data) > 6);
-       RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, refcnt) -
-                        offsetof(struct rte_mbuf, rearm_data) > 6);
        RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, nb_segs) -
                         offsetof(struct rte_mbuf, rearm_data) > 6);
        RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, port) -