Re: [PATCH net-next v3 1/3] net: rss: Require indir table size or hash key size to support RSS

From: Jakub Kicinski

Date: Thu Oct 15 2026 - 19:39:47 EST


On Fri, 2 Oct 2026 16:28:01 +0200 Maxime Chevallier wrote:
> @@ -457,7 +460,7 @@ rss_dump_one_dev(struct sk_buff *skb, struct netlink_callback *cb,
> for (; xa_find(&dev->ethtool->rss_ctx, &ctx->ctx_idx,
> ULONG_MAX, XA_PRESENT); ctx->ctx_idx++) {
> ret = rss_dump_one_ctx(skb, cb, dev, ctx->ctx_idx);
> - if (ret)
> + if (ret && ret != -EOPNOTSUPP)
> return ret;

nit/btw this change is not needed. The context dumping is entirely
handled in the core, if device let us create one there mustn't be
a EOPNOTSUPP here.