From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id C8E35A0C47;
	Wed, 27 Oct 2021 14:30:07 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 992E5407FF;
	Wed, 27 Oct 2021 14:30:07 +0200 (CEST)
Received: from mga12.intel.com (mga12.intel.com [192.55.52.136])
 by mails.dpdk.org (Postfix) with ESMTP id 78DF34068C
 for <dev@dpdk.org>; Wed, 27 Oct 2021 14:30:06 +0200 (CEST)
X-IronPort-AV: E=McAfee;i="6200,9189,10149"; a="210230679"
X-IronPort-AV: E=Sophos;i="5.87,186,1631602800"; d="scan'208";a="210230679"
Received: from fmsmga005.fm.intel.com ([10.253.24.32])
 by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 27 Oct 2021 05:30:05 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.87,186,1631602800"; d="scan'208";a="724987865"
Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82])
 by fmsmga005.fm.intel.com with ESMTP; 27 Oct 2021 05:30:05 -0700
Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by
 fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id
 15.1.2242.12; Wed, 27 Oct 2021 05:30:05 -0700
Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by
 fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id
 15.1.2242.12 via Frontend Transport; Wed, 27 Oct 2021 05:30:05 -0700
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171)
 by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.1.2242.12; Wed, 27 Oct 2021 05:30:04 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=bAKN2DlU0Ndch5K/Y70I32X29WoCfjMQ5FZ1ALw2KuxHS7IaxUvzp45p2vy8NBmlBUI0PaHlMS192KkTRZwRSDi8QXSBKig+QygiJc6MqwBXLYZODUL73tdNzmvUIRRjfCAVyEbM/yFe9z7PMbTy7O79e0By/W6366T/vSLWYmLP3iv1h1cIn1J55F+qFLn1bCd5Rl0qykp+yw1sJU//xJqhp93LhVOYpPVUWoGO4TIDlFJ75BjZzs2Lslf/Ag4B/vKA70+uJ4Ffrtc3Y8tCB5J2E3nYSbVpXI7+YtKclD5VhcDaR1evZlCmG5ixUy8RA+ks02H9Vg6LOgpoVCTNRg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=Pa/oNzmR2g7RttyhDurs7hwl3JiK01VLpDzfWI067fY=;
 b=KV2Zyta00YGFZ/lS0OnKtmxAUq+WICmdDEd2Om5v3Poxm8HrOFg2AxWH9fO8CBG6acZt/gQHTtWSvIeQAQO1cYU4WiAUhD0u7XrVGeyT3dI07NdFzMZamXsq11F0aH3qjgctU49+ctwOQ7+BUNNAPQSALWRwgGfeS5ObpJkyzNI6yJ0ANsmd9jh9OHHmrmHvTkqaMMojnvXS9V0j9PGyIxvASKGNmYo9edmSQq5EOexnLVUf5x+o4zOndlYfHtZ2izbJiRSvjPBAah0ZIv0Tm64BekmJLjJwXjY/6ALsyVKlm8Lnt3GSoK5hTaK//P3Gqy2Ya675Z6DeP86SRJz6VQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com;
 dkim=pass header.d=intel.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; 
 s=selector2-intel-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=Pa/oNzmR2g7RttyhDurs7hwl3JiK01VLpDzfWI067fY=;
 b=NXlWJxtR0EIzNXGCXiNt7UNGUWPMmWSBe3EePRsjgY7Q3pla/SPtwK+nwSl2dDV5H5uZwm98ynJ0I8qCyXLHub5kghbKF0lX5fdtUv3wOl8ZGRVMi40U37QeuEAV4jvpkLqcvSE+A7B1K6BseGuSA5j2rRfdcJ4+HOcTNA6NVgU=
Authentication-Results: nvidia.com; dkim=none (message not signed)
 header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com;
Received: from CO1PR11MB4868.namprd11.prod.outlook.com (2603:10b6:303:90::19)
 by CO1PR11MB5186.namprd11.prod.outlook.com (2603:10b6:303:95::14)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Wed, 27 Oct
 2021 12:30:02 +0000
