[PATCH v5 03/32] net/sssnic: support probe and remove

Stephen Hemminger stephen at networkplumber.org
Mon Sep 18 18:08:06 CEST 2023


On Mon, 4 Sep 2023 12:56:29 +0800
<wanry at 3snic.com> wrote:

> +static int
> +sssnic_ethdev_init(struct rte_eth_dev *ethdev)
> +{
> +	RTE_SET_USED(ethdev);
> +	PMD_INIT_FUNC_TRACE();
> +
> +	return -EINVAL;
> +}


Since device does not support secondary process, should
check and return error here.


More information about the dev mailing list