[PATCH 28/34] 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, 1 Nov 2024 04:23:37 +0000 (05:23 +0100)
commite859cb8d8b62bfbd587be6a92515b5100fad9a2e
treec3becbab7daca7c892dcf7b52c69fda47813a141
parent0f1f6c4e4f2438540b18532fea90a59efa33808b
[PATCH 28/34] 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