diff options
| author | Edward Cree <ecree.xilinx@gmail.com> | 2024-08-07 19:06:13 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-09 05:55:49 +0300 |
| commit | ceb627435b00fe3bcee5957aeb3e5282a1f06eb6 (patch) | |
| tree | ad6c5d1c7b661cb95baf93152ba9449c531d76dd /include/linux/fpga/fpga-bridge.h | |
| parent | df665ab188cdca8b8b3e0cca84a6511c395f9ece (diff) | |
| download | linux-ceb627435b00fe3bcee5957aeb3e5282a1f06eb6.tar.xz | |
net: ethtool: check rxfh_max_num_contexts != 1 at register time
A value of 1 doesn't make sense, as it implies the only allowed
context ID is 0, which is reserved for the default context - in
which case the driver should just not claim to support custom
RSS contexts at all.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Link: https://lore.kernel.org/c07725b3a3d0b0a63b85e230f9c77af59d4d07f8.1723045898.git.ecree.xilinx@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions
