Skip to contentSkip to conversation

net/vmxnet3: use latest callback process API

PATCH Applied Bernard Iremonger 2 participants 3 messages Jul 3, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/vmxnet3: use latest callback process API

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.

---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/vmxnet3/vmxnet3_ethdev.c +1 -1
index 265de35..72ec67c 100644
@@ -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 */
Signature · 1 line
1.9.1