linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns
dann frazier f4ea89110d net: hns: Avoid action name truncation
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>
2018-04-19 16:30:26 -04:00
..
hnae.c net: hns: Add self-adaptive interrupt coalesce support in hns driver 2017-08-03 09:21:14 -07:00
hnae.h net: hns: Avoid action name truncation 2018-04-19 16:30:26 -04:00
hns_ae_adapt.c net: hns: Add self-adaptive interrupt coalesce support in hns driver 2017-08-03 09:21:14 -07:00
hns_dsaf_gmac.c net: hns: Fix ethtool private flags 2018-03-17 19:48:26 -04:00
hns_dsaf_gmac.h
hns_dsaf_mac.c ethernet: hisilicon: hns: hns_dsaf_mac: Use generic eth_broadcast_addr 2018-03-31 22:26:43 -04:00
hns_dsaf_mac.h
hns_dsaf_main.c
hns_dsaf_main.h
hns_dsaf_misc.c net: hns: Fix for variable may be used uninitialized warnings 2018-01-22 15:36:44 -05:00
hns_dsaf_misc.h
hns_dsaf_ppe.c net: hns: Fix ethtool private flags 2018-03-17 19:48:26 -04:00
hns_dsaf_ppe.h
hns_dsaf_rcb.c net: hns: Fix ethtool private flags 2018-03-17 19:48:26 -04:00
hns_dsaf_rcb.h
hns_dsaf_reg.h net: hns: Fix for variable may be used uninitialized warnings 2018-01-22 15:36:44 -05:00
hns_dsaf_xgmac.c
hns_dsaf_xgmac.h
hns_enet.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-02 15:23:39 +09:00
hns_enet.h net: hns: Add self-adaptive interrupt coalesce support in hns driver 2017-08-03 09:21:14 -07:00
hns_ethtool.c net: hns: Fix ethtool private flags 2018-03-17 19:48:26 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00