DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ice: fixed CRC strip issue
@ 2018-12-25 15:21 Qiming Yang
  2019-01-02  3:24 ` Zhang, Qi Z
  0 siblings, 1 reply; 2+ messages in thread
From: Qiming Yang @ 2018-12-25 15:21 UTC (permalink / raw)
  To: dev; +Cc: Qiming Yang

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

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
---
 drivers/net/ice/ice_rxtx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
index 78e40fe..c794ee8 100644
--- 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) {
-- 
2.9.5

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] net/ice: fixed CRC strip issue
  2018-12-25 15:21 [dpdk-dev] [PATCH] net/ice: fixed CRC strip issue Qiming Yang
@ 2019-01-02  3:24 ` Zhang, Qi Z
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2019-01-02  3:24 UTC (permalink / raw)
  To: Yang, Qiming, dev; +Cc: Yang, Qiming



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Qiming Yang
> Sent: Tuesday, December 25, 2018 11:21 PM
> To: dev@dpdk.org
> Cc: Yang, Qiming <qiming.yang@intel.com>
> Subject: [dpdk-dev] [PATCH] net/ice: fixed CRC strip issue
> 
> 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>

Applied to dpdk-next-net-intel.

Thanks
Qi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-02  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-25 15:21 [dpdk-dev] [PATCH] net/ice: fixed CRC strip issue Qiming Yang
2019-01-02  3:24 ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).