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.