From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0072.outbound.protection.outlook.com [104.47.32.72]) by dpdk.org (Postfix) with ESMTP id EED0F1B29C for ; Fri, 26 Jan 2018 15:38:24 +0100 (CET) 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=Nyy4r4MfBZe/RjAskyZYDjKOQQqE39WOcGKQ5lIjk38=; b=aiG5k1zIyhG8lWjBgzzX9zZ/AnAmHP19YA5pUHCKnTeMcRlvJCqyQcCnfp+R6nFirvMyfOfumkfXkEgW0Sou0DNOpKIWul0o+TVEnCuBL2UwzcwtQ4Sd+40A27momjMq+BLNz8w6hlnOHudCkBATb0pLfO8HZsGxvUmZSsF15pI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from hyd1ajoseph-dt.caveonetworks.com (115.113.156.2) by DM2PR0701MB1067.namprd07.prod.outlook.com (2a01:111:e400:2472::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Fri, 26 Jan 2018 14:38:20 +0000 Cc: anoob.joseph@caviumnetworks.com, "Doherty, Declan" , "Gonzalez Monroy, Sergio" , Jerin Jacob , Narayana Prasad , Nelio Laranjeiro , "dev@dpdk.org" To: "Nicolau, Radu" , Akhil Goyal References: <1516626668-9031-1-git-send-email-anoob.joseph@caviumnetworks.com> <4ab55855-0649-4d68-7b63-b75a6029dbb2@caviumnetworks.com> <763A2F19A5EFF34F8B7F1657C992EE297B31E1D5@IRSMSX104.ger.corp.intel.com> From: Anoob Joseph Message-ID: Date: Fri, 26 Jan 2018 20:08:15 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <763A2F19A5EFF34F8B7F1657C992EE297B31E1D5@IRSMSX104.ger.corp.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BN6PR22CA0030.namprd22.prod.outlook.com (2603:10b6:404:37::16) To DM2PR0701MB1067.namprd07.prod.outlook.com (2a01:111:e400:2472::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9926a31f-5504-4613-1580-08d564ca741d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DM2PR0701MB1067; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1067; 3:0DA/tkLD7f/qFhsDvpWsIFBsKLEwLDXahd8Gt52nmtawp61er9qQzbFWSSHL+SLuzQqbkjiF9R3uQ6r2PUF4+FvELPsSZEiydyAzeeYK+VKCx29Ci7shzk8R1DhLWR2PeiVHjImjfhIDbsTVjP6KxZMcVkVeQuHUvWiFC6E2/mnafaILa515lOmXDVCkC8SDfbj8COo6orxQkGzyhqxNn6AG6t/MRpjRk8gsMu7JwnVqDj8ZK/K7U7W9/ENr5Izo; 25:IZUQhSqAKqmqj0xYKlot8ryqfuxHnKiNHm1UckN+40LGgqSsY6Yic+J5WDJR+s0kuXSFcA/JhIP5jpVzQdEVSz02MN5Dt8/9xzTa+LK4W8crcwFe81zz7QFndXfK6ewiKF9myn5UNKEiuPZ9kKhmGGGXrTw0nl4P3nxBj8GP0oKMMyBQpd4RXAWdHTT/XeEPRIHwqzpUOW9MEIBHYIpe90sLOOBXHTj2LBbrZk/mwav3WKq4JQaTJFaOxlTL+gLk1WfIuQzPD1Tc8XGuNnCrjQM5B4Wxa/UEPb4WpQvzgwiQXY/oblaq15+g/Zuic9657Jwu6Lv2drV6yvvYEb8z2g==; 31:yHwhO0mMM+v+TAmU0tjP1mRnXt5ohvfQmcp4o3+UkOdvwMGygsUqPeG+VrvTJ/8ylIWj1oam29TOs5fkY7P+TqRE55Ou+lrbcvQNGulMimdDgAfhfXEogT3hOjohV68YCl5H4OfCdFJp/8AddsicFDOg1gIAcrQMQwQG7Nlf46jRQ6W/XmYTtfk2UkbzoWFv1PxH+gZRGUqVlSy2+KFkzJTPs7h5dOBoV8fszFYJX1w= X-MS-TrafficTypeDiagnostic: DM2PR0701MB1067: X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1067; 20:CXv7EwjBly/rk8lICoqT010JDeMxTZJEqFbeX/3ETSlzn9DY/p9WHjQgexCK5D7Uod2Pk0bVXkXaNuEmx35C2V4OeVlYm/h8CuDu0wudUWbp4fqiDFdlIjaKkXBWmZL1ohwBIGw3YM88JrKADMoNiGhcw1+SaGtcuXc5hiy0LZG09O9EWYv9/EDgwNYQ0akSBepCfsU6oIqw9Gjo2HB9cpBWJ/V/NIewGky9V1yLrSYKOyIQPnO/zEr3HChoPEkDa24bME8jRCOg/Ol9NzzW0xbVeRDcm5evx1aew/I30/S2ucCr6jtwYZODY9oBQa9TAoYyXvUgTsUqSruArGe/LQ1vQWt3joRDu/ttPiMkorMuXgG5I22VmOlc5bkzTX2TYdYIZGKBszVGyAhztITeFU3qwvWKmP7mYaMwRVm+OWaFLG/DtkXQ4mQFOAMoolYdt4bKHtzgEGqPW4qqTHPWlFcYz8h8vi+SpsemMDHWFKHCgvZYrJ1hsrXDM3OS9zjpLXiGAlx2uxaIn0gQFvrJw6FE84yE1eEJ1mqAi4ipEPUrEURcsSoZ0W6/gxvc82s0uUM8NgTDHSsGzQjrF4UEq+Q/sdJ53QCYgbLGR13BO7U= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705)(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(93006095)(10201501046)(3002001)(3231023)(2400081)(944501161)(6041288)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:DM2PR0701MB1067; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0701MB1067; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1067; 4:mGlQesxKkBeUvG+Tb+WAhlmXML/kNjA2G7uvd5C5GBLdXr9KpeK3dyidOBnx0ileO3NYD3dnUx9s1ZPcs3TMYBh5HJEU6cL/c+5y11QasRfZ0s89LCRT/9ux8h4oL64wYMmQI/7ao1Drd9oK9Bu2y6QlUPggWvVOw0/LlUkmdCDFyS7F+7hyrmDkXPyq3bGdSIZ+7N6aW7e9Gzf4KMFpqjFFOBz2ycWhQW1ciPkTMYV41p1kr8/G/zA9V9fN+ZvbuXjX8krllU58VkNBm7Whc7rvC0f8vEYwqXY4yeV+nF2emV3XqvwIja9RAxDfwl6+nkOkTiSzz7W9/Nd4c2xM/5vcJmn9m0P+YT/VPnY3gPHZKqGnWS3X3AMmogtIN2xM X-Forefront-PRVS: 05641FD966 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(396003)(346002)(366004)(376002)(13464003)(199004)(189003)(5660300001)(97736004)(42882006)(65826007)(2950100002)(47776003)(65806001)(8936002)(65956001)(386003)(2906002)(69596002)(6506007)(55236004)(6666003)(52146003)(2486003)(59450400001)(53936002)(52116002)(76176011)(53546011)(305945005)(110136005)(186003)(8656006)(68736007)(31696002)(54906003)(16526019)(58126008)(66066001)(67846002)(6512007)(6486002)(6116002)(23676004)(83506002)(3846002)(7736002)(478600001)(72206003)(26005)(316002)(230700001)(229853002)(50466002)(561944003)(6246003)(25786009)(4326008)(36756003)(31686004)(53416004)(105586002)(8676002)(106356001)(81166006)(81156014)(64126003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0701MB1067; H:hyd1ajoseph-dt.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTJQUjA3MDFNQjEwNjc7MjM6RnFUV1BUcE92Y0NKNlIxTUkxZXFTQjdW?= =?utf-8?B?U1JWalNPcFBEZGJCbEpDcGg3OVEyN2pSUTc0QWI1T1A4OTh5ZmNDM2JUcjA2?= =?utf-8?B?VXJUSmIvN2FlbWdaTkIyaU9kVFM2T1VGOGlYT2hQOVc3T0pPYnlIaUxIaGw5?= =?utf-8?B?V2ZPQzVJdW82UTExeXIrajRJQWFFbDY3aE1PR2RxYjBsMlhCRHZOVFJ0enhX?= =?utf-8?B?Qkxwc0FLazZQaWxkV1oxMzYxUlZSMHRxTk1tNzlSV2I3c2dSNkdNNUNEUHU4?= =?utf-8?B?c29FTTRBMkY3cTZEVmd0TVlsZUhDWEtBYlpnK3BWVzlSOUN3T1dZYlExRnRB?= =?utf-8?B?SmJEdElldGo1NXRWTWcxa3RWZkthTjBrY29QRWt4c3FXMnN2UkVjS2R2UXJV?= =?utf-8?B?MHV0Q2FSaXExb1FVZFNQa0xLbVNJK3JBbEJqdGMzck9BTk9SZTRUakJHZktK?= =?utf-8?B?cnNjbWtpbjJsWVV6QUt4Z0xPaGViQWErU0NRWkZXUmQ0NGpxdVJTTStxOWVo?= =?utf-8?B?di9iZzVrbCtRY1ZCanB3eGFRckpoWWJld2wwV2hnSnJnY292aDJOTk00NTBt?= =?utf-8?B?S3oyVjdOWG0rYzBmYjd0Qy9JSE10MXZLVXlTeGdBSVB1STZvT2xaVEUvTFlH?= =?utf-8?B?dXN6NEgzTGxYWFhPOWNnVkxWKyttSUROR3pMRTVjcXR0WHgxZUhaU3hLa3lR?= =?utf-8?B?RVNSNEgvaDkyczlwSHlzMXd2WEZpVDh2U2JEY2UzaXpxVHFmbWdNVE82cDJT?= =?utf-8?B?bnFzQ0w2Zlk4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G5teFesXLy/7wiDQPE=; 24:6dwa02MaV6ShPsjXzdfXz9bwV6W4bBTcTg4x2hZ0oCsp0qX2iI2g2nwcvVSggLL9otelNAVKPqIruSOVSADZfae9xNavMfwyFoNwsg4b+dE=; 7:g2nMVMUdoU8dHBIUktUaxFhZdG+8pg9L1GTpuZqc4JNdCHg5esDY2T+1ITp7+zGP/2B4tjbfg6ltCU6/fLUQdhIXF38cGosrCDjtyIdifE7jgRcEvPJb1qgSV3AMbbd805cJPhXjSot4ppNMqHkclzJnXYVOfBfqHU4N0qbDWgL8WM3EeDIRIr+6liOnekRS+DEuJD8Iwn/L+/+3gNLR9ImwF5YatxA3nf4jzSvpMUstrOVQfEWRUZ3w3/hBALdi SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2018 14:38:20.9070 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9926a31f-5504-4613-1580-08d564ca741d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB1067 Subject: Re: [dpdk-dev] [RFC 0/3] set protocol specific metadata using set_pkt_metadata API 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: Fri, 26 Jan 2018 14:38:25 -0000 Hi Radu, On 01/26/2018 04:52 PM, Nicolau, Radu wrote: > >> -----Original Message----- >> From: Anoob Joseph [mailto:anoob.joseph@caviumnetworks.com] >> Sent: Thursday, January 25, 2018 5:13 PM >> To: Akhil Goyal ; Nicolau, Radu >> >> Cc: Doherty, Declan ; Gonzalez Monroy, Sergio >> ; >> anoob.joseph@caviumnetworks.com; Jerin Jacob >> ; Narayana Prasad >> ; Nelio Laranjeiro >> ; dev@dpdk.org >> Subject: Re: [RFC 0/3] set protocol specific metadata using set_pkt_metadata >> API >> >> Hi Akhil, Radu, >> >> Could you review the patch and share your thoughts on the proposed >> change? >> > Hi, > > I've had a quick look. From what I can see you can do everything you do in this patch with the current API. For example you can store an internal struct pointer in the private section of the security context and you can increment the ESP SN with every tx or set metadata call. With the current API, PMD could store the ESN with the security session, but there is no means for the application to read this. Application should be aware of the sequence number used per packet. This is required to monitor sequence number overflow.In the proposal, the sequence number field is IN-OUT. So application could either dictate the sequence number, or read the value from the PMD. Thanks, Anoob