net/mlx5: remove already initialised mbuf fields
Since commit 8f094a9ac5
("mbuf: set mbuf fields while in pool"), some
fields are already initialised and do not need to be modified by the PMD
anymore.
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
This commit is contained in:
parent
c8ffb8a9cc
commit
d6ed7be7b4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user