From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0086.outbound.protection.outlook.com [104.47.38.86]) by dpdk.org (Postfix) with ESMTP id 1DCFC7CD6 for ; Mon, 24 Jul 2017 12:10:37 +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=FjO89gM3iN1AQwEEshQQB4kImGrZKOu54AYecyTO0DE=; b=WUhv9c71ACrbCfFVUKjT1ajvxs5FnzOTZOlFq5CfbFZJ5tLw3+xuYvoIm5Fkc4E31UI4xsrPCpBpxvD/6bqQHo+l+mobYdbN5lt6rqXSNBOBCXAqGMILTOHSV+PAo599NkPbrClte2x49H5oEu+T4nWZga5QTWkblGg9PNYThJA= Received: from DM5PR07CA0047.namprd07.prod.outlook.com (10.168.109.33) by SN1PR07MB2190.namprd07.prod.outlook.com (10.164.47.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10; Mon, 24 Jul 2017 10:10:36 +0000 Received: from BY2FFO11FD023.protection.gbl (2a01:111:f400:7c0c::153) by DM5PR07CA0047.outlook.office365.com (2603:10b6:3:16::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10 via Frontend Transport; Mon, 24 Jul 2017 10:10:36 +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 BY2FFO11FD023.mail.protection.outlook.com (10.1.15.212) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1240.9 via Frontend Transport; Mon, 24 Jul 2017 10:10:36 +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; Mon, 24 Jul 2017 03:10:33 -0700 Received: from avluser05.qlc.com (avluser05.qlc.com [10.1.113.115]) by avsmtprelay01.qlc.com (Postfix) with ESMTP id 653C48BF705FD; Mon, 24 Jul 2017 03:10:33 -0700 (PDT) Received: (from rmody@localhost) by avluser05.qlc.com (8.14.4/8.14.4/Submit) id v6OAAXID021675; Mon, 24 Jul 2017 03:10:33 -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: Mon, 24 Jul 2017 03:10:12 -0700 Message-ID: <1500891015-21625-4-git-send-email-rasesh.mody@cavium.com> X-Mailer: git-send-email 1.7.10.3 In-Reply-To: <1500891015-21625-1-git-send-email-rasesh.mody@cavium.com> References: <1500891015-21625-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)(39840400002)(39450400003)(39400400002)(39850400002)(39410400002)(2980300002)(428002)(189002)(199003)(36756003)(48376002)(50466002)(8676002)(8936002)(50226002)(356003)(69596002)(87636003)(38730400002)(107886003)(110136004)(86362001)(478600001)(54906002)(5003940100001)(626005)(6666003)(2950100002)(6916009)(305945005)(50986999)(76176999)(189998001)(33646002)(101416001)(4720700003)(47776003)(81166006)(81156014)(2906002)(4326008)(5660300001)(72206003)(105586002)(2351001)(42186005)(106466001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2190; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD023; 1:Kg8n+RHHzxIJUu/xzkKnzRZLw2rhTf5VZJAAZnorHs8ps3zY5E0QqMjIldPInkCGBQCG5qzX100RzIThT0b6DVCI/pgY8bePnMKCgkEMeoauFtMiuw07zFKkEg46vwsLwFow84tFxAPr4dkQbYjEDHN+CNus/kOGmNFiOfUdhk7HwbYmgb+ZBtrsGVFydT/fu1TPdBuwac9cAb9O3OeX23nzDJ7np3mAqw2dUxgHbNHspjTNYEGbEcXsmQ1mRmZk+9cPpytjuFbwKmgeWMnJKRP507V5xAuP/c7w2weUytCIm9WDe7nphXfx1SQ5mzpvBpwraCHX7Lq3zR7ciGzgZWscxAQtAZ7yhwSDjPuZqIwLQEeAzBPFUeT7m1mCeUdvyxj1LXow9XL4lO+2sGTjcJAf46o9kbChetmXwAtkop2JhXcZKm1bkzUdA2GR75DTW3j0nP8cferGHPdZBBEf8bMZE1aHm+E33RT5mSyLKBAk/dDdVV22whF6WlusGMLa/06i2kLNJ+zuFUXJIhsk/pV8kPa/ywqLv22Z25hxF7bZIqBBTNFo4Wo/BpV9zc2XXvnucrO+ukjkblOKlYL0ya7GT5lmYN6JqgBn0ZsYpn9MLwYd5UceAPc9gems7IVgvjXEfVQMHCoWgHgegJJf/jgAurdg0nC0zs8sCXmHx52WxGi8TX3f4SQiqgt5+wLAWun2t+Z+WK3Bjs1iZlXBLmxtsweHnNaXU/xfbzOUryQUv74mcKEaaFiwK7Cvn0biA+3+kQQfj1S4BA2SyXqn8voIsfbDwK9QHFUzNrF5QMEh6immYkhUKYH8gqkGci71 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d171cbdf-f3e6-4619-28d5-08d4d27c3a4f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN1PR07MB2190; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2190; 3:6tbSlD9kd2l2hXHPaEH4wSAEQQI0COjBf6fK+GB/R8a4goFN3j4CZSm0e78sAayoUDJk74FKTTjdRlFfRPtvzXLUSHJbdO/uoAtbqmVmMw7cC/JVmqJ+u/hzpCMGyM6uiKanMZ+sZN2N+aed60sDeJ37cFBLeT1gkMfcZQqTsIheKGCJSSYvMgaSPF+koOqQTO5eWAFALz10rdnVhGM5I8Q65Z3HmJyLO282gj9F0J76SEXegPOWjJcvK4HccZCbpUVErIPAU9ptAAXDB53IQCA1IOSv6BdOYoSzr6gUYUg3YqaRcuH1rze51cs+/uw6tCxxPDmdLaBNgLVsqjP1s1bFs1b9E1lynnPD87Mdb+SO74pYhZCYGdUZEwyw9oL1t9H9Rrq3JuTEX+tIM7lcURxwV0OBN3MVzlFRXDoWyWAie9sZbojAbniD2E6R/dttby61iC8xiW4iNoJJD/UiYXOHTTKwZRNbtyTmIV8eMRzOpsed8KZfsylUY4aDzyvHI5S/LQL1YfwKDPVaVYvSKK8L3wM870T06EQQtljPygJf6jVtqurOAINMVhdzLjTu2Fzy7laAcP9r65dy6KD2H1MNEXc3yu+xyFXuh1NlZEvNgJIpbAH0OGAA+HHx0hzqFGJiIZr7Pw2x3Pf4g+yqeZasj5v1mRlmwo0SVcalOrCf7Cun9Zz63vDXrH6MDlkzJCbvFJGviLc1zR0h92PWviI16/a6ay0o1nHJvq7sr5qQlt/3RHkF39eZV22tB3/0hAwj/wkyxhWbIsDBAy3GnSYhsSqy00AX939c78fkKpdUr88xbbugkY1N8ZSJnH4u3dRsRsKKf2o1zoRcG3K3wcFTC0zTb51bgTAHc4yxHELmQtXWTXOfpqf+MZkbqpusaeNyg9qJuUNkXQrYS/hNf6pJ5uc3oDbspXVY57gVEdwbXO6MnhhiWuQEnhkN3nvJ X-MS-Tr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/Jg7ncsZYa6Q1G9R8TkmAL+cE3BSr8jVSqKzCTSbhhEGdCELnQ5/ner+/Zy8WQPNa+UJM4G+TTv9Dk/WDus7jIomsDfituIfBNE/1UPEK2pcuFR/FbFWxPiGOXhP0cj2VdeNsGVsDE68LmsIMBMuc3hVF3BffqffmgUDUbLsO9X0AiWj0kp7tH3uGUV X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13016025)(5005006)(13018025)(8121501046)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(6041248)(20161123562025)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN1PR07MB2190; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN1PR07MB2190; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR07MB2190; 4:6GHSz2HnaOGKxZRBK0pABUxzE6iHleaQMkpjqrwliX?= =?us-ascii?Q?onTZP9mL6jfKMEJ70+mO/yW5H6rvuICqmsGJa8ZLjdpfqJddXcJnkY6Fc0BD?= =?us-ascii?Q?f+m/L8mm/d7iV8uD48q2Z6By29GFLFbFAac88hqQOjFeXxjnCdmPwl1doDHe?= =?us-ascii?Q?86Ym4hJdAwd36NOMN4/b33g2udLTcOSqbjpZ7XMl00b1wR1LQnog9yGRibZL?= =?us-ascii?Q?8otCVniQm3/9Nga90QIrkiUR9vRHFQkEHxrk6D+OnNFY2wAaSmTLCMY8Aewg?= =?us-ascii?Q?Qe/hBNpbutcCBGYlinZ5oL6WV4Wr9BsVu6oaJbYqJrEQ5jqcohZgHOAJrgtt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efront-PRVS: 0378F1E47A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR07MB2190; 23:tHZ69CpY2sCq6ePt0QUp9zKm+OdORfw4V8AF5glxd?= =?us-ascii?Q?t3fyiAXh0AvxdpiJvTzFh4A5vtCRMV6XaQq1SM9Qvj5FXQ175KbPUYjmemtc?= =?us-ascii?Q?68o887N2Co8ZEw2nKHaGAACjWDN8IX+aULlNjyTnmH8kdXU6/Nu4O2+TCDNX?= =?us-ascii?Q?LjmtzBNeyn+BaSolxu0yFxvapXf1GR03Zh2gxp5cR7Qnp0cHO4ee0teZ/U9j?= =?us-ascii?Q?y8XgiOxQAlXi96Ksk8/JBoscqy2/NXKpQ49cXKo6z9odRJcnRB4658l9Vi2U?= =?us-ascii?Q?7ZLXrNL4aRBGNzTM5uAXq9wp38+HXgkaVLD1hvzQcdPimAPNTiavK2V8I97R?= =?us-ascii?Q?BtlChTAxcrtfR7UE7nRNlTMHIbsza6ynIxG+t/VAV/iWbAPtD1RmWLeO9aHZ?= =?us-ascii?Q?D28Peai8bcT+0AxbEfnj6wyDI11S30SHTFkg4oMj4L0TCl4xtqWQh01APAIj?= =?us-ascii?Q?Lvuv2v10gYd+fE1WgNcxRmaDUCkSHZClvCawP+S5azV9su6wJIT8z1sDUrZ7?= =?us-ascii?Q?34UNujf3Or618LXzkisRAw6JtahQ6UYnbxAxJrFkzos3jKczRzmhgc7UvMYl?= =?us-ascii?Q?ciNpjJtlgRmB4L5mEdF2Any31nydVFbcXcucwGA95OD1Iy3T0IXfLkN9W6hU?= =?us-ascii?Q?utWg8vrBRS4GiJIuibyleOJyD5Dkgf49KgLMZpyv1/+TuuqmsTCfvKi/MNoS?= =?us-ascii?Q?zyUr3nnuAiHBI6+9IgfxLjyPyOY0ELQfOddpUS1j2aIhRoWcn0azfSPasbwy?= =?us-ascii?Q?xVLJdSVcXh0a2m0cU9NzqueOGdNB1bcSdrqVPS43KQrXw7jjafun5T0abBgK?= =?us-ascii?Q?PwG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oMyliOQH+j5lA3aOdKsPOCxnf/c7yKJz0HwpRycozaFIl5jF8j3e4myBZNjQChELPDU6Q1SAuy93MX6nHF9mVTq9NlfY= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2017 10:10:36.0098 (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: SN1PR07MB2190 Subject: [dpdk-dev] [INTERNAL REVIEW 4/7] net/qede: fix inner L3/L4 chksum offload for tunnel frames 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: Mon, 24 Jul 2017 10:10:38 -0000 From: Harish Patil Force recalculation of tunnel L4 chksum when inner L3/L4 chskum gets updated due to HW offload. Fixes: aab21617502e ("net/qede: add Tx offloads for MPLS-in-UDP packets") Signed-off-by: Harish Patil --- drivers/net/qede/qede_rxtx.c | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c index a232d20..5c3613c 100644 --- a/drivers/net/qede/qede_rxtx.c +++ b/drivers/net/qede/qede_rxtx.c @@ -1681,12 +1681,6 @@ static inline uint32_t qede_rx_cqe_to_tunn_pkt_type(uint16_t flags) inner_l4_hdr_offset = (mbuf->l2_len - MPLSINUDP_HDR_SIZE + mbuf->l3_len) / 2; - /* TODO: There's no DPDK flag to request outer - * L4 checksum offload, so we don't do it. - * bd1_bd_flags_bf |= - * ETH_TX_1ST_BD_FLAGS_TUNN_L4_CSUM_MASK << - * ETH_TX_1ST_BD_FLAGS_TUNN_L4_CSUM_SHIFT; - */ /* Inner L2 size and address type */ bd2_bf1 |= (inner_l2_hdr_size & ETH_TX_DATA_2ND_BD_TUNN_INNER_L2_HDR_SIZE_W_MASK) << @@ -1765,15 +1759,36 @@ static inline uint32_t qede_rx_cqe_to_tunn_pkt_type(uint16_t flags) } /* Offload the IP checksum in the hardware */ - if (tx_ol_flags & PKT_TX_IP_CKSUM) + if (tx_ol_flags & PKT_TX_IP_CKSUM) { bd1_bd_flags_bf |= 1 << ETH_TX_1ST_BD_FLAGS_IP_CSUM_SHIFT; + /* There's no DPDK flag to request outer-L4 csum + * offload. But in the case of tunnel if inner L3 or L4 + * csum offload is requested then we need to force + * recalculation of L4 tunnel header csum also. + */ + if (tunn_flg) { + bd1_bd_flags_bf |= + ETH_TX_1ST_BD_FLAGS_TUNN_L4_CSUM_MASK << + ETH_TX_1ST_BD_FLAGS_TUNN_L4_CSUM_SHIFT; + } + } /* L4 checksum offload (tcp or udp) */ if ((tx_ol_flags & (PKT_TX_IPV4 | PKT_TX_IPV6)) && (tx_ol_flags & (PKT_TX_UDP_CKSUM | PKT_TX_TCP_CKSUM))) { bd1_bd_flags_bf |= 1 << ETH_TX_1ST_BD_FLAGS_L4_CSUM_SHIFT; + /* There's no DPDK flag to request outer-L4 csum + * offload. But in the case of tunnel if inner L3 or L4 + * csum offload is requested then we need to force + * recalculation of L4 tunnel header csum also. + */ + if (tunn_flg) { + bd1_bd_flags_bf |= + ETH_TX_1ST_BD_FLAGS_TUNN_L4_CSUM_MASK << + ETH_TX_1ST_BD_FLAGS_TUNN_L4_CSUM_SHIFT; + } } /* Fill the entry in the SW ring and the BDs in the FW ring */ -- 1.7.10.3