[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>
Sat, 2 Aug 2025 13:13:02 +0000 (15:13 +0200)
commitcd5f21adc6e46ddbbf64eb2bdb050a1071d4a632
treec2622300f95cbf9896c773355e2f1ed5ca43a54f
parent21bed17ef3cb557804d3cd4b1971d67d1d5f5dac
[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