summaryrefslogtreecommitdiff
path: root/drivers/net/bnxt/bnxt_rxr.c
diff options
context:
space:
mode:
authorAjit Khaparde <ajit.khaparde@broadcom.com>2018-04-16 18:11:14 -0700
committerFerruh Yigit <ferruh.yigit@intel.com>2018-04-27 15:54:55 +0100
commitf4253e97e7b0bc372ad6ba31fb05df5c79f97b5c (patch)
treea84ea67c70a5be1c566c77ec9cf1fe31d1c4c064 /drivers/net/bnxt/bnxt_rxr.c
parent96931f300b51f91ceebc8c700f5cc4cc43bd54a3 (diff)
downloaddpdk-next-eventdev-f4253e97e7b0bc372ad6ba31fb05df5c79f97b5c.zip
dpdk-next-eventdev-f4253e97e7b0bc372ad6ba31fb05df5c79f97b5c.tar.gz
dpdk-next-eventdev-f4253e97e7b0bc372ad6ba31fb05df5c79f97b5c.tar.xz
net/bnxt: set padding flags in Rx descriptor
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>
Diffstat (limited to 'drivers/net/bnxt/bnxt_rxr.c')
-rw-r--r--drivers/net/bnxt/bnxt_rxr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnxt/bnxt_rxr.c b/drivers/net/bnxt/bnxt_rxr.c
index ebdac1c..d9b4d76 100644
--- 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;