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
<wa...@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

Reply via email to