diff mbox

[dpdk-dev] net/vmxnet3: use latest callback process API

Message ID 1499086576-28794-1-git-send-email-bernard.iremonger@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Iremonger, Bernard July 3, 2017, 12:56 p.m. UTC
The _rte_eth_dev_callback_process() API has changed,
a "void *ret_param" has been added.
A NULL pointer has been added to the call.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ferruh Yigit July 3, 2017, 1:06 p.m. UTC | #1
On 7/3/2017 1:56 PM, Bernard Iremonger wrote:
> The _rte_eth_dev_callback_process() API has changed,
> a "void *ret_param" has been added.
> A NULL pointer has been added to the call.
> 
> Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Ferruh Yigit July 3, 2017, 1:15 p.m. UTC | #2
On 7/3/2017 2:06 PM, Ferruh Yigit wrote:
> On 7/3/2017 1:56 PM, Bernard Iremonger wrote:
>> The _rte_eth_dev_callback_process() API has changed,
>> a "void *ret_param" has been added.
>> A NULL pointer has been added to the call.
>>
>> Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/master, thanks.
diff mbox

Patch

diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c
index 265de35..72ec67c 100644
--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c
@@ -1322,7 +1322,7 @@  static int eth_vmxnet3_pci_remove(struct rte_pci_device *pci_dev)
 		if (vmxnet3_dev_link_update(dev, 0) == 0)
 			_rte_eth_dev_callback_process(dev,
 						      RTE_ETH_EVENT_INTR_LSC,
-						      NULL);
+						      NULL, NULL);
 	}
 
 	/* Check if there is an error on xmit/recv queues */