From: Ajit Khaparde Date: Wed, 15 May 2019 18:08:13 +0000 (-0700) Subject: net/bnxt: support updating IPID X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1d76c878b21daa3c02e5f8510dcfc1323131813a;p=dpdk.git net/bnxt: support updating IPID Add support to update ipid during TSO. Signed-off-by: Ajit Khaparde Reviewed-by: Somnath Kotur Signed-off-by: Sriharsha Basavapatna --- diff --git a/drivers/net/bnxt/bnxt_txr.c b/drivers/net/bnxt/bnxt_txr.c index 6f55f3c53f..3a0d73af20 100644 --- a/drivers/net/bnxt/bnxt_txr.c +++ b/drivers/net/bnxt/bnxt_txr.c @@ -193,7 +193,8 @@ static uint16_t bnxt_start_xmit(struct rte_mbuf *tx_pkt, uint16_t hdr_size; /* TSO */ - txbd1->lflags |= TX_BD_LONG_LFLAGS_LSO; + txbd1->lflags |= TX_BD_LONG_LFLAGS_LSO | + TX_BD_LONG_LFLAGS_T_IPID; hdr_size = tx_pkt->l2_len + tx_pkt->l3_len + tx_pkt->l4_len + tx_pkt->outer_l2_len + tx_pkt->outer_l3_len;