[dpdk-dev] [PATCH v2 1/2] librte_ether: ensure not overwrite device data in mp app
Pattan, Reshma
reshma.pattan at intel.com
Tue Sep 20 18:14:28 CEST 2016
Hi Marcin,
> /**
> * @internal
> + * Returns a shared device data slot specified by the unique identifier name.
> + *
> + * @param name
> + * The pointer to the Unique identifier name for each shared Ethernet
> +device
> + * between multiple processes.
> + * @return
> + * - The pointer to the device data slot, on success. NULL on error
> + */
> +struct rte_eth_dev_data *rte_eth_dev_data_allocated(const char *name);
This should be static function in source file rather than public function.
And name can be rte_eth_dev_get_dev_by_name() something like that?
Thanks,
Reshma
More information about the dev
mailing list