From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0050.outbound.protection.outlook.com [104.47.32.50]) by dpdk.org (Postfix) with ESMTP id 781382C02; Wed, 7 Jun 2017 09:42:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=JKRFY1P40Qul2avR6nFxHK0kPFmP4tIQYsPAc1LiIuY=; b=VVTXlaJku31PI9XF4yP+u7sfgk3afJ3H9gDvDXCjkWqP5sYETmRldebmz4h20l+nab7NaHmTQ/DSm5XC7+4Yx2iHeIrXdtN2178gsnEPlEwEaslcAtgk0AAryiO+GoUW+U3h+HOyNT+aXD4ag56+X135SFds/GzMHfQCR36w/WU= Received: from MWHPR07CA0006.namprd07.prod.outlook.com (10.172.94.16) by BN1PR07MB424.namprd07.prod.outlook.com (10.141.59.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Wed, 7 Jun 2017 07:42:56 +0000 Received: from BN1AFFO11FD046.protection.gbl (2a01:111:f400:7c10::155) by MWHPR07CA0006.outlook.office365.com (2603:10b6:300:dc::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12 via Frontend Transport; Wed, 7 Jun 2017 07:42:55 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1AFFO11FD046.mail.protection.outlook.com (10.58.53.61) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1101.12 via Frontend Transport; Wed, 7 Jun 2017 07:42:54 +0000 Received: from avsmtprelay01.qlc.com (10.1.112.194) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Wed, 7 Jun 2017 00:42:53 -0700 Received: from avluser05.qlc.com (avluser05.qlc.com [10.1.113.115]) by avsmtprelay01.qlc.com (Postfix) with ESMTP id 63C088BF737A0; Wed, 7 Jun 2017 00:42:53 -0700 (PDT) Received: (from rmody@localhost) by avluser05.qlc.com (8.14.4/8.14.4/Submit) id v577grrd006910; Wed, 7 Jun 2017 00:42:53 -0700 X-Authentication-Warning: avluser05.qlc.com: rmody set sender to rasesh.mody@cavium.com using -f From: Rasesh Mody To: CC: Harish Patil , , Date: Wed, 7 Jun 2017 00:42:21 -0700 Message-ID: <1496821342-6832-5-git-send-email-rasesh.mody@cavium.com> X-Mailer: git-send-email 1.7.10.3 In-Reply-To: <1495960654-352-1-git-send-email-rasesh.mody@cavium.com> References: <1495960654-352-1-git-send-email-rasesh.mody@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39400400002)(39410400002)(39840400002)(39450400003)(39850400002)(2980300002)(428002)(189002)(199003)(9170700003)(8936002)(2906002)(50226002)(189998001)(86362001)(356003)(575784001)(42186005)(33646002)(8676002)(81166006)(101416001)(105586002)(305945005)(106466001)(5003940100001)(36756003)(450100002)(478600001)(87636003)(4326008)(72206003)(76176999)(6916009)(48376002)(110136004)(6666003)(5660300001)(50466002)(38730400002)(2351001)(2950100002)(50986999)(54906002)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR07MB424; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD046; 1:MotHcQ07zEfTYardNKOM0cMaP/IPOpAbhei3TCiUAEk30mHd6IqZ8vPYoqj1f9QBe1cAAocszab6sAYy9qOv1mCcFZXhHAxPUua0KNnhat8co5QKL7saqRbqUvak0ZiLxu0Z33s/RAQGmxEcLQgZe/EpgYb+xC/EiseQ6vIDhV5Kg8O3KqA4W+xNEiUx6ioj8/GDDC0cqtWSHtpERP3grd6e/cGyrAg1MykCoQLa3Ep3FZeTqFFA4WFtXyhBqD6RDLOXX5D8S8doNqkBlDhNjKsvBZKDTPjmCuVqcFq7MEngfq87p7JXzCVpb0K7VdHS/MT7yxvPeGywwbBJkIlG5l0uESOk3vWOKADc7MjQ8sis5bQqnw+jvLgw40awd7hNgO/MsBtuZ9ZojS+AddXQ5mWF1geR1m/9Fb2TSH90htWZa9RueN2ASTgggt3N4GQC27XhpZuIC8Dg1O4PgosYVL5olEcTgkmPUV9ZUr7Uiy4= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1PR07MB424: X-MS-Office365-Filtering-Correlation-Id: 986a10bf-7c27-4333-22f5-08d4ad78cf31 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BN1PR07MB424; X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB424; 3:z/85LkQ68DVbvmQ1YDySkcGALbPmMPG7+zQdOADlHXNaNk3x0QMku+zxab49rnaAlCjVDegP9Z+F7UJdWfUJIe3Seq+ERurwd5M9CWrI5kPyzjjAwu4feIkEdQmXwOnyEjZWN2e7QLaWsklRSg0pp2MnNLt3yOkF6mlkuCx2cx9GhdfBGBXKe3gvDCf5FUSzvoTvOsJboU0tGEYOr3hfxzxzUNuCQuMs7fgbpDDcwOZqfY0l0pZBrggi5+zFNf7yAB1PdVejzBSrTr1zXVSaVS+VxH5sX1vD7eqa5qwq5urZZi2JBXZsnA+hJ3sIIwWHv/38VErMzMs1Zlw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vPqrj/ai2B/gqAVgoHzSRsLCF85OoVQhgxlARa2jWM4WzUzFOXq8C7+GihTN5xqe1nZeGVukuqy0ILHf40kN/umXjNRaIRGg2y1gc5enQ/y6ermTSNT/Eb1gnzMiYLwQDDDKGZ6WtGoeNE5dTF+Upl4bnljf4+9E8HQjDTmY08KKEOvoXl2c8kAjZovRabcD1nWnqlqpEcFj1x6V73+VNUsVQ3UMA+GPNhA0E10+8Vx/KoebnKcFw/EeInvFwZXDL47/o78xC7PEkqrENyqsAOk7Rk+0sTS8xYztS6xCH07PsXBuVIYFxoQ9k+NQALcwAV/20XdU1i50t3Wz+5owO1zLBis8JiUJKfDtGQj8Zp/F6kqw55qlpOSFrB9lQ2jIVsqZ9w4uJDa3stV5KXb3eLTmh7iBSQGu96aYaBtplj7pvkRyCu5nRBr5nLJdqxcI47laE0/ApCYmarI6oY1mMODT78 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN1PR07MB424; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN1PR07MB424; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR07MB424; 4:WJ5F2irx8WC511W2T3Xhh/PMdypnbOHDMQ1Y9pZFGdl?= =?us-ascii?Q?yHg8FywlYKQ8faZPEKqgP4HECxmtQkxleN95C9A+/AHzuzbJUhRPRVvvlP1N?= =?us-ascii?Q?e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yGz845VZns?= =?us-ascii?Q?485LSCV5ihYqJFMJy/yq1zqTrOayjyakpHJHYqTDK7Cl9afAOvu54p+y6LPb?= =?us-ascii?Q?K9vlAUfdt5wV1ZhdhFRmcYTz23N3Qu1TJuuScPkuK8gZrFeLd5Si6ySTRg6x?= =?us-ascii?Q?z6PgC/Xw40JNlkWgLPQUXCeKvNJMb3311VbCtFsDOQGcHss8+FUkqXIznKvY?= =?us-ascii?Q?TREq0O8puwiY=3D?= X-Forefront-PRVS: 03319F6FEF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR07MB424; 23:NXshrXoVF7bLq/qIfmQI5ifcfDnie1D87eu0jbPqym?= =?us-ascii?Q?+2tsRaBemQZAQaG1fXTS5T9hvtmGra58B89O5EcqzmmyqoV6IcbM9Ln+GCEA?= =?us-ascii?Q?8HtrCcHDyJF/jcrkOpker9k5fE8PRSJ5PDEEvokJoA3QPRtkukNrzhj+Ra2Z?= =?us-ascii?Q?rnTC6EFxv46Gy6KCiZCfsbJM+hCV06sAxieTi52eudbDpXM2qcj6JsExPy9C?= =?us-ascii?Q?esJ4CcTgg53NDGG9wyJeGsxK/YMenVFSucaZr70HfOyTVyrQmZaYvcnlvUFS?= =?us-ascii?Q?Ls6NDlhe+NU4jbx0JVmPOlCttxwD3uFTpkCS6PCmmj/u7IEINKyku0iFxGao?= =?us-ascii?Q?sVIjzKGm/0wy2XMETS5XMByRRkcY9pU6Kdn+xV9aR3tfoI5WF/1t+fFoBPxT?= =?us-ascii?Q?KYxbgVidvyyqAvTvVEKr4vAHxZvYhhGa7YaB1gX25ETGqw2GxTX81s7sV4GC?= =?us-ascii?Q?aPKvxOOj7FZJG4KWP0PnfmzjXqBc4KIysUB0Y7IrcBTgJDgJSjDJ2Vb55cdM?= =?us-ascii?Q?LFLruDGOBc7Dfebxpiu8idPLSBF/lHA+EtOgFbOJhmjNRo1HygwOdEpiua8u?= =?us-ascii?Q?x1QVvy+64j/KCWLYT5J4PZyCr7hyM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OlqMec4P4Xh3UDLdig3M0Ktvy5MuaWMvIpo2d6W9Jb4NuY0RvHSrZKmNJkRvntR9fVnrkLbBhhlWejAb3Omw8MUIRua2XEKNAHWbCzkswLal0iv6GDYlt4Wim99RSTGuWAhplp/w0JITxWSb1kVd4XucDOD71Gy2aB4Cs5lPs3iJ9kd9ocExmLyA6qITxn6KLKP8mqx7Vtg== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2017 07:42:54.6591 (UTC) X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR07MB424 Subject: [dpdk-dev] [PATCH v2 4/5] net/qede: fix VXLAN tunnel Tx offload flag setting X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2017 07:42:58 -0000 From: Harish Patil 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") Cc: stable@dpdk.org 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 00fda8c..82aa607 100644 --- a/drivers/net/qede/qede_rxtx.c +++ b/drivers/net/qede/qede_rxtx.c @@ -1410,7 +1410,7 @@ static inline uint32_t qede_rx_cqe_to_tunn_pkt_type(uint16_t flags) 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)); @@ -1609,7 +1609,7 @@ static inline uint32_t qede_rx_cqe_to_tunn_pkt_type(uint16_t flags) 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 f9f52ea..3f38d0f 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) -- 1.7.10.3