From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id AAF572BA8 for ; Sun, 30 Sep 2018 12:31:52 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Sep 2018 03:31:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,323,1534834800"; d="scan'208";a="267188496" Received: from jguo15x-mobl.ccr.corp.intel.com (HELO [10.67.68.112]) ([10.67.68.112]) by fmsmga005.fm.intel.com with ESMTP; 30 Sep 2018 03:31:03 -0700 To: "Burakov, Anatoly" , stephen@networkplumber.org, bruce.richardson@intel.com, ferruh.yigit@intel.com, konstantin.ananyev@intel.com, gaetan.rivet@6wind.com, jingjing.wu@intel.com, thomas@monjalon.net, motih@mellanox.com, matan@mellanox.com, harry.van.haaren@intel.com, qi.z.zhang@intel.com, shaopeng.he@intel.com, bernard.iremonger@intel.com, arybchenko@solarflare.com Cc: jblunck@infradead.org, shreyansh.jain@nxp.com, dev@dpdk.org, helin.zhang@intel.com References: <1534503091-31910-1-git-send-email-jia.guo@intel.com> <1534503091-31910-4-git-send-email-jia.guo@intel.com> From: Jeff Guo Message-ID: <88605f8a-f1f6-cbf0-85cf-5639492522de@intel.com> Date: Sun, 30 Sep 2018 18:31:03 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH v1 3/5] eal: modify device event callback process func 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: Sun, 30 Sep 2018 10:31:53 -0000 On 9/26/2018 8:20 PM, Burakov, Anatoly wrote: > On 17-Aug-18 11:51 AM, Jeff Guo wrote: >> This patch modify the device event callback process function name to be >> more explicit, and exposure the API from private to public. The drivers >> and apps would directly use this API to process device event callback. >> >> Signed-off-by: Jeff Guo >> --- > > > >>    * >> + * Internal Executes all the user application registered callbacks for >> + * the specific device. It is for DPDK internal user only. User >> + * application should not call it directly. >> + * >> + * @param device_name >> + *  The device name. >> + * @param event >> + *  the device event type. >> + */ >> +void  __rte_experimental >> +rte_dev_event_callback_process(const char *device_name, >> +                   enum rte_dev_event_type event); > > Also, you've exported it but haven't added it to the .map file. > what i want is make it internal use, so i will modify the typo.