Thread (91 messages) flat view 91 messages, 7 authors, 2017-04-14

Re: [PATCH v2 7/8] eal: add virtual device name helper function

From: Ferruh Yigit <hidden>
Date: 2017-02-21 12:25:21

On 2/20/2017 2:17 PM, Jan Blunck wrote:
This adds the rte_vdev_device_name() helper function to retrieve the
rte_vdev_device name which makes moving the name of the low-level
device into struct rte_device easier in the future.

Signed-off-by: Jan Blunck <redacted>
<...>
+const char *
+rte_vdev_device_name(const struct rte_vdev_device *dev)
+{
+	return dev->device.devargs->virt.drv_name;
+}
Can this function be static?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help