diff options
| author | Erni Sri Satya Vennela <ernis@linux.microsoft.com> | 2025-06-17 00:17:36 -0700 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-06-19 15:13:49 +0200 |
| commit | ca8ac489ca33c986ff02ee14c3e1c10b86355428 (patch) | |
| tree | 166809e814a39f9dbe4ef05ac71f8bc5ecbd5dbb /include/net/mana | |
| parent | net: mana: Add speed support in mana_get_link_ksettings (diff) | |
| download | linux-ca8ac489ca33c986ff02ee14c3e1c10b86355428.tar.gz linux-ca8ac489ca33c986ff02ee14c3e1c10b86355428.zip | |
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>
Diffstat (limited to 'include/net/mana')
| -rw-r--r-- | include/net/mana/gdma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/mana/gdma.h b/include/net/mana/gdma.h index 6fe6cbcd512d..92ab85061df0 100644 --- a/include/net/mana/gdma.h +++ b/include/net/mana/gdma.h @@ -10,6 +10,7 @@ #include "shm_channel.h" #define GDMA_STATUS_MORE_ENTRIES 0x00000105 +#define GDMA_STATUS_CMD_UNSUPPORTED 0xffffffff /* Structures labeled with "HW DATA" are exchanged with the hardware. All of * them are naturally aligned and hence don't need __packed. |
