From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v3] ethdev: modify callback process API Date: Mon, 3 Jul 2017 12:18:51 +0100 Message-ID: <2d48d57d-ffb2-5767-7fcd-35d6f43f9420@intel.com> References: <1497280691-18641-1-git-send-email-bernard.iremonger@intel.com> <1497529790-31587-2-git-send-email-bernard.iremonger@intel.com> <2139772.cOZ1VZa0cE@xps> <5c648ffc-7b7b-672c-21c0-e209f2589497@intel.com> <51c5491c-7d40-fe32-d06e-02085f9fbf57@intel.com> <8CEF83825BEC744B83065625E567D7C24E01D63B@IRSMSX108.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Thomas Monjalon , "dev@dpdk.org" To: "Iremonger, Bernard" , Shrikrishna Khare Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 228802BF2 for ; Mon, 3 Jul 2017 13:18:54 +0200 (CEST) In-Reply-To: <8CEF83825BEC744B83065625E567D7C24E01D63B@IRSMSX108.ger.corp.intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 7/3/2017 12:06 PM, Iremonger, Bernard wrote: > Hi Ferruh, > >> -----Original Message----- >> From: Yigit, Ferruh >> Sent: Monday, July 3, 2017 10:05 AM >> To: Iremonger, Bernard ; Shrikrishna Khare >> >> Cc: Thomas Monjalon ; dev@dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v3] ethdev: modify callback process API >> >> On 7/3/2017 10:01 AM, Ferruh Yigit wrote: >>> On 7/1/2017 4:19 PM, Thomas Monjalon wrote: >>>> 15/06/2017 14:29, Bernard Iremonger: >>>>> From: "Bernard.Iremonger" >>>>> >>>>> Change the rte_eth_dev_callback_process function to return int, and >>>>> add a void *ret_param parameter. >>>> >>>> Adding this explanation: >>>> The new parameter is used by ixgbe and i40e instead of abusing >>>> the user data of the callback. >>>> and this title: >>>> ethdev: add return values to callback process API >>>> >>>> And applied, thanks >>>> >>> >>> Hi Bernard, Shrikrishna, >>> >>> This patch breaks vmxnet3 build, can you please send a patch to fix it? >> >> The build error is on next-net. Main repo looks good. >> >>> >>> Thanks, >>> ferruh >>> > > In dpdk-next-net a call to _rte_eth_dev_callback_process() has been added in vmxnet3_ethdev.c at line 1321 using the old API. > I can send a patch or could you add an extra NULL parameter at line 1325 in vmxnet3_ethdev.c? Fix is trivial, but I shouldn't just update the code. It should be done by a proper process, with a fix patch. Would you mind sending the patch? Thanks, ferruh > > Regards, > > Bernard. >