]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_rxtx.c
net/mlx5: remove already initialised mbuf fields
[dpdk.git] / drivers / net / mlx5 / mlx5_rxtx.c
index 53b5c68bdd9d6a92af7c24e37a747a8c58df1c17..3f6fb7002c3ef4fa34e284114fc2c8c95b04c861 100644 (file)
@@ -2048,9 +2048,7 @@ mlx5_rx_burst(void *dpdk_rxq, struct rte_mbuf **pkts, uint16_t pkts_n)
                DATA_LEN(rep) = DATA_LEN(seg);
                PKT_LEN(rep) = PKT_LEN(seg);
                SET_DATA_OFF(rep, DATA_OFF(seg));
-               NB_SEGS(rep) = NB_SEGS(seg);
                PORT(rep) = PORT(seg);
-               NEXT(rep) = NULL;
                (*rxq->elts)[idx] = rep;
                /*
                 * Fill NIC descriptor with the new buffer.  The lkey and size