]> git.ipfire.org Git - thirdparty/linux.git/commit
net: mana: Handle unsupported HWC commands
authorErni Sri Satya Vennela <ernis@linux.microsoft.com>
Tue, 17 Jun 2025 07:17:36 +0000 (00:17 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 19 Jun 2025 13:13:49 +0000 (15:13 +0200)
commitca8ac489ca33c986ff02ee14c3e1c10b86355428
tree166809e814a39f9dbe4ef05ac71f8bc5ecbd5dbb
parenta6d5edf11e0cf5a4650f1d353d20ec29de093813
net: mana: Handle unsupported HWC commands

If any of the HWC commands are not recognized by the
underlying hardware, the hardware returns the response
header status of -1. Log the information using
netdev_info_once to avoid multiple error logs in dmesg.

Signed-off-by: Erni Sri Satya Vennela <ernis@linux.microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Reviewed-by: Saurabh Singh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Dipayaan Roy <dipayanroy@linux.microsoft.com>
Link: https://patch.msgid.link/1750144656-2021-5-git-send-email-ernis@linux.microsoft.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microsoft/mana/hw_channel.c
drivers/net/ethernet/microsoft/mana/mana_en.c
include/net/mana/gdma.h