From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0073.outbound.protection.outlook.com [104.47.34.73]) by dpdk.org (Postfix) with ESMTP id 412E61B638 for ; Tue, 5 Jun 2018 18:07: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=6vp502CdS6n4vxdAvUHM+alvsHJKaTyEGtCZ1y/K7Uw=; b=Hzqqln97g1Os7DU1P6vuYEiDbwojhV1EicL9sD3fP5/BJyrFr2dvR2LgVI1V0TMWLDxq+RLLYCDlvyI6qlD4TIdmOGURYDCCPrv2GjpZ5qw9M1XJjpGyc2oAG5NB2wsSzAGFmcUKiWP9st5LnjU6cCUC0GUkdaGKmmPlzmRtnUg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.120.91.188) by SN2PR07MB2527.namprd07.prod.outlook.com (2603:10b6:804:6::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.13; Tue, 5 Jun 2018 16:07:50 +0000 Date: Tue, 5 Jun 2018 21:37:44 +0530 From: Jerin Jacob To: Pavan Nikhilesh Cc: gaetan.rivet@6wind.com, thomas@monjalon.net, dev@dpdk.org Message-ID: <20180605160742.GB6695@jerin> References: <20180605113128.15365-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180605113128.15365-1-pbhagavatula@caviumnetworks.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Originating-IP: [106.120.91.188] X-ClientProxiedBy: BYAPR01CA0007.prod.exchangelabs.com (2603:10b6:a02:80::20) To SN2PR07MB2527.namprd07.prod.outlook.com (2603:10b6:804:6::27) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(2017052603328)(7153060)(7193020); SRVR:SN2PR07MB2527; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 3:ek799eMsRoWp1mdDP1HKhkcVERnq+7EFcR/KAMUYQgG67DPmhsHBBDG91SZEfSzZJGfePRxuxTPZ103gp6dag0Mj40VnxMz1ZL0Y4USBFAp4kXD9xbyu0EBhLCmRIdWazAk1Ce5B3k38qIFR95F0FCun0tH9YDr2zkFkxRT5nhu43fbH4b6waIFe8bJ9y1pUodoKbeRSwih1c6YnsgSFxxB0eLhDVkFqv0a6biZIMmjHg1s0MjqPeVqK+bWhFoLC; 25:WVuq7iqqZfq0gzfci5L1j8Yk2OKzgHNpNLtOw06lAE0T1MUHy4di2OF+bwSiZh85g5YsAX6irP4DQnVrJ/6mzdeEIqBuKIZrgXGY/uJxT7zTYAap4kPn+Yp6Ky/T4kQ71LguGhI3tVX4KvRMpagmF2NJq11DSzD/d9NEqNkhUkBoINgZg5i/rGAwM57ZnPtEroVGGhN4vfYf3sahe8TT7OprsXJAY5r5aD0HW4KpbExX31o+YuaqgwoDJwxdewQWAb7ybwPojJ4NXozVzGu0c1TQdHC8bPLPkwZkrWDJ7CdR8w6y3egmJgO5x/fuNxiblDgfBZ0xwjSgc5CR7wfI0A==; 31:TM9UKswjvj22ulQSNS4RpuZDk98GrI2nr0X2gEZ59dQj4ItWEzk9Bn9wJcY5QggBng/qBMbr9GcblRrhhVjwvKHAHt/60vvRFRUSJwVIJR1KkK3NPj94ytZMjXe8gvyw0dBoWaeZL2+IFnjtq4mcwH+K5sYNMQrDhbJMHf6Dp//f0Xaut7FPm2k+jZmzRhSAgUBlMY4KVn//YYRTNHSoQCWtPdfvARxQoACi40SsU6U= X-MS-TrafficTypeDiagnostic: SN2PR07MB2527: X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 20:UPXSrrT9x3m9+mS75Cdj/C/f0Cb2SSh1Rvi/LbQnim8c0hUSq7UlPdPqUxz1Hu95W3aC4jA6jYHvG1CbfUal852Dmc/2+B5tlnWderaWKBXtinglZcrleEfarVcZAOj0V0svD0eDi1pDyvSpMOcHKgtwRurn2yDLoGmwV6PVwrECJWrAfc1g8rbe1RtNdQ6z/p5TfwNM1zPF2lIDCKSJnBRxJRim+QPCQ+CxIE/KIFkLwqBzxFqK40J1/BunOHX4npxJcykr/poojjXr/y/DOh2BmQm4K658K6+botbwdziRQYbgorrl8ds4Zrzwcn9yhTn/hnidCSblDdrBFdb2uR/LDwuuvSwuEXEU94w59Lvx8cL4Jt80fAeoVBiwjxxZUUjRdjsZ3rfJgwy17ro2f/5A9hsoYVJTftnhpMP4LEx7wmcYx3BmNPD+xeBTvltuzKt/fnsLEolMRLLcV7hplBdcyguxZD8Yr78b0ePHoiK321mkbEK6/4epY+I7ug8xcJZV/pg40WaM7J8du8k0l7CNF6yvymggKq693bowTcJWx30b6g4HyYYwr5CbwgkKz6TPAoaY9bfGeCTB1SUgUauVfD0wcxg50wAFgtmle0I=; 4:IXUrRjSQT3mnYZiTaE5Nv41T6r6HdyWlHTNWDIIK/+dg5pRkXC5L0Z3NwTKLFYr2dkJ/NtFEeWfRTYxHRKoJZKgHU2/cUERpYep8bpojPEimwRBqkCcPUyEfBHDUMeTetSQiuVcFNpw71PtXJm2NsYzEDfIq9HROtLShJRgJXrpXX0TxqADtVPC/cfCL+Mvev7Eo4Azs3jiWrt1Xuz+PnmSmBEu7f7lJa5eBkB0PioV8YzqexM6tMdDjV5ig/0aotZfr4u6qjR4DqXJCAGzZqA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(944501410)(52105095)(10201501046)(93006095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:SN2PR07MB2527; BCL:0; PCL:0; RULEID:; SRVR:SN2PR07MB2527; X-Forefront-PRVS: 0694C54398 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(396003)(39380400002)(346002)(39860400002)(13464003)(189003)(199004)(16526019)(11346002)(58126008)(305945005)(6116002)(7736002)(72206003)(97736004)(3846002)(9686003)(53936002)(25786009)(478600001)(106356001)(1076002)(76176011)(6862004)(4326008)(33716001)(6246003)(105586002)(66066001)(33896004)(55016002)(23726003)(47776003)(16586007)(50466002)(59450400001)(5660300001)(486006)(8676002)(956004)(81156014)(6636002)(476003)(81166006)(44832011)(68736007)(6666003)(2906002)(6496006)(386003)(42882007)(446003)(8936002)(26005)(33656002)(229853002)(52116002)(316002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR07MB2527; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR07MB2527; 23:KKHX22by21kvq3KAZSmai6Q4D/X6+/cqiFKOwXrXd?= =?us-ascii?Q?P6TJ8YhYav68X4T2b1fFS5WcJwQs594Dd9uEBoGTX7/vwSVlFvTD0OYjMylA?= =?us-ascii?Q?QDDLr67aqbGHGPyMecYuSUbqTfk0QCtdoPSs3enIbUbsBU10/t032Nz6BPMt?= =?us-ascii?Q?PdsxPFht6TciBwjaA3xJjZAvXRVDhIpcY7pbYLE2GCX8FK3LKJkY33S42oD4?= =?us-ascii?Q?v+s5xuNGWi+kuq0v54+2i8T95q4ExOPOv/+91dz0h5GBBFMdurw5piMd1WbK?= =?us-ascii?Q?MHa8cN7hF1o9Euw57lR8coT3z2b2qroDmIuy8Ik02+1usQAOi85Toc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rJSHAymUP92bOlxTRjmNCsM2pqE8=; 24:yRdiMoHfbEJyKbJP2M7tSn7FXtMzBejgad1zLZ1RL6E3fZr4t382Nhl/7Uy+3V7jVFpkzrjCUqp+5t5MOXM2JjGjP6hlIZQ7J3hQAyMDZYo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 7:3JMGT9COhRTW60iYRyfuzY605PGnhtXdZP8aUHzsqb72pGYfPRPIgS5N55L/cSCw4FNL9O0DSkQg5/U0Kn4jSs4aC0fNNm2X84vqCOhEYdQisjcUmu6VZPOPnpeDJz6xNWBFWN1PFRDBtAUoiIFyC58cHNcdJOoWxBu1AbumxumxoDxPX9s3B9ZOlzx37SP1KNBYHhy53zxMGMgS77uXwabN8kym75vcMaCwXzpvp1fVVrTQ69YsLk55fmFBTCWI X-MS-Office365-Filtering-Correlation-Id: 6ab48b30-eb55-437e-901a-08d5cafe7e06 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2018 16:07:50.5000 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6ab48b30-eb55-437e-901a-08d5cafe7e06 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR07MB2527 Subject: Re: [dpdk-dev] [PATCH] eal/devargs: add option to supply pci dev args 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: Tue, 05 Jun 2018 16:07:55 -0000 -----Original Message----- > Date: Tue, 5 Jun 2018 17:01:28 +0530 > From: Pavan Nikhilesh > To: jerin.jacob@caviumnetworks.com, gaetan.rivet@6wind.com, > thomas@monjalon.net > Cc: dev@dpdk.org, Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH] eal/devargs: add option to supply pci dev args > X-Mailer: git-send-email 2.17.1 > > Currently, the only way of supplying device argument to a pci device is > to whitelist it i.e. -w 000X:00:0X.0,self_test=1. This is not a very > feasible method as whitelisting a device has its own side effects. I think, it would good, if we describe the side effects. > > Add a new eal command line option --pci-args to pass device args without > the need to whitelist the devices. > > Signed-off-by: Pavan Nikhilesh > --- > lib/librte_eal/common/eal_common_devargs.c | 3 +++ > lib/librte_eal/common/eal_common_options.c | 7 +++++++ > lib/librte_eal/common/eal_options.h | 2 ++ > lib/librte_eal/common/include/rte_dev.h | 1 + > lib/librte_eal/common/include/rte_devargs.h | 1 + Missed to update the eal documentation.