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:
286a809
)
net/ice: fix CRC strip
author
Qiming Yang
<qiming.yang@intel.com>
Tue, 25 Dec 2018 15:21:08 +0000
(23:21 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Thu, 3 Jan 2019 09:52:18 +0000
(10:52 +0100)
Fixes:
50370662b727
("net/ice: support device and queue ops")
Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_rxtx.c
patch
|
blob
|
history
diff --git
a/drivers/net/ice/ice_rxtx.c
b/drivers/net/ice/ice_rxtx.c
index
78e40fe
..
c794ee8
100644
(file)
--- a/
drivers/net/ice/ice_rxtx.c
+++ b/
drivers/net/ice/ice_rxtx.c
@@
-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) {