Re: [dpdk-dev] [PATCH v2 1/4] ethdev: modify callback process API

2017-06-21 Thread Iremonger, Bernard
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Thursday, June 15, 2017 4:43 PM > To: Iremonger, Bernard > Cc: dev@dpdk.org; tho...@monjalon.net > Subject: Re: [dpdk-dev] [PATCH v2 1/4] ethdev: modify callback proce

Re: [dpdk-dev] [PATCH v2 1/4] ethdev: modify callback process API

2017-06-15 Thread Stephen Hemminger
On Mon, 12 Jun 2017 16:18:08 +0100 Bernard Iremonger wrote: > From: "Bernard.Iremonger" > > Change the rte_eth_dev_callback_process function to return int, > and add a void *ret_param parameter. What is the motivation for this? What is return value used for?

Re: [dpdk-dev] [PATCH v2 1/4] ethdev: modify callback process API

2017-06-15 Thread Iremonger, Bernard
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, June 14, 2017 10:22 PM > To: Iremonger, Bernard > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/4] ethdev: modify callback process API > > Hi, >

Re: [dpdk-dev] [PATCH v2 1/4] ethdev: modify callback process API

2017-06-14 Thread Thomas Monjalon
Hi, 12/06/2017 17:18, Bernard Iremonger: > Change the rte_eth_dev_callback_process function to return int, > and add a void *ret_param parameter. You should squash tests and examples changes in this change to avoid breaking compilation. Doc patch can also be squashed. > --- a/lib/librte_ether/rt

[dpdk-dev] [PATCH v2 1/4] ethdev: modify callback process API

2017-06-12 Thread Bernard Iremonger
From: "Bernard.Iremonger" Change the rte_eth_dev_callback_process function to return int, and add a void *ret_param parameter. Modify the following PMD's for rte_eth_dev_callback_process API changes: net/bonding net/nfp net/enic net/vhost net/virtio net/thunderx net/e1000: e1000 and igb net/sfc