summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorShradha Gupta <shradhagupta@linux.microsoft.com>2024-08-26 09:07:41 -0700
committerJakub Kicinski <kuba@kernel.org>2024-08-27 16:08:44 -0700
commit3410d0e14f9a6856386c6a8eb2310cbc58191777 (patch)
tree51d4fb2cb79d25fbc29e025216bb32cf950d1090 /net
parentcf740e3cc761560beefae4d772fd350e46f600fc (diff)
net: mana: Implement get_ringparam/set_ringparam for mana
Currently the values of WQs for RX and TX queues for MANA devices are hardcoded to default sizes. Allow configuring these values for MANA devices as ringparam configuration(get/set) through ethtool_ops. Pre-allocate buffers at the beginning of this operation, to prevent complete network loss in low-memory conditions. Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com> Link: https://patch.msgid.link/1724688461-12203-1-git-send-email-shradhagupta@linux.microsoft.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions