git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c750eae
)
net/bnxt: support updating IPID
author
Ajit Khaparde
<ajit.khaparde@broadcom.com>
Wed, 15 May 2019 18:08:13 +0000
(11:08 -0700)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 27 May 2019 16:09:07 +0000
(18:09 +0200)
Add support to update ipid during TSO.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
drivers/net/bnxt/bnxt_txr.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnxt/bnxt_txr.c
b/drivers/net/bnxt/bnxt_txr.c
index
6f55f3c
..
3a0d73a
100644
(file)
--- 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;