[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150317155555.GF2036@nanopsycho.lan>
Date: Tue, 17 Mar 2015 16:55:55 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: David Ahern <dsahern@...il.com>
Cc: netdev@...r.kernel.org, sfeldma@...il.com
Subject: Re: [PATCH v3 2/3] rocker: add support for phys_port_name
Tue, Mar 17, 2015 at 04:30:57PM CET, dsahern@...il.com wrote:
>Implement the phys_port_name operation. Port names are pulled from the
>rocker hardware model in qemu and default to the qemu name + port id.
>e.g.,
>
>sw1p1: flags=4098<BROADCAST,MULTICAST> mtu 1500
> ether 52:54:00:12:35:01 txqueuelen 1000 (Ethernet)
> RX packets 0 bytes 0 (0.0 B)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 0 bytes 0 (0.0 B)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
>where 'sw1' comes from the qemu command line -device rocker,name=sw1, and
>'p1' is port 1.
>
>Patch is adapted from Scott's phys_port_id patch.
>
>v3:
>- updated per comments from Jiri and Philip regarding len type and
> initializations
>
>v2:
>- updated per changes in prior patch requested by Jiri
>
>Signed-off-by: David Ahern <dsahern@...il.com>
>Acked-by: Scott Feldman <sfeldma@...il.com>
>Cc: Jiri Pirko <jiri@...nulli.us>
Acked-by: Jiri Pirko <jiri@...nulli.us>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists