[PATCH v5 09/14] bus/vmbus: open subchannels

Stephen Hemminger stephen at networkplumber.org
Thu Aug 10 17:41:32 CEST 2023


On Sat, 23 Apr 2022 09:58:44 +0530
Srikanth Kaka <srikanth.k at oneconvergence.com> wrote:

> +/**
> + * Perform IOCTL to VMBUS device
> + *
> + * @param device
> + *	A pointer to a rte_vmbus_device structure
> + * @param subchan
> + *	Count of subchannels to open
> + */
> +__rte_experimental
> +int rte_vmbus_ioctl(struct rte_vmbus_device *device, uint32_t subchan);

The functionality is good, but have problem with naming.
The word 'ioctl' implies that this is a kernel system call but it is not.
Suggest rte_vmbus_add_channels() as function name instead.


More information about the dev mailing list