From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 55C0F58F3 for ; Fri, 16 Sep 2016 11:49:29 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP; 16 Sep 2016 02:49:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,344,1470726000"; d="scan'208";a="10027766" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga004.jf.intel.com with ESMTP; 16 Sep 2016 02:49:26 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.135]) by IRSMSX109.ger.corp.intel.com ([169.254.13.12]) with mapi id 14.03.0248.002; Fri, 16 Sep 2016 10:49:23 +0100 From: "Trahe, Fiona" To: Olivier Matz , "dev@dpdk.org" , "nhorman@tuxdriver.com" CC: "thomas.monjalon@6wind.com" , "vido@cesnet.cz" , "stephen@networkplumber.org" , "Trahe, Fiona" Thread-Topic: [PATCH] drivers: advertise kmod dependencies in pmdinfo Thread-Index: AQHSD1ynRIOLrVK7ikSRDRcsPLV+WKB73w2Q Date: Fri, 16 Sep 2016 09:49:22 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B435890B8716@IRSMSX101.ger.corp.intel.com> References: <1472217646-26219-1-git-send-email-olivier.matz@6wind.com> <1473949355-6787-1-git-send-email-olivier.matz@6wind.com> In-Reply-To: <1473949355-6787-1-git-send-email-olivier.matz@6wind.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDk0MDcwNjgtYjk0Mi00MWVjLTllNDUtODQzNDRlNmZmNDY0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjlsbkRPd0NFWkF3TTdoVWRMd210WUJ5aU5OUmg3YTRzOExxcmtGSzdLVzQ9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] drivers: advertise kmod dependencies in pmdinfo X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 09:49:29 -0000 Hi Oliver, > -----Original Message----- > From: Olivier Matz [mailto:olivier.matz@6wind.com] > Sent: Thursday, September 15, 2016 3:23 PM > To: dev@dpdk.org; nhorman@tuxdriver.com > Cc: thomas.monjalon@6wind.com; vido@cesnet.cz; Trahe, Fiona > ; stephen@networkplumber.org > Subject: [PATCH] drivers: advertise kmod dependencies in pmdinfo >=20 > Add a new macro DRIVER_REGISTER_KMOD_DEP() that allows a driver to > declare the list of kernel modules required to run properly. >=20 > Today, most PCI drivers require uio/vfio. >=20 > Signed-off-by: Olivier Matz > --- >=20 > rfc -> v1: > - the kmod information can be per-device using a modalias-like > pattern > - change syntax to use '&' and '|' instead of ',' and ':' > - remove useless prerequisites in kmod lis: no need to > specify both uio and uio_pci_generic, only the latter is > required > - update kmod list in szedata2 driver > - remove kmod list in qat driver: it requires more than just loading > a kmod, which is described in documentation >=20 The per-device info is a nice addition to this feature.=20 Though for the reasons already described the qat driver dependencies are be= tter=20 handled through documentation and scripts. Acked-by: Fiona Trahe