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:
96931f3
)
net/bnxt: set padding flags in Rx descriptor
author
Ajit Khaparde
<ajit.khaparde@broadcom.com>
Tue, 17 Apr 2018 01:11:14 +0000
(18:11 -0700)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 27 Apr 2018 14:54:55 +0000
(15:54 +0100)
Set the RX_PROD_PKT_BD_FLAGS_EOP_PAD in Rx buffer descriptors.
Fixes:
2eb53b134aae
("net/bnxt: add initial Rx code")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnxt/bnxt_rxr.c
b/drivers/net/bnxt/bnxt_rxr.c
index
ebdac1c
..
d9b4d76
100644
(file)
--- a/
drivers/net/bnxt/bnxt_rxr.c
+++ b/
drivers/net/bnxt/bnxt_rxr.c
@@
-727,7
+727,7
@@
int bnxt_init_one_rx_ring(struct bnxt_rx_queue *rxq)
if (rxq->rx_buf_use_size <= size)
size = rxq->rx_buf_use_size;
- type = RX_PROD_PKT_BD_TYPE_RX_PROD_PKT;
+ type = RX_PROD_PKT_BD_TYPE_RX_PROD_PKT
| RX_PROD_PKT_BD_FLAGS_EOP_PAD
;
rxr = rxq->rx_ring;
ring = rxr->rx_ring_struct;