rtnetlink: make SR-IOV VF interface symmetric
authorChris Wright <chrisw@sous-sol.org>
Sun, 16 May 2010 08:05:45 +0000 (01:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 May 2010 08:05:45 +0000 (01:05 -0700)
commitc02db8c6290bb992442fec1407643c94cc414375
tree05ec7bdd7efc005cd9e3905e0d6f6469bf08668b
parent55fa0cfd7c3ac2ae34cac7dca2e3fbcfe661e6c3
rtnetlink: make SR-IOV VF interface symmetric

Now we have a set of nested attributes:

  IFLA_VFINFO_LIST (NESTED)
    IFLA_VF_INFO (NESTED)
      IFLA_VF_MAC
      IFLA_VF_VLAN
      IFLA_VF_TX_RATE

This allows a single set to operate on multiple attributes if desired.
Among other things, it means a dump can be replayed to set state.

The current interface has yet to be released, so this seems like
something to consider for 2.6.34.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_link.h
net/core/rtnetlink.c