Re: [PATCH v4 07/15] net/xsc: add ethdev configure and RSS ops

2025-01-05 Thread WanRenyong
On 2025/1/4 3:14, Stephen Hemminger wrote: > On Fri, 03 Jan 2025 23:04:19 +0800 > "WanRenyong" wrote: > >> +static int >> +xsc_ethdev_rss_hash_conf_get(struct rte_eth_dev *dev, >> + struct rte_eth_rss_conf *rss_conf) >> +{ >> +struct xsc_ethdev_priv *priv = TO_XSC_ETHDE

Re: [PATCH v4 07/15] net/xsc: add ethdev configure and RSS ops

2025-01-03 Thread Stephen Hemminger
On Fri, 03 Jan 2025 23:04:19 +0800 "WanRenyong" wrote: > +static int > +xsc_ethdev_rss_hash_conf_get(struct rte_eth_dev *dev, > + struct rte_eth_rss_conf *rss_conf) > +{ > + struct xsc_ethdev_priv *priv = TO_XSC_ETHDEV_PRIV(dev); > + > + if (!rss_conf) { > +

[PATCH v4 07/15] net/xsc: add ethdev configure and RSS ops

2025-01-03 Thread WanRenyong
Implement xsc ethdev configure and RSS hash functions. Signed-off-by: WanRenyong --- doc/guides/nics/features/xsc.ini | 3 + drivers/net/xsc/xsc_defs.h | 15 + drivers/net/xsc/xsc_dev.c| 26 drivers/net/xsc/xsc_dev.h| 1 + drivers/net/xsc/xsc_ethdev.c