diff options
author | Ziwei Xiao <ziweixiao@google.com> | 2025-02-19 12:04:51 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-21 15:55:39 -0800 |
commit | 4b9c7d8fa113c0b363d0ceee29d1b15cceb771ee (patch) | |
tree | 728561e5ad6cf9a29daa16bbd22503a53582671e /include/linux/fpga/fpga-mgr.h | |
parent | c451715d78e31a27afaad35ee0e9a915935cd6ea (diff) |
gve: Add RSS cache for non RSS device option scenario
Not all the devices have the capability for the driver to query for the
registered RSS configuration. The driver can discover this by checking
the relevant device option during setup. If it cannot, the driver needs
to store the RSS config cache and directly return such cache when
queried by the ethtool. RSS config is inited when driver probes. Also the
default RSS config will be adjusted when there is RX queue count change.
At this point, only keys of GVE_RSS_KEY_SIZE and indirection tables of
GVE_RSS_INDIR_SIZE are supported.
Signed-off-by: Ziwei Xiao <ziweixiao@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Praveen Kaligineedi <pkaligineedi@google.com>
Signed-off-by: Jeroen de Borst <jeroendb@google.com>
Link: https://patch.msgid.link/20250219200451.3348166-1-jeroendb@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions