From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 251CC10BD for ; Mon, 30 Apr 2018 16:42:31 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id v60-v6so8278441wrc.7 for ; Mon, 30 Apr 2018 07:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bhG+40bqKBiO1ZJNKrXqEcRTNA9s8Lg0XhQZ4oVmhrY=; b=K0jDMJ0FSWqf9qQO2FyJsqp2j4DMzpXZwysFi2fmpIlhvRErNt/kicR+/uP5U8mo7H ZKERGHWte8JjPr60M9cJBCyJky0QI16PsT+nQViAyMERptwiIOuiscGsdrdJTxB759Xd 3LPW/azGCsHwQ9INLjT5QiWZsaryJoHdCv5JR2WOOQLRMfaZv4I7wUKUXXZgw5knHktW lqQUxaZlTbycqdGDv9RMtFArpXCekNAMCpCINGIII9N65WS2gcbKToNymS48HKx+9z9P PaZXiXAdwXru7cvR653Vf38aoNUCI3/DcGFAzOmAmVi9ycvIkxlPWW5FjfaAZ+fMSCwk G5OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bhG+40bqKBiO1ZJNKrXqEcRTNA9s8Lg0XhQZ4oVmhrY=; b=J95PN2MJN9jeiwgRR37jvOw4IO52/W++TizvMhXS1i8qg8sCj98UkWaU0pyy8l4AT5 hznb7FHGrDrFuWK0L9eqQ6XigUhkyRJt/ezgdPnOCcffUBc6DCrBjAxmTOCQTSGNBCWY +gHpH1vc+czhUtUDQRZV0fnoMmnWcwmwlEhLV+B/JESZ+h+BtWuldEy2WUuylbUVOVR8 GB42BGV5xkKUWu6WY6xUjXg7nNImNkphwJBB0KamOWxovxYRmFJzDdJPXOCkX620O7gy 7/pDNXoM8xybJbZzeDk8wIyHUm4I+ULUkQrW6p27TNT4+hwOMP2ZpVcHld+k0RTVMEqZ jKhw== X-Gm-Message-State: ALQs6tDDWqvGXp0b7lPlfrnL9iUGUE+Jz05Bed42TfsJkU4f7CJWpKFw jlYX+VqMQQQMTP/nbf2Akl0= X-Google-Smtp-Source: AB8JxZqSfJTvxEMIlrEXmJOSgOJVYOKVCDGBpBI32F7Tw/xnrEorTRT/MaRN4jpwI3/Wn78+E+YW0w== X-Received: by 2002:adf:9658:: with SMTP id c24-v6mr8298870wra.190.1525099350796; Mon, 30 Apr 2018 07:42:30 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id c18sm8287542wmd.13.2018.04.30.07.42.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:42:29 -0700 (PDT) From: luca.boccassi@gmail.com To: Harish Patil Cc: dpdk stable Date: Mon, 30 Apr 2018 15:40:18 +0100 Message-Id: <20180430144223.18657-3-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430144223.18657-1-luca.boccassi@gmail.com> References: <20180430140606.4615-80-luca.boccassi@gmail.com> <20180430144223.18657-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/qede: fix to prevent overwriting packet type' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:42:31 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From fd10a0bddbf1742724892df22819cbd730861cc1 Mon Sep 17 00:00:00 2001 From: Harish Patil Date: Tue, 27 Mar 2018 17:15:55 -0700 Subject: [PATCH] net/qede: fix to prevent overwriting packet type [ upstream commit c152cbe2522afa12e49bdc4bb19eb5adc6227218 ] Fixes: 3f72dd780e10 ("net/qede: check tunnel L3 header") Signed-off-by: Harish Patil --- drivers/net/qede/qede_rxtx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c index 0de7c6b8a..906f26f08 100644 --- a/drivers/net/qede/qede_rxtx.c +++ b/drivers/net/qede/qede_rxtx.c @@ -1466,6 +1466,8 @@ qede_recv_pkts(void *p_rxq, struct rte_mbuf **rx_pkts, uint16_t nb_pkts) */ rx_mb->data_off = offset + RTE_PKTMBUF_HEADROOM; packet_type |= qede_rx_cqe_to_pkt_type_outer(rx_mb); + } else { + packet_type |= qede_rx_cqe_to_pkt_type(parse_flag); } /* Common handling for non-tunnel packets and for inner @@ -1487,7 +1489,6 @@ qede_recv_pkts(void *p_rxq, struct rte_mbuf **rx_pkts, uint16_t nb_pkts) ol_flags |= PKT_RX_IP_CKSUM_BAD; } else { ol_flags |= PKT_RX_IP_CKSUM_GOOD; - packet_type |= qede_rx_cqe_to_pkt_type(parse_flag); } if (CQE_HAS_VLAN(parse_flag) || -- 2.14.2