From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0061.outbound.protection.outlook.com [104.47.36.61]) by dpdk.org (Postfix) with ESMTP id 999F31B10A for ; Wed, 3 Oct 2018 13:16:15 +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=s+Zez9+gCH9bXGYVHhZIjj+SDwqHuADf6WnZ+fVweD4=; b=HLZRKVuvMqn/F4Kqv2FD6MeQHnqcSxZDhxrsaq337OnwzFfT2Uaq8S15mX+uVclVstzHwfZicx5Lqz+IDGIy/5XaCLtcrz7/pa1O4m4GqT3rrb8VOAmjww/D+cI05y0tMS7GaQI0LzJ6ia43xZTaD8ga5oRY2lB10ApSorJznNg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (111.93.218.67) by BYAPR07MB4999.namprd07.prod.outlook.com (2603:10b6:a03:5b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.25; Wed, 3 Oct 2018 11:16:08 +0000 Date: Wed, 3 Oct 2018 16:45:51 +0530 From: Jerin Jacob To: "Ananyev, Konstantin" Cc: "Lu, Wenzhuo" , "Wu, Jingjing" , "Iremonger, Bernard" , "Mcnamara, John" , "Kovacevic, Marko" , Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , Olivier Matz , "dev@dpdk.org" , "shahafs@mellanox.com" Message-ID: <20181003111550.GA9248@jerin> References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> <20181002192451.19119-1-jerin.jacob@caviumnetworks.com> <2601191342CEEE43887BDE71AB9772580102FE1479@IRSMSX106.ger.corp.intel.com> <20181003085909.GA9894@jerin> <2601191342CEEE43887BDE71AB9772580102FE152A@IRSMSX106.ger.corp.intel.com> <20181003092159.GB9894@jerin> <2601191342CEEE43887BDE71AB9772580102FE159A@IRSMSX106.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2601191342CEEE43887BDE71AB9772580102FE159A@IRSMSX106.ger.corp.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0087.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::27) To BYAPR07MB4999.namprd07.prod.outlook.com (2603:10b6:a03:5b::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3426fcb0-e49e-4a96-848c-08d62921a05d X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB4999; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4999; 3:euW1II/FnXeMpq2VRKuTVYQSVMfOkMWjwl81dKUWa7IEXUlpu+EJVRnPrDjvV7JwD8suOMrKaexgxTZE+DBLhmP0MmmgT3ias/ekbWaIr34BzImFA4Fe2F51cXJBETSp5xPg7VGZVExHTxaXHVD7EPvN3/dLZ+DJDDjDF74MiNbLtVKpzETQr/e2wA34Jl/ITjWU6Qb17lntFXZvknkVc9y2UwCT7NPYRSalJcf98JK9niSJztajFZab8Y+Zf5X1; 25:KNjq2JBfZOXbrIANC4QwKuy+8bpxEt4q6+B2j+SwqEN/Zq2mZaTC64roZ95Im3Rmw7fPuZBghbXe6r+faNqthiGYGiRX7GMd4RvfMzTqN14IOb1UNNvCU4AazrKC0kFdA058QGSWX2aBGJNyBpgd4dNBvt5k78/J3Wmwq3GK2PmWmKo6tEXI4nBqmlbKFErIHH6txYbTFlGx7N5GrDMxc6reEZ+eplLupp5hD9VuiFwyF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vPKPLHPKu+K4eE+TQhU4gMe6/Yr/Cz4Gps7N29vL3THnBZWlbKuIMeNYkAaDkYfT3FPCTPDGeC3RXzkZk3wVhCIoI9vCUR6xX4wCf2HAdnzjdfAgZrdool3FjpAD/Mezy2LVNwAqQsD1iLuVzPMNMtWpFY4EmdA6NOHFAKNf8Zc1J2jMZvapXqpjcjMSnm6BLLf5LH4bm6GKU8BTtaj1q5g12y+JldHuehJTsDlW6FVGE3M0AnzSnojSCg66yKw6UE5KgfqFTDjoLuIfR3Ne4o/iPi2gUBON9/P/sieDs6L5/ 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)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(149066)(150057)(6041310)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051); SRVR:BYAPR07MB4999; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4999; X-Forefront-PRVS: 0814A2C7A3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(136003)(376002)(366004)(346002)(13464003)(199004)(189003)(956004)(11346002)(16526019)(6496006)(476003)(386003)(53546011)(97736004)(7736002)(446003)(72206003)(486006)(26005)(186003)(478600001)(54906003)(58126008)(6916009)(5660300001)(42882007)(44832011)(55016002)(53936002)(7416002)(52116002)(14444005)(229853002)(76176011)(2906002)(9686003)(33656002)(3846002)(68736007)(25786009)(81156014)(4326008)(6246003)(305945005)(33716001)(33896004)(23726003)(93886005)(1076002)(66066001)(106356001)(16586007)(47776003)(105586002)(6666003)(81166006)(5009440100003)(50466002)(316002)(8936002)(6116002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4999; 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; BYAPR07MB4999; 23:KSKWxn99i73vSYCGX6tA1aCFPvFccloAWcHrqyxNF?= =?us-ascii?Q?GvOx70UTzN57yECzz60vRBnyEZRoVZUiKivSfOJ+D4Yzt/4fvInUXTpg0BvY?= =?us-ascii?Q?dCM+G7RwPrX+DskDeRkjpwA54rIuVMUDT7lVb3OSOsFqKl+bhbmv8tMN+UC0?= =?us-ascii?Q?xViRkAqEhcN2700/u0uMZGeUjYI5/3toC/OuuzLoJEwefiIzMIZellFZzouE?= =?us-ascii?Q?HLyL1MIkIGpzuP73mb+LW3SbMFhiPZP+vQmg5Vs9ztrkpVzj1+ytYseW0STG?= =?us-ascii?Q?n5WFTwGiM7xojeimIbo6KgGa+9MQnXCpjxoc6mArFzFH/9n9dkrcQPGq3Pns?= =?us-ascii?Q?t3vzBQe+pZziRn0Vrwer7cJTF6R3pSkesnyfJBLDxEA1MvLv3A4Vr6ZMLSvI?= =?us-ascii?Q?/RN57Pw1kEihvcjsomCx7fqXKRQiDLBZ+Fn5RRG5VYFHTKxi21444sC+RNGZ?= =?us-ascii?Q?eBaJ5l8NGv9wBcjfI2FTwxUPRZXY8WdOcxQpCEV3aQTmYFNmbyg22TB68OZy?= =?us-ascii?Q?82iOAXeFfsVucFEbotBlFmuJiKGmtHKQ4tGWa975qHZtQtGQT4O2dDatqiyM?= =?us-ascii?Q?f3sPEQL1kSv7aVx/KEvY7EAjNSCAbzk1SRxRu8YF5zHPXvyPTTJkw0JG9GKE?= =?us-ascii?Q?bIFMSE2bvqAgcWcWrtZtICdSeM/NbISXFrPByjZEdTZoVokYqIu0SCiWuyJL?= =?us-ascii?Q?A2WBEFOCgJDGjsu9ULzBap8Lp0LFnbgfovww2CKzeOP/SJe4+yV9ou/+r2BM?= =?us-ascii?Q?pMHMLxOwKgZVOOfNhtl4n+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iagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2018 11:16:08.2521 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3426fcb0-e49e-4a96-848c-08d62921a05d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4999 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:16:16 -0000 -----Original Message----- > Date: Wed, 3 Oct 2018 10:16:31 +0000 > From: "Ananyev, Konstantin" > To: Jerin Jacob > CC: "Lu, Wenzhuo" , "Wu, Jingjing" > , "Iremonger, Bernard" > , "Mcnamara, John" , > "Kovacevic, Marko" , Thomas Monjalon > , "Yigit, Ferruh" , Andrew > Rybchenko , Olivier Matz > , "dev@dpdk.org" , > "shahafs@mellanox.com" > Subject: RE: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP > checksum definition > > > -----Original Message----- > > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > > Sent: Wednesday, October 3, 2018 10:22 AM > > To: Ananyev, Konstantin > > Cc: Lu, Wenzhuo ; Wu, Jingjing ; Iremonger, Bernard ; > > Mcnamara, John ; Kovacevic, Marko ; Thomas Monjalon > > ; Yigit, Ferruh ; Andrew Rybchenko ; Olivier Matz > > ; dev@dpdk.org; shahafs@mellanox.com > > Subject: Re: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP checksum definition > > > > -----Original Message----- > > > Date: Wed, 3 Oct 2018 09:17:18 +0000 > > > From: "Ananyev, Konstantin" > > > To: Jerin Jacob > > > CC: "Lu, Wenzhuo" , "Wu, Jingjing" > > > , "Iremonger, Bernard" > > > , "Mcnamara, John" , > > > "Kovacevic, Marko" , Thomas Monjalon > > > , "Yigit, Ferruh" , Andrew > > > Rybchenko , Olivier Matz > > > , "dev@dpdk.org" , > > > "shahafs@mellanox.com" > > > Subject: RE: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP > > > checksum definition > > > > > > > > > > -----Original Message----- > > > > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > > > > Sent: Wednesday, October 3, 2018 9:59 AM > > > > To: Ananyev, Konstantin > > > > Cc: Lu, Wenzhuo ; Wu, Jingjing ; Iremonger, Bernard > > ; > > > > Mcnamara, John ; Kovacevic, Marko ; Thomas Monjalon > > > > ; Yigit, Ferruh ; Andrew Rybchenko ; Olivier Matz > > > > ; dev@dpdk.org; shahafs@mellanox.com > > > > Subject: Re: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP checksum definition > > > > > > > > -----Original Message----- > > > > > Date: Wed, 3 Oct 2018 08:53:22 +0000 > > > > > From: "Ananyev, Konstantin" > > > > > To: Jerin Jacob , "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" > > > > > > > > > > Subject: RE: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP > > > > > checksum definition > > > > > > > > > > > > > > > Hi Jerin, > > > > > > > > Hi Konstantin, > > > > > > > > > > > > > > > > > > > > > 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 > > > > > > > > > > Looks ok to me in general. > > > > > Just wonder is there any PMD that supports all these new features? > > > > > > > > octeontx2 PMD has this feature. I am planning to push the PMD for v19.02. > > > > Before that I adding all the common code change to avoid the dependency. > > > > > > Ok, but why then ethdev/mbuf changes has to go into 18.11? > > > > It it is a generic change then why not? What is the real concern here? > > If there is no implementation for it, how we can conclude that it is really 'generic' one? :) > My main concern is that we already have several features in rte_ethdev and rte_security > that supposed to be 'generic' but right now no-one support them. I think, this case is pretty straight forward changes. > I wouldn't to object about these particular features, they look reasonable to me. OK. > But in general I think we need some better defined policy - > about what is allowed to propagate without real evidence (particular implementation) > and what is not. I am open for the policy definition. > > > > > > Do you plan your new PMD backward compatible with 18.11 LTS? > > > > Yes. > > I see. > Konstantin >