From: Stephen Hemminger <stephen@networkplumber.org>
To: John Fastabend <john.fastabend@gmail.com>
Cc: vyasevic@redhat.com, netdev@vger.kernel.org,
bridge@lists.linux-foundation.org
Subject: Re: [Bridge] [PATCH] iproute2: bridge: fix 'bridge link' setlink/getlink parsing
Date: Mon, 3 Jun 2013 19:57:19 -0700 [thread overview]
Message-ID: <20130603195719.34d21480@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <20130529162044.25906.79115.stgit@nitbit.x32>
On Wed, 29 May 2013 09:20:53 -0700
John Fastabend <john.fastabend@gmail.com> wrote:
> Use IFLA_AF_SPEC nested attributes to lookup bridge mode and when
> doing strcmp() check for equality.
>
> These appear to be typos from the original commit,
>
> commit 64108901b737b95247b53dec8c1b8217ca8505b7
> Author: Vlad Yasevich <vyasevic@redhat.com>
> Date: Fri Mar 15 10:01:28 2013 -0700
>
> bridge: Add support for setting bridge port attributes
>
> Also set flags to BRIDGE_FLAGS_SELF instead of using OR operation.
> This allows setting the bridge mode when not being used with a
> master device.
>
> To allow setting both master and self devices simultaneously we
> will need to add a {self|master} field similar to fdb commands.
> For now the command sets are mutually exclusive as noted in the
> original commit.
>
> With this patch 'bridge link set' works now,
>
> # ./bridge/bridge link set dev veth1 cost 3
> # ./bridge/bridge link show
> 10: veth1 state UP : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master bridge0 state forwarding priority 3 cost 3
>
> CC: Vlad Yasevich <vyasevic@redhat.com>
> Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Looks good, applied
prev parent reply other threads:[~2013-06-04 2:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 16:20 [Bridge] [PATCH] iproute2: bridge: fix 'bridge link' setlink/getlink parsing John Fastabend
2013-06-04 2:57 ` Stephen Hemminger [this message]
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=20130603195719.34d21480@nehalam.linuxnetplumber.net \
--to=stephen@networkplumber.org \
--cc=bridge@lists.linux-foundation.org \
--cc=john.fastabend@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=vyasevic@redhat.com \
/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