From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0089.outbound.protection.outlook.com [104.47.36.89]) by dpdk.org (Postfix) with ESMTP id C76761B1E6 for ; Wed, 11 Oct 2017 04:57:40 +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=cRuR549MIj0+BpXtelfLJKhTXQXuuLAgVoV9k+eOIDU=; b=YPfL4Kgeku9SJTdF4cf20mlKWW3LnOZz7qIowkBr75othvx9fQCfRLAXYB3uFJMdU/2bKf6oqhktP+YfGePmf2ZWrE6pygeyLNIYT5pn0R9D5gE4IJH1b59zb/7wk3548EDvQvOAMA12oq/IOm2wV/tYZGCZNCvOdHppKMdmCU8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.61.81.39) by BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Wed, 11 Oct 2017 02:57:37 +0000 Date: Wed, 11 Oct 2017 08:27:20 +0530 From: Jerin Jacob To: Thomas Monjalon Cc: Nikhil Rao , dev@dpdk.org, bruce.richardson@intel.com Message-ID: <20171011025719.GA1933@jerin> References: <1507674097-19597-1-git-send-email-nikhil.rao@intel.com> <1507674097-19597-4-git-send-email-nikhil.rao@intel.com> <1760785.loeYggim5W@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1760785.loeYggim5W@xps> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [171.61.81.39] X-ClientProxiedBy: MA1PR01CA0105.INDPRD01.PROD.OUTLOOK.COM (10.174.56.149) To BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2475be36-fd60-44f7-7579-08d51053d54b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:NS2tQeZH57slLVvL9ycCal6Em+KiDohq029BLVNKoVAY+5ublaOARnwfN60ca0qkIq9QjK/TnQnE5ZWDtTIsqJ0tdOODzbGtPBRc2Hmr13F+3VOJ+m/gBwMGs2Z1MwluQBuHjPICWe9rzydtV8xa6qKEzYd+PpfswF8g6nAODbdvNZEfvjITMN6U92FirL7vYLcvKR1EgNQ+C1AlCMJpUKAYDfR1aWVLuPe0hSkmAhf+4i3CRc35KLCuVZ3uH8Rg; 25:moQNTzo00hbi7LBOk89gkcVfun1v6NSP4rTpYqkyJQWJrLDprYVG0UNeII+QiTKgpCd4aYchJLojgNoT4opNL369DElyIPjdWufTFgHS6wqSQ6ULBAfLVxAtsuvj2avw1vwJFBACRvLeo518Fw/+ZGvnPIDobnfYIMsTeoR1PFN1RvCrAocd2v5zr8cW0DmGd3o3ARpt2tT4VXus2kzrktax9b99Bp5j6qfaDTimyuc3LoGudj257b7TpRP6E3c9k2v9Zej+el5Tsl0yHs1ZYJPSftywSK6YmCk2uWCIhcNq1cntcgdZ835FzcDPeK/G6i4fXMnm80lwaJ+b5KoYbQ==; 31:svcMV8FyBgLlTfOhKhK/2jRfUKSVYtMS01mZ3604KlAoWUDTfBE6tSRq8u/IiA5IwmSBA3YB8HII9QefTfkZ8hZ4AKZiyr936jNu7kJIN5bBUimiszKPn3qJB+tNT/JgKjcduIoXMEvS1lgXFoWyduTKxyFhSG792D7nobQQMf0M1dWJSLS9woz/3F/wehIkto3EZiIChSLU9E9jfLFCb3ERtAajI1NcusqeRDC2cwM= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:8X1uyL/u0YWBGEviUGhUCGZfyevDbHGLxl90V7rLsslICAaGvBWSfOfrYnjjgz3kArMgXYytzeKr9L9a6aXnSKjAg6cFy0LsVo1zzbx5RP3EgMXZw1CIUmS4B/PipZsyLvpxw6bsJ5o6TQ1QIIrSY6gA1nOU87orzGOV9SpoBzAzcrQRIn7PjYxeuCYWqB2Q0cecfk3M06kO7l2yNpm11X0jKgZ+ANURjNBY0EbfVmGVVguweAoV58CL/4WopITsA62HhhE3/eMeLUiOQGevhQ4LbQbkZOMAn4m7z/joR02HTrseicuVqCefOZDaqiFb/IQC7uvvZaStkbxqMfv68aJl0u/FXugySSH5EKVnFDmWnCRn+5GMHcve7u5N6QK2JFGOaG4d5NST+LcWbvf+h/DI+Y0rbCBja1gme7C/k121Qun7EQkOKyoIE1nT8aICLyjrmodX9/7ugXoEkIKDy/FXraosg4fuAdHzw5+r/hNnUln9aRV5RUkT+EAtFdC8r0MANo0DMvL+rXA4g1AKM9rXbFC5BSuLYHOsKEGH2Q+urH7m8TlKfdrezGL8KQsL7FtL66hAYKIqLwHogU7vdsB/mZoEYHa6zsxIHXd9q3Q=; 4:Y4wJvgdS6E7djCj3GSZ+m7vuZW5wY+0CLMPvlOgoUc1f2tC9wLD2oatTS3zBuBEUT18+UqNWXXJnKSHOGswHr0UbyFt+/t3xu7Ge9PLGiM4XLOXAT8nzhJykPSc2zrOzI4ns93qUkfOYmWLzXMP5h425f1ZyMBez+zOh1JNouDdkw/Ry5axePyON5S0SZ80i2TZVWYTHDbWk6LAKECF5Fs8WgDmM5wChRwBLRTtzVySoXgK8QH4XK9zAAgGru6caqsMtePlt0wm4nNZ4NmLkf72KyfZEwoGlu0gKWKMAO7w= X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(100000703101)(100105400095)(10201501046)(3002001)(6041248)(20161123558100)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR07MB2513; X-Forefront-PRVS: 0457F11EAF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(13464003)(199003)(189002)(101416001)(4326008)(2950100002)(8936002)(33716001)(42882006)(81166006)(6116002)(3846002)(81156014)(23726003)(1076002)(8676002)(33656002)(106356001)(105586002)(68736007)(5660300001)(229853002)(55016002)(6306002)(6666003)(6916009)(6496005)(66066001)(478600001)(53936002)(47776003)(6246003)(72206003)(966005)(76176999)(9686003)(53376002)(189998001)(54356999)(25786009)(97736004)(2906002)(58126008)(305945005)(50986999)(16586007)(7736002)(83506001)(316002)(16526018)(50466002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:jerin; 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: =?us-ascii?Q?1; BN3PR07MB2513; 23:LATOhdBaP53c5+CR4WnhpDb9FXi+Mv2xgjcVs91qV?= =?us-ascii?Q?y1+5XgwJ8RpbbKdf7KvLEceuGq8+52v8W7wL5rR5WSoKlqZSoTKAlMGTe/Ol?= =?us-ascii?Q?c084QTjOwopqqTSF1HnqSCIC2IcaTb2e8Z8ZdWzE8hyxPlbpp3cqyotLhGSY?= =?us-ascii?Q?7uO9TwZzLqFCbsdknndy6C+RD9TFj3+ZEsrM9eD3Mqp/y7Tx9n/RPG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nUiW4U9QQeYBifuRZHNL4KpsYY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2017 02:57:37.1333 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 Subject: Re: [dpdk-dev] [PATCH v6 3/7] eventdev: add eth Rx adapter caps function to SW PMD 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, 11 Oct 2017 02:57:41 -0000 -----Original Message----- > Date: Wed, 11 Oct 2017 01:16:25 +0200 > From: Thomas Monjalon > To: Nikhil Rao > Cc: dev@dpdk.org, jerin.jacob@caviumnetworks.com, bruce.richardson@intel.com > Subject: Re: [dpdk-dev] [PATCH v6 3/7] eventdev: add eth Rx adapter caps > function to SW PMD > > Hi, > > 11/10/2017 00:21, Nikhil Rao: > > --- a/lib/librte_eventdev/rte_eventdev_pmd.h > > +++ b/lib/librte_eventdev/rte_eventdev_pmd.h > > @@ -83,6 +83,14 @@ extern "C" { > > } \ > > } while (0) > > > > +#define RTE_EVENT_ETH_RX_ADAPTER_SW_CAP \ > > + ((RTE_EVENT_ETH_RX_ADAPTER_CAP_OVERRIDE_FLOW_ID) | \ > > + (RTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ)) > > + > > +/**< Ethernet Rx adapter cap to return If the packet transfers from > > + * the ethdev to eventdev use a SW service function > > + */ > > It is a value specific to the SW driver. > I think it should not be defined in librte_eventdev. It should be defined in librte_eventdev as HW drivers use this flag if HW adapter needs to use SW for fallback. Already discussed this at http://dpdk.org/ml/archives/dev/2017-September/075302.html See HW driver usage as example for dpaa2. http://dpdk.org/ml/archives/dev/2017-October/078391.html function: dpaa2_eventdev_eth_caps_get > > Do you mind to move it for RC2?