From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9E0321B1B3 for ; Wed, 24 Jan 2018 16:00:18 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2018 07:00:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,408,1511856000"; d="scan'208";a="12708147" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga008.jf.intel.com with ESMTP; 24 Jan 2018 07:00:16 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 24 Jan 2018 07:00:16 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 24 Jan 2018 07:00:16 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by shsmsx102.ccr.corp.intel.com ([169.254.2.189]) with mapi id 14.03.0319.002; Wed, 24 Jan 2018 23:00:14 +0800 From: "Wu, Jingjing" To: "Guo, Jia" , "stephen@networkplumber.org" , "Richardson, Bruce" , "Yigit, Ferruh" , "gaetan.rivet@6wind.com" CC: "Ananyev, Konstantin" , "jblunck@infradead.org" , "shreyansh.jain@nxp.com" , "dev@dpdk.org" , "thomas@monjalon.net" , "Zhang, Helin" , "motih@mellanox.com" Thread-Topic: [PATCH V12 2/3] eal: add uevent pass and process function Thread-Index: AQHTkBK6Vu422yFKr02E9s4ssXG/KKODJ4kw Date: Wed, 24 Jan 2018 15:00:14 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810F18015@SHSMSX103.ccr.corp.intel.com> References: <1516013331-18939-3-git-send-email-jia.guo@intel.com> <1516248723-16985-1-git-send-email-jia.guo@intel.com> <1516248723-16985-2-git-send-email-jia.guo@intel.com> In-Reply-To: <1516248723-16985-2-git-send-email-jia.guo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2IyOWNkNmYtNGU0ZS00Y2U2LWEwNjUtMTliNzIyZTAyMWViIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6ImplNENcL2hMYlZxZlhIbWl0YUx0a05ud0xhelJpeEV5KzI0MFhZaU9uR0o4PSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH V12 2/3] eal: add uevent pass and process function 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, 24 Jan 2018 15:00:19 -0000 > -----Original Message----- > From: Guo, Jia > Sent: Thursday, January 18, 2018 12:12 PM > To: stephen@networkplumber.org; Richardson, Bruce ; > Yigit, Ferruh ; gaetan.rivet@6wind.com > Cc: Ananyev, Konstantin ; jblunck@infradead= .org; > shreyansh.jain@nxp.com; Wu, Jingjing ; dev@dpdk.or= g; Guo, Jia > ; thomas@monjalon.net; Zhang, Helin ; > motih@mellanox.com > Subject: [PATCH V12 2/3] eal: add uevent pass and process function >=20 > In order to handle the uevent which have been detected from the kernel > side, add uevent process function, let hot plug event to be example to > show uevent mechanism how to pass the uevent and process the uevent. >=20 > About uevent passing and processing, add below functions in linux eal > dev layer. FreeBSD not support uevent ,so let it to be void and do not > implement in function. > a.dev_uev_parse > b.dev_uev_receive > c.dev_uev_process >=20 > Signed-off-by: Jeff Guo Reviewed-by: Jingjing Wu