mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
f4ea89110d
When longer interface names are used, the action names exposed in /proc/interrupts and /proc/irq/* maybe truncated. For example, when using the predictable name algorithm in systemd on a HiSilicon D05, I see: ubuntu@d05-3:~$ grep enahisic2i0-tx /proc/interrupts | sed 's/.* //' enahisic2i0-tx0 enahisic2i0-tx1 [...] enahisic2i0-tx8 enahisic2i0-tx9 enahisic2i0-tx1 enahisic2i0-tx1 enahisic2i0-tx1 enahisic2i0-tx1 enahisic2i0-tx1 enahisic2i0-tx1 Increase the max ring name length to allow for an interface name of IFNAMSIZE. After this change, I now see: $ grep enahisic2i0-tx /proc/interrupts | sed 's/.* //' enahisic2i0-tx0 enahisic2i0-tx1 enahisic2i0-tx2 [...] enahisic2i0-tx8 enahisic2i0-tx9 enahisic2i0-tx10 enahisic2i0-tx11 enahisic2i0-tx12 enahisic2i0-tx13 enahisic2i0-tx14 enahisic2i0-tx15 Signed-off-by: dann frazier <dann.frazier@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
hnae.c | ||
hnae.h | ||
hns_ae_adapt.c | ||
hns_dsaf_gmac.c | ||
hns_dsaf_gmac.h | ||
hns_dsaf_mac.c | ||
hns_dsaf_mac.h | ||
hns_dsaf_main.c | ||
hns_dsaf_main.h | ||
hns_dsaf_misc.c | ||
hns_dsaf_misc.h | ||
hns_dsaf_ppe.c | ||
hns_dsaf_ppe.h | ||
hns_dsaf_rcb.c | ||
hns_dsaf_rcb.h | ||
hns_dsaf_reg.h | ||
hns_dsaf_xgmac.c | ||
hns_dsaf_xgmac.h | ||
hns_enet.c | ||
hns_enet.h | ||
hns_ethtool.c | ||
Makefile |