Received: from CO1PR11MB4868.namprd11.prod.outlook.com
 ([fe80::7c6e:d458:33ed:e579]) by CO1PR11MB4868.namprd11.prod.outlook.com
 ([fe80::7c6e:d458:33ed:e579%8]) with mapi id 15.20.4649.015; Wed, 27 Oct 2021
 12:30:02 +0000
To: "Ananyev, Konstantin" <konstantin.ananyev@intel.com>, "Iremonger, Bernard"
 <bernard.iremonger@intel.com>, "Medvedkin, Vladimir"
 <vladimir.medvedkin@intel.com>
CC: "dev@dpdk.org" <dev@dpdk.org>, "mdr@ashroe.eu" <mdr@ashroe.eu>,
 "Richardson, Bruce" <bruce.richardson@intel.com>, "Zhang, Roy Fan"
 <roy.fan.zhang@intel.com>, "hemant.agrawal@nxp.com" <hemant.agrawal@nxp.com>, 
 "gakhil@marvell.com" <gakhil@marvell.com>, "anoobj@marvell.com"
 <anoobj@marvell.com>, "Doherty, Declan" <declan.doherty@intel.com>, "Sinha,
 Abhijit" <abhijit.sinha@intel.com>, "Buckley, Daniel M"
 <daniel.m.buckley@intel.com>, "marchana@marvell.com" <marchana@marvell.com>,
 "ktejasree@marvell.com" <ktejasree@marvell.com>, "matan@nvidia.com"
 <matan@nvidia.com>
References: <20210713133542.3550525-1-radu.nicolau@intel.com>
 <20211013121331.300245-1-radu.nicolau@intel.com>
 <20211013121331.300245-7-radu.nicolau@intel.com>
 <DM6PR11MB449122EC133D2EA603FD7D929AB89@DM6PR11MB4491.namprd11.prod.outlook.com>
 <2dc028cf-7ee2-f29c-ad5f-975103d1bee1@intel.com>
 <DM6PR11MB44916E34306F14998626825A9A849@DM6PR11MB4491.namprd11.prod.outlook.com>
From: "Nicolau, Radu" <radu.nicolau@intel.com>
Message-ID: <c272988b-eb07-bfed-ca42-462ca6dfacdb@intel.com>
Date: Wed, 27 Oct 2021 13:29:54 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Firefox/78.0 Thunderbird/78.14.0
In-Reply-To: <DM6PR11MB44916E34306F14998626825A9A849@DM6PR11MB4491.namprd11.prod.outlook.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
X-ClientProxiedBy: DB8PR04CA0015.eurprd04.prod.outlook.com
 (2603:10a6:10:110::25) To CO1PR11MB4868.namprd11.prod.outlook.com
 (2603:10b6:303:90::19)
MIME-Version: 1.0
Received: from [192.168.1.21] (109.255.186.106) by
 DB8PR04CA0015.eurprd04.prod.outlook.com (2603:10a6:10:110::25) with Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.4649.15 via Frontend Transport; Wed, 27 Oct 2021 12:29:59 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 8ed6114c-2ed6-40b2-dc47-08d999457fa4
