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

Renyong Wan wanry at 3snic.com
Tue Sep 19 04:00:59 CEST 2023


Hello Stephen,

This patch is just a minimum probe frame, it does nothing and always 
return error. The error check will apear in the subsequent patch([PATCH 
v5 04/32]), in that patch, hardware base is initialized, so secondary 
process check is added logically.

Thanks.

On 2023/9/19 0:08, Stephen Hemminger wrote:
> 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.

-- 
Regards,
Renyong Wan



More information about the dev mailing list