summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSridhar Samudrala <sri@us.ibm.com>2010-10-28 13:10:50 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-11-22 16:24:29 (GMT)
commiteb06acdc85585f28864261f28659157848762ee4 (patch)
tree8db786f687bfb8b969d00bb2695454938ea41f1d /security
parente5700c740da2cb9f5a3aa978cd1fa3a79916ba04 (diff)
downloadlinux-fsl-qoriq-eb06acdc85585f28864261f28659157848762ee4.tar.xz
macvlan: Introduce 'passthru' mode to takeover the underlying device
With the current default 'vepa' mode, a KVM guest using virtio with macvtap backend has the following limitations. - cannot change/add a mac address on the guest virtio-net - cannot create a vlan device on the guest virtio-net - cannot enable promiscuous mode on guest virtio-net To address these limitations, this patch introduces a new mode called 'passthru' when creating a macvlan device which allows takeover of the underlying device and passing it to a guest using virtio with macvtap backend. Only one macvlan device is allowed in passthru mode and it inherits the mac address from the underlying device and sets it in promiscuous mode to receive and forward all the packets. Signed-off-by: Sridhar Samudrala <sri@us.ibm.com> ------------------------------------------------------------------------- Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions