]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1c2c45c8124c786f9c26919c00231cc4e9facf3
tree05ec7bdd7efc005cd9e3905e0d6f6469bf08668b
parentc33cbada3200dd8226696a0b3e6770f157d62bd1
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