On Sun, Dec 20, 2020 at 10:14 PM Maxime Coquelin
wrote:
>
> This patch adds an helper macro to get the rte_vdev_device
> pointer from a rte_eth_dev pointer.
>
> This is similar to RTE_ETH_DEV_TO_PCI().
>
> Signed-off-by: Maxime Coquelin
Reviewed-by: David Marchand
--
David Marchand
> -Original Message-
> From: Maxime Coquelin
> Sent: Monday, December 21, 2020 5:13 AM
> To: dev@dpdk.org; Xia, Chenbo ; olivier.m...@6wind.com;
> amore...@redhat.com; david.march...@redhat.com
> Cc: Maxime Coquelin
> Subject: [PATCH 01/40] bus/vdev: add helper to get vdev from eth dev
>
This patch adds an helper macro to get the rte_vdev_device
pointer from a rte_eth_dev pointer.
This is similar to RTE_ETH_DEV_TO_PCI().
Signed-off-by: Maxime Coquelin
---
drivers/bus/vdev/rte_bus_vdev.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/bus/vdev/rte_bus_vdev.h b/driv
3 matches
Mail list logo