diff options
| author | Haiyang Zhang <haiyangz@microsoft.com> | 2025-10-29 13:43:10 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-31 15:56:53 -0700 |
| commit | 54133f9b4b53ffa2204eb27cfc9d50072c9a52d2 (patch) | |
| tree | f7b36bd249ab8ebb0eef8dcd1f26e393a11d188b /tools/perf/scripts/python | |
| parent | 1a2352ad82b515035efe563f997ef8f5ca4f8080 (diff) | |
net: mana: Support HW link state events
Handle the NIC hardware link state events received from the HW
channel, then set the proper link state accordingly.
And, add a feature bit, GDMA_DRV_CAP_FLAG_1_HW_VPORT_LINK_AWARE,
to inform the NIC hardware this handler exists.
Our MANA NIC only sends out the link state down/up messages
when we need to let the VM rerun DHCP client and change IP
address. So, add netif_carrier_on() in the probe(), let the NIC
show the right initial state in /sys/class/net/ethX/operstate.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Link: https://patch.msgid.link/1761770601-16920-1-git-send-email-haiyangz@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
