From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0042.outbound.protection.outlook.com [104.47.33.42]) by dpdk.org (Postfix) with ESMTP id 9B89A7CCE for ; Mon, 24 Jul 2017 12:19:43 +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=NkVQl9OZM+y/j0V3NeQLeQJaVjplI7ImnaUINVOu8/Wefm2lNuDAnzDiZmYqAvjRt05Um8ZV+6S9IKjqIQKs+wtdLlCcg83+7vBTAw91ea1ChqBsodf4aHx1rXjFs5nKlBYU73e7HQ67lgRoYlYFGlBlX2OPOd4Caqe5FBJOx/Q= Received: from CY1PR07CA0027.namprd07.prod.outlook.com (10.166.202.37) by SN1PR07MB2189.namprd07.prod.outlook.com (10.164.47.23) 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:19:41 +0000 Received: from BY2FFO11FD007.protection.gbl (2a01:111:f400:7c0c::122) by CY1PR07CA0027.outlook.office365.com (2a01:111:e400:c60a::37) 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:19:42 +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 BY2FFO11FD007.mail.protection.outlook.com (10.1.14.128) 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:19:41 +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:19:38 -0700 Received: from avluser05.qlc.com (avluser05.qlc.com [10.1.113.115]) by avsmtprelay01.qlc.com (Postfix) with ESMTP id 4727D8BF70600; Mon, 24 Jul 2017 03:19:38 -0700 (PDT) Received: (from rmody@localhost) by avluser05.qlc.com (8.14.4/8.14.4/Submit) id v6OAJcQi021949; Mon, 24 Jul 2017 03:19:38 -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:19:05 -0700 Message-ID: <1500891548-21896-4-git-send-email-rasesh.mody@cavium.com> X-Mailer: git-send-email 1.7.10.3 In-Reply-To: <1500891548-21896-1-git-send-email-rasesh.mody@cavium.com> References: <1500891548-21896-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)(39410400002)(39450400003)(39840400002)(39400400002)(39850400002)(2980300002)(428002)(189002)(199003)(72206003)(81166006)(5003940100001)(50986999)(4326008)(2950100002)(81156014)(4720700003)(33646002)(54906002)(106466001)(305945005)(38730400002)(110136004)(107886003)(6666003)(105586002)(8936002)(478600001)(356003)(87636003)(8676002)(86362001)(42186005)(626005)(6916009)(69596002)(2351001)(76176999)(101416001)(47776003)(50226002)(5660300001)(50466002)(48376002)(2906002)(189998001)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2189; 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; BY2FFO11FD007; 1:8HyKcLHXg2OaLPtffVdyoy/yr/tUIbrj5XBHYzu1CW5OG4xYNph5npddNcDQ3LCEZHNGcpfbSslggSG10RRdpsGcyfg13eyOGp4wOjKeba4uNUkxiu1L7APRG1spztYtaoPO0KLf+5TWg8kXFXujw/pHPSk93sAzwPXHhVWpGxb8v2KLESj3SRsfqy8R/xXWaYy0zcxUDGnLHJpRkE1VP3E0eEizqD+VZMmzlLylXvitgip/w0qS8c9fZzc2+g+XlRnFvcAsXJQEqjyTdLj8aWbzkMurmfoZObZeobfIUqBjhFtNQ+EFu0a6pdE7IP0Sq8dYrTF0w2Sqq4YWZnLnIYUssaywsx7YQfsloi6JRT80Krk49Bk86uP1mJ0LXAnBFhap857Mri4zcwqy3qkxDIlBobga8x6auHIYQuSd9lYeDcfrQxEtOJfj1sV/p9mVqf8zsPC1VryHJTWOD64sJbBzO15XacOKg+K7lMgGxsnY4FJlMIb0lANVZA2OGPi8LIYggm1fYtcHFHuLx1goJ7Q+fvZWCRFxHSj11ZH1ob1Iyld3O2btMfW9fO+KQaz+wyPsVk4D2qq+73qjd2EIZCT1wtkvmxVhM8TnT8F+Lmu8A9XCcZCbXBULRrx+cC+R8eyAbc/QmnNjePCJTBdyhx906pEqSivq4t+E5PwObuOzIBxJw+UustBg2x82pylhpSW30hNusqAfycc9ZFhlXFH5cRnXq9n6EwoOsrCrMPh/YX0DwuTi10jpT21MPE6NanaGiqYp4/llMQxaYd5jy7f6ymCYA5rMD8o/bBd6ekpb82VVJdfpvUXr33zAqNtv X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b111fdd5-0b78-4dc0-709b-08d4d27d7f56 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:SN1PR07MB2189; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2189; 3:pSN02FMzo82+ISDcvuV/W/m5pcR+APCkBwOyWuzyXq/QDa8J4V9JvM8f2if9sOfvPf4qAa8eUe4NrGTcKL/Ias7C4st1Ei3lRcrsbgiXIRuhonXvGaTlDP5t8vzZeBiVPj6LwcG6T1Fal9kHVEPTYc46Oqh/FJ9BppFStrsUP4/ZYeEnPr+5Jz0rENHCOgB7i/aOrWbqeA5+4FV278iCgGa0N8Y1pZeJc6P5/XWwB4YYGsxkDjr/jbcQ/J4IC4awNwx3VFloOUL1bOM9GkQ+sl6NGBCWkcqzMBjFxYpBGAYSeespDlxwiMg+zdb8iMyvlRg6jjrVtiCv7wbHM7m772NxjpGh8AgZhG99nE43xTD6wvNdCJI0o36ga1YCUbCZuL7jbAnWAC7PjIODEb7Er4IzCpPpMH7tKvecghVONbGbKd8g5g2xZqocNeAJrlPMH5BALOQ7AYT/hUAcvjy6RHfxuWZh++yPLIYCUJ432a++EDH2MJ+dPNLTeKuUFZ/TzaHe2uhuI4MwGAX+Q7sBVC7+R+egXFoF1h6lFc+c5UOzyyTIfAdSAI8pwWXf64jpH0N0jvCxOylt/qyv93ihVtrf9DyXAVdx2CsyDF/GSkoucSrcIIF56p6hclBIMzXbVFc7sGQqcBPZ13uHELS4TOQ57+Cuawxjb+La5QPvqvbxQdigI8aowY4EQEW2ylB3A9Dqy+EkjZApAyfEmqXxzDTZ5NOPBTob1a0RNCk94CV9+U3LoEe36Sd+pqkgLR7V3H7ynrfLH9/4GhpWo6WGoLKA2QhHC+CPpl+Q2cTh7ILEACXfADw8y1kSFhD8Q7CCk8og1NYyO3rQHrDARw0G+yt2VBtLdBF/pprNwzg5b0sEE2cWGHwkW37Bp7J0pgD49dTK9G7cydtnfC5LX4oukx4OZGyIbGS2IWuNpuVIDX0RAWHMKzMQw7Rc5DadmeNh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sX+veySllkjZ/oWiTrA9+5BafBERLVvHHNrqO9mZ6YbX6Gr817/w8CvL1FztKshjN1x4UuivNaJkZqks7iNyrDv+QxYU+qs6Vop3PhVlWHnHc/9YIWlmSTSrFQjz5XZm5EsdLTmlbwYOOXGP1tF5j3J6Zb/39mzN+k0w119SOKKu3t 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:SN1PR07MB2189; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN1PR07MB2189; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR07MB2189; 4:8MkxgrWk/8ILGVhlMrt1KmpOm7esDx/vs6v8sg88pN?= =?us-ascii?Q?E67kQ1Ch3zAJo59W53JgzLUyodSwe/iTP1my91IeVe3+84ePR659uunfA3F4?= =?us-ascii?Q?N0c/um41LYeWFdy+ItFaU/r4ru3yN4SWosUDDHrhHK62cLG+wY5lgzgyUNIO?= =?us-ascii?Q?4/MXQ4ITFHUoicaDCRjwekHO6mPqvCMkAoThrWR71sE1iDdD98wEt2IZ4cSg?= =?us-ascii?Q?u/CeKAxyo97lEQChzgqWBM1dKTkoznAjXP3KBp5jPzkDnXXMIPhVNELYLb6j?= =?us-ascii?Q?WiTEmmkgtURpjSUDJ6XrhcSLV4/0DkrJv/dgR4N9pItaXiEAAT9qyRM+3jjJ?= =?us-ascii?Q?z0I385BQu0q0SFQyuSfDLtE36nZpIwZAbbIRjbPSR9kGT5QA2BtsKcNQJLzu?= =?us-ascii?Q?YUHU8qCWN7NLmPe5P0Ev1u/s08OmLNDCKuHkYWyhD4F3ZppPHXaXHlQOAVKz?= =?us-ascii?Q?+4YmOXJ1R3XshDljfrfeokAklXNVx6GXaah4c4huu7OXj/NJ/aNcw755/fCO?= =?us-ascii?Q?p+v+mut7ufqiG7MWh7zlw+HY3JmVCLz17BgzXjiH4hrywuxo9jGC49lDDUYR?= =?us-ascii?Q?pNXjJiSAs2X5L479/EaydTvrbCL00HtdnRKAPCun5Z5d7g9z21MR+DvwTyEp?= =?us-ascii?Q?E4UjoJhKQhYsppIU4pfmrsYm00N40YA5Et/m7qVnv/lJgxap5dwDT8dNlzHG?= =?us-ascii?Q?V28yOISSH0/iRHFiD7cb8EHj6D+Qc6qLmhopEuvyust53vdWAN5q6mkAMkSe?= =?us-ascii?Q?7pqEqFK+GpuL8lOtxu9J1gbg0uWsyOHIXcknhSmNWjD1JXsIve12p5OGrML8?= =?us-ascii?Q?/Fh4oPmQkBHyaUCWF1kaHvDrAA7XLfCFdL8RPONCOhhCocLY07t13wrCNEWy?= =?us-ascii?Q?cf1v/p3gnnEYF08hG6CgoLxMxC4if86q+wdKUa8A1x+i99oc++ki46zfyGSw?= =?us-ascii?Q?V6VmQCBXSUbhAKGbEO9UjmKerfQ5cPhiYdp1bHSXYvNwz7H8OPskVJv30pb8?= =?us-ascii?Q?XKTIGoBm+LIV6fTWfdhc+d8FUgigczRdwiHdGXfdihep38WsKXewzb6B88zn?= =?us-ascii?Q?NZ3+xtnQ5Ufp7V1ZhR+Y7jaEtIzW1rWm0JtKnC/ztrhLUuvDSXrrg+pdMG3U?= =?us-ascii?Q?DRIv83Uj2kY3YHDTonkVmJ8NGOCt3z7G1akUSCqWCPrf+dYqfOAdxBY1uSEK?= =?us-ascii?Q?WSmauO3lW4/HA=3D?= X-Forefront-PRVS: 0378F1E47A X-Microsoft-Exchange-Diagnostics: =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APUGO2nTVm0jKZXM5pejgrAeGz?= =?us-ascii?Q?oNCNhEjDG9bYzQHPB6leA8J0Xc7zgOdXdGJABcYzXHZgwUvcRvYDs3h5d+Tv?= =?us-ascii?Q?L92ywI4YzylxR5pQHd6jhGcubWTBS+vRkJcXSRRpJ+hsYlRKnFXXejofR+Yi?= =?us-ascii?Q?8KDFHfYYjonTF/DNc4HfACGA8poiohPN/Pih7FkUrwfjck+PS3yEdSZv5+IL?= =?us-ascii?Q?54Ql8wZ0uHClYrlEMhxIQ8V3D0NtImap0xory7rZF6om7ApQFotOJc/9n1+/?= =?us-ascii?Q?6MVFchRjKYs1zJ1rD2As4TLsjs8t4bBdmgytMxSd0dtWrhImbCjXjuanKS3/?= =?us-ascii?Q?TGNbtUtunKkb9M=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR07MB2189; 6:4yl35jCEDGgO2Qn581Z1UgCNdLRQctuKq+2eJb8VQQ?= =?us-ascii?Q?2bxvNK9VFegntesnyVlcApLu5X586Vxi/XnvN+yG1b0oJe0vAcjserFymosd?= =?us-ascii?Q?E4W8p0MvZeC4VH48VxAKelGUWkqw/HPj3FY0JaoIGyD94XrOVInPkj31xrg5?= =?us-ascii?Q?hYA6M44sf0JTibeoqeOGSoBd9TOBKZbBorI0CuEjQznLgGG4GaCd30U/9Gu9?= =?us-ascii?Q?sa+Zv78nnWPKXgL324eC3ujUOLCDq4uJ7a0HjVbr0TtVT92TVLOUZUlY09Wm?= =?us-ascii?Q?86u3iyRxSRS4VoA35LxNPdPrz4NxaFAonuZ3nUStMFsO5j1eePVm4LU7fUkU?= =?us-ascii?Q?RpfOHoOh7hfNx07UASAmeyKvUaotYzrsTWlFJ6DO4y8fc7Uu1N7EWK/+l2wi?= =?us-ascii?Q?nVY3j9N9K6odkrvjqpjkKQ1oL9fF0MK8fPNtWMnscn8lUu/y4+WeVDgN+jPZ?= =?us-ascii?Q?V1WJYFF9mksQw0WOYWM5Hb2THRtNjBSczqT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+QWvGEJ7a/FKeVzjfuMU2VBlhWCq0= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2017 10:19:41.3170 (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: SN1PR07MB2189 Subject: [dpdk-dev] [PATCH 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:19:44 -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