[DPDK 20.11] ixgbe VF PMD does not support LSC interrupts.

2022-06-05 Thread Abdelfattah Chehab
Hi All, While using net_e1000_igb_vf PMD, registering LSC Callbacks will have no effect. rte_eth_dev_callback_register(port, RTE_ETH_EVENT_INTR_LSC, callback, NULL); in the PMD code: .drv_flags = RTE_PCI_DRV_NEED_MAPPING While for other working PMDs: drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PC

[PATCH] vmbus: get current rte_vmbus_bus struct

2022-04-13 Thread Abdelfattah Chehab
Hi All, FOREACH_DEVICE_ON_VMBUS needs rte_vmbus_bus to work on If static link to libdpdk.a : no issues If dynamic link to *.so: linker issue, global variable not found. I suggest this patch to get a current rte_vmbus_bus struct: Thanks. diff --git a/dpdk-20.11/drivers/bus/vmbus/rte_bus_vmbus.h

RE: [PATCH] vmbus: get current rte_vmbus_bus struct

2022-04-19 Thread Abdelfattah Chehab
The global variable is not accessible from libdpdk.so I don't really see how the linker can find it in this case. -Original Message- From: David Marchand Sent: 13 April 2022 10:11 To: Abdelfattah Chehab Cc: dev@dpdk.org; sta...@dpdk.org Subject: Re: [PATCH] vmbus: get cu