X-MS-TrafficTypeDiagnostic: CO1PR11MB5186:
X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr
X-Microsoft-Antispam-PRVS: <CO1PR11MB5186DFA24FDCF78BC3517CEC90859@CO1PR11MB5186.namprd11.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: xkso479Sb0v3s+fwN4svynGlMQIttON8y3lk5bkaraatHHoF6uCVXFTkvUzHV0iVJ1s1Z5HCmKj8eF9JPxmVpfU7c34cEmu2N9CknzaAFjyMh86DU1gd8d4g+tpaF1lfmO+g5AvNjY0ayISoDPMyAYu4TKnFIK4zbnRm+5Kp6MTbfR12fDHcyGONoQ2Ei/dJF4kPIxBtdFm48qhd21hVrztXNVeaz0HqBmr1SEwEqEKCtyus6MW3OgXH7SCydXMMx1AtqvW5YBI5S43skInA/NGClaBc1By5nEZQXktciB67Pewx4m/gWBKP9afU2gn9vckr1EW9HHPoV1RBpGY6z6d8vLKtee38QyefRyHS9NF9QJdRc87F420rVeUnKLadzxj/hGt7RQ4WBq7NqjWTJ0/61DhDoNvxLofUnf91gDu5mYJS1K/GuqFDujDdW5A8TFDgcH89cC15MoUcbsWqE7Y2Y2NaqcF9/Hp4Sq3aGQiQr07PNil4HI8YNWKjvokNda1l9RqQUxjqqpwuQx85oH/VaRQLd/rLAshsFVXRBBmIeyoWvNqv4kdQMHqiDNk8j9oh+PkrBd+5PnAwIBpsNWqFGea94DTVdX3pzU951pJ4tw6UlAmxATf5USIG3wQwWF5ERsGyZWDDeR/ANdRxAA36jAT6MQ9kscjxx94FDG35MUJNXNKdb709zHQ2bUV89K5vBPj2OiZXzQAaazcINh6FY1YkvuhCeIXDGXbQ7fMgPoU+RmowJtbmVBr8FzBJ
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:CO1PR11MB4868.namprd11.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(366004)(26005)(186003)(6486002)(86362001)(54906003)(110136005)(83380400001)(5660300002)(31696002)(66556008)(31686004)(82960400001)(66946007)(6666004)(66476007)(38100700002)(2616005)(6636002)(36756003)(55236004)(53546011)(956004)(2906002)(4326008)(8676002)(8936002)(508600001)(316002)(16576012)(4744005)(43740500002)(45980500001);
 DIR:OUT; SFP:1102; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YmZUWW5LM2tBRTUvMVJuYjAxMFhqWjZSSWtOY0YxbDRrTHVnZm42UEZyV1Ns?=
 =?utf-8?B?YzhmYXE1UXkxeDk3cCtLdzlUTHNCVnZFbklvZ1Q2Q01BbFVkVFZVekx2S252?=
 =?utf-8?B?emRabXQ3UGNScTUxc1ByMGJBUDU3QnZyWXZUZkI5a1FpMUM0Z21IZ1FsczVO?=
 =?utf-8?B?YXdmaUdEbllMYi8vTEorUVh1WUpZNElFcWJKcTJVaDRxMlU4MEZlU2FZNUxH?=
 =?utf-8?B?YzcvOStXZ1gyN0hlYytwWm1xeVZSZmFjWUtpS0kzSmE1VEhWQUVaL012WldU?=
 =?utf-8?B?VXlES0RxVEgxR0NHN0NnL1RzclVBc1cwR3NWYzBuV2ZlZTJOek1xa1pITFZh?=
 =?utf-8?B?TjQ1ZmtTeGp3YlBUaW5QV1JLRUU2cVM1NVFZN0Yvc2RUMk9vNWJYaFg3eTd3?=
 =?utf-8?B?QytLcXM4WHdrWWROMW0xTU9YdExaQzMzOFRIV1hDd2pHUHhUL0Z6eExENGwr?=
 =?utf-8?B?UzRTUHRYeHhrblp0bEd6ekNTVFZMMXdyWjQ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dc47-08d999457fa4
X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4868.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2021 12:30:02.4463 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: LllhhU/7WYVhEVUrl+Rr92vdszQjovs3q2S2/gOuYbDQj4lSs6bLGfSO4ZOn9/HzULUftZDX8M3i6lQVPAq16w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5186
X-OriginatorOrg: intel.com
Subject: Re: [dpdk-dev] [PATCH v9 06/10] ipsec: add transmit segmentation
 offload support
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>


On 10/26/2021 6:45 PM, Ananyev, Konstantin wrote:
>
>> Hi, I reworked this patch as part of a new patchset, and some comments
>> below.
>>
>> On the comment about the offload capabilities, i.e. what happens if a
>> PMD supports SECURITY and TSO but not both in the same time, well, if
>> this is the case they should not be set both,
> Ok, let' take an existing PMD: ixgbe.
> It supports both IPSEC and TSO offloads.
> Would IPSEC+TSO work with current ixgbe PMD?
Yes, it should work.
>
>> and also this can
>> theoretically happen with any offloads combinations.
> Hmm... can you provide an example with any DPDK PMD when offloads
> are supported in separate, but their combination doesn't?
No, I don't know any, but my point was that if we have a case where a 
PMD supports TSO and IPsec but not both at the same time, then it will 
be the same as with any other 2 offloads that aren't supported together.