Re: [PATCH v3 1/2] ethdev: define a function to get eth dev structure

2022-02-01 Thread Ferruh Yigit
On 2/1/2022 4:56 PM, Ferruh Yigit wrote: On 1/31/2022 2:32 PM, Kumara Parameshwaran wrote: From: Kumara Parameshwaran The PMDs would need a function to access the rte_eth_devices global array Cc: sta...@dpdk.org Not sure if this patch is suitable for backport, since it introduces new inter

Re: [PATCH v3 1/2] ethdev: define a function to get eth dev structure

2022-02-01 Thread Ferruh Yigit
On 2/1/2022 4:56 PM, Ferruh Yigit wrote: On 1/31/2022 2:32 PM, Kumara Parameshwaran wrote: From: Kumara Parameshwaran The PMDs would need a function to access the rte_eth_devices global array Cc: sta...@dpdk.org Not sure if this patch is suitable for backport, since it introduces new inter

Re: [PATCH v3 1/2] ethdev: define a function to get eth dev structure

2022-02-01 Thread Ferruh Yigit
On 1/31/2022 2:32 PM, Kumara Parameshwaran wrote: From: Kumara Parameshwaran The PMDs would need a function to access the rte_eth_devices global array Cc: sta...@dpdk.org Not sure if this patch is suitable for backport, since it introduces new internal API. But since API is internal, perhap

[PATCH v3 1/2] ethdev: define a function to get eth dev structure

2022-01-31 Thread Kumara Parameshwaran
From: Kumara Parameshwaran The PMDs would need a function to access the rte_eth_devices global array Cc: sta...@dpdk.org Signed-off-by: Kumara Parameshwaran --- lib/ethdev/ethdev_driver.h | 18 ++ lib/ethdev/rte_ethdev.c| 11 +++ lib/ethdev/version.map | 1 +

[PATCH v3 1/2] ethdev: define a function to get eth dev structure

2022-01-31 Thread Kumara Parameshwaran
From: Kumara Parameshwaran The PMDs would need a function to access the rte_eth_devices global array Cc:sta...@dpdk.org Signed-off-by: Kumara Parameshwaran --- lib/ethdev/ethdev_driver.h | 18 ++ lib/ethdev/rte_ethdev.c| 11 +++ lib/ethdev/version.map | 1 + 3