mbox series

[v2,net,0/2] net: ethtool: fix rxfh_max_context_id

Message ID cover.1723045898.git.ecree.xilinx@gmail.com (mailing list archive)
Headers show
Series net: ethtool: fix rxfh_max_context_id | expand

Message

edward.cree@amd.com Aug. 7, 2024, 4:06 p.m. UTC
From: Edward Cree <ecree.xilinx@gmail.com>

Changes in v2:
* Removed unnecessary limit==0 check, since this can never happen
* Renamed rxfh_max_context_id to rxfh_max_num_contexts
* Incremented bnxt's max to keep user-facing behaviour the same
* Added patch #2 to validate the max is sane

Patch #2 doesn't have a fixes tag because it's strictly supererogatory;
 idk if it should go to net-next instead.

Edward Cree (2):
  net: ethtool: fix off-by-one error in max RSS context IDs
  net: ethtool: check rxfh_max_num_contexts != 1 at register time

 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c |  2 +-
 include/linux/ethtool.h                           | 10 +++++-----
 net/ethtool/common.c                              |  2 ++
 net/ethtool/ioctl.c                               |  5 +++--
 4 files changed, 11 insertions(+), 8 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 8, 2024, 4:20 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 7 Aug 2024 17:06:11 +0100 you wrote:
> From: Edward Cree <ecree.xilinx@gmail.com>
> 
> Changes in v2:
> * Removed unnecessary limit==0 check, since this can never happen
> * Renamed rxfh_max_context_id to rxfh_max_num_contexts
> * Incremented bnxt's max to keep user-facing behaviour the same
> * Added patch #2 to validate the max is sane
> 
> [...]

Here is the summary with links:
  - [v2,net,1/2] net: ethtool: fix off-by-one error in max RSS context IDs
    https://git.kernel.org/netdev/net/c/b54de55990b0
  - [v2,net,2/2] net: ethtool: check rxfh_max_num_contexts != 1 at register time
    (no matching commit)

You are awesome, thank you!
patchwork-bot+netdevbpf@kernel.org Aug. 9, 2024, 3 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 7 Aug 2024 17:06:11 +0100 you wrote:
> From: Edward Cree <ecree.xilinx@gmail.com>
> 
> Changes in v2:
> * Removed unnecessary limit==0 check, since this can never happen
> * Renamed rxfh_max_context_id to rxfh_max_num_contexts
> * Incremented bnxt's max to keep user-facing behaviour the same
> * Added patch #2 to validate the max is sane
> 
> [...]

Here is the summary with links:
  - [v2,net,1/2] net: ethtool: fix off-by-one error in max RSS context IDs
    (no matching commit)
  - [v2,net,2/2] net: ethtool: check rxfh_max_num_contexts != 1 at register time
    https://git.kernel.org/netdev/net-next/c/ceb627435b00

You are awesome, thank you!