lkml.org 
[lkml]   [2018]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: hns: Avoid action name truncation
From
From: dann frazier <dann.frazier@canonical.com>
Date: Wed, 18 Apr 2018 21:55:41 -0600

> 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>

Applied, thank you.

\
 
 \ /
  Last update: 2018-04-19 22:31    [W:0.038 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site