Merge branch 'eth-bnxt-use-the-new-rss-api'
authorJakub Kicinski <kuba@kernel.org>
Sat, 13 Jul 2024 05:16:28 +0000 (22:16 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Jul 2024 05:16:29 +0000 (22:16 -0700)
commit75fd6079326da816caba51f9a4192c1876f37423
tree548e52f728ef441b3786285b3d835a2a56d29c07
parent338a93cf4a18c2036b567e9f613367f7a52f2511
parent46e457a454de1d95c57394129a2be6eac8bf85e4
Merge branch 'eth-bnxt-use-the-new-rss-api'

Jakub Kicinski says:

====================
eth: bnxt: use the new RSS API

Convert bnxt from using the set_rxfh API to separate create/modify/remove
callbacks.

Two small extensions to the core APIs are necessary:
 - the ability to discard contexts if for some catastrophic reasons
   device can no longer provide them;
 - the ability to reserve space in the context for RSS table growth.

The driver is adjusted to store indirection tables on u32 to make
it easier to use core structs directly.

With that out of the way the conversion is fairly straightforward.

Since the opposition to discarding contexts was relatively mild
and its what bnxt does already, I'm sticking to that. We may very
well need to revisit that at a later time.

v1: https://lore.kernel.org/all/20240702234757.4188344-1-kuba@kernel.org/
====================

Link: https://patch.msgid.link/20240711220713.283778-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>