> On Thu, 10 Oct 2024 17:17:10 +0800
> Chaoyong He wrote:
>
> > +
> > +port_cleanup:
> > + for (uint32_t j = 0; j < i; j++) {
> > + struct rte_eth_dev *eth_dev;
> > +
> > + nfp_port_name_generate(port_name, sizeof(port_name), j,
> pf_dev);
> > + eth_dev = rte_eth_d
Try our best to make the logic in secondary proess the same with the
primary process and improve the readability, by add helper functions
and rename function.
Signed-off-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/net/nfp/nfp_ethdev.c | 86 +++--
2 matches
Mail list logo