From: Oliver Hartkopp <socketcan@hartkopp.net>
To: nicolas.dichtel@6wind.com, David Miller <davem@davemloft.net>
Cc: Stephen Hemminger <stephen@networkplumber.org>,
Ulrich Gemkow <ulrich.gemkow@ikr.uni-stuttgart.de>,
netdev@vger.kernel.org
Subject: Re: displayed name changed in ip link show for bridge- and other interfaces
Date: Tue, 23 Jun 2015 19:21:30 +0200 [thread overview]
Message-ID: <5589959A.8060600@hartkopp.net> (raw)
In-Reply-To: <558955A0.7040203@6wind.com>
On 23.06.2015 14:48, Nicolas Dichtel wrote:
>> E.g. virtual CAN interfaces (vcan.c) now print this @NONE and they never have
>> a (physical?) link. So you probably have to deal with different virtual
>> interfaces anyway, right?
> Yes, with the current code, all virtual interfaces (that define a
> rtnl_link_ops) will have this "@SOMETHING" because IFLA_LINK is now set to 0.
Just for the records:
Virtual and real CAN network interfaces (the stuff in drivers/net/can) also
have @NONE displayed in their name:
# ip link show
(..)
6: vcan0@NONE: <NOARP,UP,LOWER_UP> mtu 72 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/can
(..)
8: can0@NONE: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 10
link/can
(..)
So at least your distinction real/virtual networking interfaces doesn't match
for all kind of interfaces.
Regards,
Oliver
next prev parent reply other threads:[~2015-06-23 17:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-14 10:00 displayed name changed in ip link show for bridge- and other interfaces Ulrich Gemkow
2015-06-14 18:50 ` Oliver Hartkopp
2015-06-14 19:12 ` Oliver Hartkopp
2015-06-15 7:23 ` Nicolas Dichtel
2015-06-15 9:13 ` Nicolas Dichtel
2015-06-15 15:54 ` Stephen Hemminger
2015-06-16 17:35 ` Oliver Hartkopp
2015-06-16 17:47 ` Oliver Hartkopp
2015-06-17 7:26 ` Nicolas Dichtel
2015-06-20 22:58 ` Oliver Hartkopp
2015-06-23 12:48 ` Nicolas Dichtel
2015-06-23 17:21 ` Oliver Hartkopp [this message]
2015-07-06 15:25 ` [PATCH net] Revert "dev: set iflink to 0 for virtual interfaces" Nicolas Dichtel
2015-07-06 16:38 ` Oliver Hartkopp
2015-07-07 7:44 ` [PATCH net v2] " Nicolas Dichtel
2015-07-08 22:52 ` [PATCH net] " David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5589959A.8060600@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
--cc=stephen@networkplumber.org \
--cc=ulrich.gemkow@ikr.uni-stuttgart.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).