From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0072.outbound.protection.outlook.com [104.47.38.72]) by dpdk.org (Postfix) with ESMTP id 689201B110 for ; Wed, 3 Oct 2018 13:21:55 +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:X-MS-Exchange-SenderADCheck; bh=lKVlonUjLnMEIMAuC1o5INQu9YiNuOm2ltSfaARBl6Y=; b=abIOKCjfrBu7Fh1lkj5ZVQoinxrXuCcmJmrBeGkjpV/fEvwmUV2tH5ZSuRKv9pn9Mt4msuMs4X35aBqMgMULtc9sNcdzo4ZrdFdBiCpuyOG2Ix/F4MRGNAoV2PiElhVH+1Xw4wzjGgjR9tc8TChKyxvoxXHrU39blWqYMKxXySg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (111.93.218.67) by BYAPR07MB4998.namprd07.prod.outlook.com (2603:10b6:a03:5b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.24; Wed, 3 Oct 2018 11:19:16 +0000 Date: Wed, 3 Oct 2018 16:49:02 +0530 From: Jerin Jacob To: "Iremonger, Bernard" Cc: "Lu, Wenzhuo" , "Wu, Jingjing" , "Mcnamara, John" , "Kovacevic, Marko" , Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , Olivier Matz , "dev@dpdk.org" , "shahafs@mellanox.com" Message-ID: <20181003111901.GB9248@jerin> References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> <20181002192451.19119-1-jerin.jacob@caviumnetworks.com> <8CEF83825BEC744B83065625E567D7C260D0C0C7@IRSMSX107.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8CEF83825BEC744B83065625E567D7C260D0C0C7@IRSMSX107.ger.corp.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR0101CA0051.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::13) To BYAPR07MB4998.namprd07.prod.outlook.com (2603:10b6:a03:5b::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3c6531c5-3d60-40d3-d26f-08d62922109b X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB4998; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4998; 3:D8ldYXTcfSpv8BxQhZ6TwEIEmYy3J9m8gmNPpHkNCgLbuoOnoOn7R+UVkK4D4B5luZiitszi9PttW0r8F8e/MBvMgZI+qp7BZFp6z1CtFCzkHjxNPPsTWRy7Jm+m38lQ6ggN09HuqCRdOOGhDqEETjkzmL4fbQHbd0kxHF1bAUqKyXnEwpoOezgVbhkAUWSBonfrm4Q/x7R6/68ecuQrbvv53uZXxPN1CB2O5oxQwQ1N9o+MIrqc0klgI2/0LdNX; 25:ohp6ZBXNS7M7u4mA2syoehfTx6w7TlkfIOVzcxzCrByiNay1U0r6jSl0dWDzBkUONq9cYxwd6iQyVWfA3cMDFTSeMSK/WZuLpO1r+hv+eq9hun97qJwj0tuN3d7silbrw/TiYSePl28wCaw1DXQLZnt1aue2flwoaRPxHZjFgBQJa1K3CqjrW7E4KPdTNfUiV0VdjjowqxC3kI24iSv4R0zNMdOslF2IjwCo8NXvKgvPzE6HgHtvBOivieiaY8dOsSE/now3iayiZeaQXeErI/O2XIsy5ZeoerTVjRADGawZVRmkp1luJwQQaTgwmViqqAnpwLOD5wvBDhlc7k7Njw==; 31:oZXh2PVXQF/hUl8GWpgMf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UkqIXcORdPXoDFTWjrDcTk3jrZeC69FHPT8/K5bLh0IjhODM2yA+/Dzj4OkfM27DQlRuYJRzERcl/qg11rJvlLnlFqGPNoUgcU09Hgkb6gNz9ZXX2DdOGkVFqCdcVihm5MUJxIcdd04a7xIC9Y0g/jGHEi1uA7A1AB X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231355)(944501410)(4982022)(52105095)(93006095)(10201501046)(149066)(150057)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(201708071742011)(7699051); SRVR:BYAPR07MB4998; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4998; X-Forefront-PRVS: 0814A2C7A3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(346002)(39860400002)(376002)(136003)(396003)(13464003)(199004)(189003)(6666003)(6246003)(33896004)(486006)(47776003)(6916009)(478600001)(9686003)(7736002)(53546011)(72206003)(55016002)(6306002)(25786009)(966005)(26005)(16586007)(1076002)(7416002)(186003)(316002)(50466002)(44832011)(305945005)(66066001)(16526019)(76176011)(33656002)(386003)(52116002)(6496006)(42882007)(23726003)(6116002)(3846002)(33716001)(81156014)(81166006)(8936002)(446003)(5660300001)(956004)(97736004)(14444005)(68736007)(11346002)(106356001)(105586002)(229853002)(53936002)(476003)(54906003)(8676002)(5009440100003)(4326008)(2906002)(58126008)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4998; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BYAPR07MB4998; 23:mex0w0o2M/cHSeW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NtH+5jfnFGCItx4DFr8g= X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4998; 6:GLsFUB3XKcqYOxtPWysy7C29SldSb04q9iSarJ6E8w7cwiFo4yRozDrMWORUtTRSzY1+fWR43RlCeek7L3VzF0eDRx5VsapdH3kVfDJ1CGx3bxlXCEu6lh0WAkeDfrYtZEpbbBJs38Np7lmMVyQ+zBk0SCvzrSZm1yYNng0CB0uE8hcGBHAanDlLgZmIsDkP/U+rjabQrW6Dxke0s0rtfLqFmJcn+PQfMb//+r6ynnFgZRueIWMQZlR1vDlMnzvkKlZMF/vwV+VKxgpcgaYbxLB3pEehFRqS5llrIxn0RsB21/dNcw6i7x4wiWte/fHPajT5hIlpV5B8uRtf+Bx3yInULLO+BBsCVem0kblmMd72n4MdgS/ydE5RxNhdhKMmdfA11mNxEASI7lmJVETD5flVab+ESsAJGShZxcgj4izgcgMokM9dYzneDNiPfmBDPKyT9Idwc2HG762WzMFj8A==; 5:Xk4iP0yPZSiLq5xHQ3YRDD/9FTJEeHlD2SR0cPQ2LHuUpiRISsW1QA+EaB4no9Bkl93JAgTAUDc7hQ+r1P1auss+1QYNWZsTojKDEDFd4kGGymf8jcakWNTdkki6qL8IJr195FlxzlclHFLqBOE0Agnoyajo7bgFNEW0i/YoKXI=; 7:OKwGxOUhaMLyjXPJz9yvie4QV6Gx+cmB95Oef299VrnOEUFzrNrdQJCZgPNhkzWVU9A/H9P9aYzTNy9Z5BgdlNW09rtOzlD9lWwBJowbrmByCuShB1gYzLmlG+zi+RgRkE76hoNVLqG/JLfgeJFSwLrgemiZbGzob7yyvVC4OkD2K0ZDKetVXEx4ZkWZ5qahgGLw16mOhcWYJaW0CrlcCnHO73zAnN/9QOOXrJnGz4c/MU06Pgx7tdIgdZIx7Kdd SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2018 11:19:16.8153 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3c6531c5-3d60-40d3-d26f-08d62922109b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4998 Subject: Re: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP checksum definition 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, 03 Oct 2018 11:21:55 -0000 -----Original Message----- > Date: Wed, 3 Oct 2018 10:51:36 +0000 > From: "Iremonger, Bernard" > To: Jerin Jacob , "Lu, Wenzhuo" > , "Wu, Jingjing" , "Mcnamara, > John" , "Kovacevic, Marko" > , Thomas Monjalon , > "Yigit, Ferruh" , Andrew Rybchenko > , Olivier Matz > CC: "dev@dpdk.org" , "shahafs@mellanox.com" > > Subject: RE: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP > checksum definition > > > Hi Jerin, Hi Iremonger, > > > -----Original Message----- > > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > > Sent: Tuesday, October 2, 2018 8:25 PM > > To: Lu, Wenzhuo ; Wu, Jingjing > > ; Iremonger, Bernard ; > > Mcnamara, John ; Kovacevic, Marko > > ; Thomas Monjalon ; > > Yigit, Ferruh ; Andrew Rybchenko > > ; Olivier Matz > > Cc: dev@dpdk.org; shahafs@mellanox.com; Jerin Jacob > > > > Subject: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP checksum > > definition > > > > Introduced DEV_RX_OFFLOAD_OUTER_UDP_CKSUM Rx offload flag and > > PKT_RX_EL4_CKSUM_BAD mbuf ol_flags to detect outer UDP checksum failure. > > > > - To use hardware Rx outer UDP checksum offload, the user needs to configure > > DEV_RX_OFFLOAD_OUTER_UDP_CKSUM offload flags in slowpath. > > > > - Driver updates the PKT_RX_EL4_CKSUM_BAD mbuf ol_flag on checksum failure > > similar to the outer L3 PKT_RX_EIP_CKSUM_BAD flag. > > > > Signed-off-by: Jerin Jacob > > --- > > > > v2: > > - Removed DEV_RX_OFFLOAD_OUTER_TCP_CKSUM and > > DEV_RX_OFFLOAD_OUTER_SCTP_CKSUM as there is no realworld use case for > > it. > > See: http://patches.dpdk.org/patch/44692/ > > > > This patch series is depended on http://patches.dpdk.org/patch/45840/ > > > > -- > > app/test-pmd/config.c | 9 +++++++++ > > doc/guides/nics/features.rst | 3 +++ > > lib/librte_ethdev/rte_ethdev.c | 1 + > > lib/librte_ethdev/rte_ethdev.h | 1 + > > lib/librte_mbuf/rte_mbuf.c | 2 ++ > > lib/librte_mbuf/rte_mbuf.h | 3 +++ > > 6 files changed, 19 insertions(+) > > > > > > This patch fails to apply to the latest master branch, a rebase may be needed. Have you applies the depended series http://patches.dpdk.org/patch/45840/ as mentioned above? If yes and then still has issue then let me know. > Regards, > > Bernard.