[PATCH 28/44] net: mana: Configure hwc timeout from hardware
authorSouradeep Chakrabarti <schakrabarti@linux.microsoft.com>
Wed, 2 Aug 2023 11:07:40 +0000 (04:07 -0700)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 25 Apr 2025 19:51:43 +0000 (21:51 +0200)
commit8b66397bb11ea78120e1d8b83183fb874caeda0c
treebc1a50387fd21fc0af34aa670f56e61ba9c8ba6e
parent591bbb9621959f1b167ef0b0f45b09697ad0f476
[PATCH 28/44] net: mana: Configure hwc timeout from hardware

At present hwc timeout value is a fixed value. This patch sets the hwc
timeout from the hardware. It now uses a new hardware capability
GDMA_DRV_CAP_FLAG_1_HWC_TIMEOUT_RECONFIG to query and set the value
in hwc_timeout.

Signed-off-by: Souradeep Chakrabarti <schakrabarti@linux.microsoft.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 62c1bff593b7e30041d0273b835af9fd6f5ee737)
Signed-off-by: Bastian Blank <waldi@debian.org>
Gbp-Pq: Topic features/all/ethernet-microsoft
Gbp-Pq: Name 0028-net-mana-Configure-hwc-timeout-from-hardware.patch
drivers/net/ethernet/microsoft/mana/gdma_main.c
drivers/net/ethernet/microsoft/mana/hw_channel.c
include/net/mana/gdma.h
include/net/mana/hw_channel.h