Skip to contentSkip to conversation

net/ice: fixed CRC strip issue

PATCH Applied Qiming Yang 2 participants 2 messages Dec 25, 2018 – Jan 2, 2019 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/ice: fixed CRC strip issue

Fixes 50370662b727 ("net/ice: support device and queue ops")
---
 drivers/net/ice/ice_rxtx.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ice/ice_rxtx.c +1 -0
index 78e40fe..c794ee8 100644
@@ -94,6 +94,7 @@ ice_program_hw_rx_queue(struct ice_rx_queue *rxq)
 	/*default use 32 byte descriptor, vlan tag extract to L2TAG2(1st)*/
 	rx_ctx.l2tsel = 1;
 	rx_ctx.showiv = 0;
+	rx_ctx.crcstrip = (rxq->crc_len == 0) ? 1 : 0;
 
 	err = ice_clear_rxq_ctx(hw, rxq->reg_idx);
 	if (err) {
Signature · 1 line
2.9.5
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Qiming Yang
Sent: Tuesday, December 25, 2018 11:21 PM
To: [email protected]
Cc: Yang, Qiming <[email protected]>
Subject: [dpdk-dev] [PATCH] net/ice: fixed CRC strip issue

Quoted 3 lines
Fixes 50370662b727 ("net/ice: support device and queue ops")

Applied to dpdk-next-net-intel.

Thanks
Qi