]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: add setlink, getlink support to ixgbe and ixgbevf
authorJohn Fastabend <john.r.fastabend@intel.com>
Wed, 24 Oct 2012 08:13:09 +0000 (08:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Oct 2012 17:18:29 +0000 (13:18 -0400)
commite2fb07e440f51abdbb14bfd04e88fd4bab3871b8
treec8c4a2a2bc95bc89926c91c67c98b020be1efaa7
parent423715883827684b71a4c3f3ca371b99fbd945ef
ixgbe: add setlink, getlink support to ixgbe and ixgbevf

This adds support for the net device ops to manage the embedded
hardware bridge on ixgbe devices. With this patch the bridge
mode can be toggled between VEB and VEPA to support stacking
macvlan devices or using the embedded switch without any SW
component in 802.1Qbg/br environments.

Additionally, this adds source address pruning to the ixgbevf
driver to prune any frames sent back from a reflective relay on
the switch. This is required because the existing hardware does
not support this. Without it frames get pushed into the stack
with its own src mac which is invalid per 802.1Qbg VEPA
definition.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
include/linux/rtnetlink.h
net/core/rtnetlink.c