From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f68.google.com (mail-it0-f68.google.com [209.85.214.68]) by dpdk.org (Postfix) with ESMTP id 7FC2A325A for ; Tue, 20 Jun 2017 13:37:58 +0200 (CEST) Received: by mail-it0-f68.google.com with SMTP id 185so15114597itv.3 for ; Tue, 20 Jun 2017 04:37:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/BC4YLakS0VCaCbvYg2TmthprBvlGPr7En+ED7rx2tU=; b=Uv/Jppa1JumzIXLchOVLiiym7llvhyP/5vuWrczFMh+F43XNAZTfgjTI3sG24dPAAk udjpr+RlkqAoinwvniDTHRlhM+uNgZ4R6gyY/ssD0+cGGHqmyfQGl8e+nzvHzRo7ygUI /KLvsr1xSrvBR36pWnN6a7VJsacziY8VcwP4dzx8pwVaK34toGaDNOjMhJJe9L0aAJI4 nFnV+ujOtZAYLzIDXrqxPsylfVV+iYTiLJrl7uv+4acNSulJefJmirvSY2rTN3GrbMpW sdegu1HQjokE7Nj9YQ6JgEwn/hS12pUT0D5cnLDW/rwwLR4N2pHzopjfeleEYDSeLYNC COxA== 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=/BC4YLakS0VCaCbvYg2TmthprBvlGPr7En+ED7rx2tU=; b=kIfpzsDO2T0PIkZ0F/FFzsNckel29cJW9FZaypW2aGRx0FyXEa7eftTZbKSGx3dkIk PoRU7deZS3qToecmRl282aY7IOBXvqv8F5Xc2xIvOEkIPa68wTfVwCd6bGy7LTLdXhIV GdJcvMBRMIpYiIZZy1zCrrQAlR9h3U+Qj0cAYvKeOau2rxftBlEPS66Q51HJ7YNJjOjn 0TjAk9KeOXbYfn7fA9LJATVxGDOEkzUzYXDAoeN6Bv1a/VSSDF/LoqxU3nEYgo3dbmTv umI2TiigXZYQOWndj6+vfE96yMbH4XXgJ4cAkFJGd9BcOnnt81+syEI5G2bz9QQsUODy qGoQ== X-Gm-Message-State: AKS2vOwVSyItzbUgDwvr5gf75msKNxO3nMziwCPiZ5MLBP6RHhymLVKb 6XDnQWl49ctSyADKJiLImA== X-Received: by 10.84.215.219 with SMTP id g27mr32473734plj.203.1497958677911; Tue, 20 Jun 2017 04:37:57 -0700 (PDT) Received: from yliu-home.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 25sm6104783pfj.59.2017.06.20.04.37.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 04:37:56 -0700 (PDT) From: Yuanhan Liu To: Harish Patil Cc: dpdk stable Date: Tue, 20 Jun 2017 19:35:40 +0800 Message-Id: <1497958550-13600-28-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> References: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/qede: fix VXLAN tunnel Tx offload flag setting' has been queued to stable release 17.05.1 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: Tue, 20 Jun 2017 11:37:58 -0000 Hi, FYI, your patch has been queued to stable release 17.05.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/22/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 0273418964f5c14f6c1e5b7a443575d26eb09ce6 Mon Sep 17 00:00:00 2001 From: Harish Patil Date: Wed, 7 Jun 2017 00:42:21 -0700 Subject: [PATCH] net/qede: fix VXLAN tunnel Tx offload flag setting [ upstream commit 44346c24b7900bc628ad20324a873f9a3250853b ] This patch fixes missing PKT_TX_TUNNEL_VXLAN Tx offload flag from the supported Tx offloads and an incorrect tunnel TX BD bit setting. Fixes: 3d4bb4411683 ("net/qede: add fastpath support for VXLAN tunneling") Signed-off-by: Harish Patil --- drivers/net/qede/qede_rxtx.c | 4 ++-- drivers/net/qede/qede_rxtx.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c index baea1bb..f5aa43d 100644 --- a/drivers/net/qede/qede_rxtx.c +++ b/drivers/net/qede/qede_rxtx.c @@ -1343,7 +1343,7 @@ print_tx_bd_info(struct qede_tx_queue *txq, if (bd1) PMD_TX_LOG(INFO, txq, - "BD1: nbytes=%u nbds=%u bd_flags=04%x bf=%04x", + "BD1: nbytes=%u nbds=%u bd_flags=%04x bf=%04x", rte_cpu_to_le_16(bd1->nbytes), bd1->data.nbds, bd1->data.bd_flags.bitfields, rte_cpu_to_le_16(bd1->data.bitfields)); @@ -1542,7 +1542,7 @@ qede_xmit_pkts(void *p_txq, struct rte_mbuf **tx_pkts, uint16_t nb_pkts) if (tunn_flg) { /* First indicate its a tunnel pkt */ - bd1->data.bd_flags.bitfields |= + bd1->data.bitfields |= ETH_TX_DATA_1ST_BD_TUNN_FLAG_MASK << ETH_TX_DATA_1ST_BD_TUNN_FLAG_SHIFT; diff --git a/drivers/net/qede/qede_rxtx.h b/drivers/net/qede/qede_rxtx.h index a1bbd25..21f2dac 100644 --- a/drivers/net/qede/qede_rxtx.h +++ b/drivers/net/qede/qede_rxtx.h @@ -134,7 +134,8 @@ #define QEDE_TX_OFFLOAD_MASK (QEDE_TX_CSUM_OFFLOAD_MASK | \ PKT_TX_QINQ_PKT | \ - PKT_TX_VLAN_PKT) + PKT_TX_VLAN_PKT | \ + PKT_TX_TUNNEL_VXLAN) #define QEDE_TX_OFFLOAD_NOTSUP_MASK \ (PKT_TX_OFFLOAD_MASK ^ QEDE_TX_OFFLOAD_MASK) -- 2.7.4