On 11/30/12 at 05:58pm, Cong Wang wrote:
@@ -168,6 +172,8 @@ static const struct nla_policy
ifla_brport_policy[IFLA_BRPORT_MAX + 1] = {
[IFLA_BRPORT_MODE] = { .type = NLA_U8 },
[IFLA_BRPORT_GUARD] = { .type = NLA_U8 },
[IFLA_BRPORT_PROTECT] = { .type = NLA_U8 },
port_no will be used to get ifindex of a port in user-space,
export it togather with port_id.
Cc: Herbert Xu herb...@gondor.apana.org.au
Cc: Stephen Hemminger shemmin...@vyatta.com
Cc: David S. Miller da...@davemloft.net
Cc: Thomas Graf tg...@suug.ch
Cc: Jesper Dangaard Brouer bro...@redhat.com
On Fri, 2012-11-30 at 10:18 +, Thomas Graf wrote:
On 11/30/12 at 05:58pm, Cong Wang wrote:
@@ -168,6 +172,8 @@ static const struct nla_policy
ifla_brport_policy[IFLA_BRPORT_MAX + 1] = {
[IFLA_BRPORT_MODE] = { .type = NLA_U8 },
[IFLA_BRPORT_GUARD] = { .type = NLA_U8
On Fri, 30 Nov 2012 17:58:32 +0800
Cong Wang amw...@redhat.com wrote:
port_no will be used to get ifindex of a port in user-space,
export it togather with port_id.
Cc: Herbert Xu herb...@gondor.apana.org.au
Cc: Stephen Hemminger shemmin...@vyatta.com
Cc: David S. Miller da...@davemloft.net