diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-07-07 11:41:13 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-08 11:56:40 -0700 |
commit | afc55a0659a60c6b5cde2907c9454ce8fcb0844f (patch) | |
tree | c9f1f5c6d52fd380830a940b4ab7a7ba01da0a8b /net/switchdev/switchdev.c | |
parent | be78c83a8bbb838bed75798a55da59f3b86851c6 (diff) |
eth: mlx5: migrate to the *_rxfh_context ops
Convert mlx5 to dedicated RXFH ops. This is a fairly shallow
conversion, TBH, most of the driver code stays as is, but we
let the core allocate the context ID for the driver.
mlx5e_rx_res_rss_get_rxfh() and friends are made void, since
core only calls the driver for context 0. The second call
is right after context creation so it must exist (tm).
Tested with drivers/net/hw/rss_ctx.py on MCX6.
Reviewed-by: Gal Pressman <gal@nvidia.com>
Link: https://patch.msgid.link/20250707184115.2285277-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions