Mahesh Bandewar
2ad7bf3638
ipvlan: Initial check-in of the IPVLAN driver.
...
This driver is very similar to the macvlan driver except that it
uses L3 on the frame to determine the logical interface while
functioning as packet dispatcher. It inherits L2 of the master
device hence the packets on wire will have the same L2 for all
the packets originating from all virtual devices off of the same
master device.
This driver was developed keeping the namespace use-case in
mind. Hence most of the examples given here take that as the
base setup where main-device belongs to the default-ns and
virtual devices are assigned to the additional namespaces.
The device operates in two different modes and the difference
in these two modes in primarily in the TX side.
(a) L2 mode : In this mode, the device behaves as a L2 device.
TX processing upto L2 happens on the stack of the virtual device
associated with (namespace). Packets are switched after that
into the main device (default-ns) and queued for xmit.
RX processing is simple and all multicast, broadcast (if
applicable), and unicast belonging to the address(es) are
delivered to the virtual devices.
(b) L3 mode : In this mode, the device behaves like a L3 device.
TX processing upto L3 happens on the stack of the virtual device
associated with (namespace). Packets are switched to the
main-device (default-ns) for the L2 processing. Hence the routing
table of the default-ns will be used in this mode.
RX processins is somewhat similar to the L2 mode except that in
this mode only Unicast packets are delivered to the virtual device
while main-dev will handle all other packets.
The devices can be added using the "ip" command from the iproute2
package -
ip link add link <master> <virtual> type ipvlan mode [ l2 | l3 ]
Signed-off-by: Mahesh Bandewar <[email protected] >
Cc: Eric Dumazet <[email protected] >
Cc: Maciej Żenczykowski <[email protected] >
Cc: Laurent Chavey <[email protected] >
Cc: Tim Hockin <[email protected] >
Cc: Brandon Philips <[email protected] >
Cc: Pavel Emelianov <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2014-11-24 15:29:18 -05:00
..
accessibility
acpi
ACPI / PM: Ignore wakeup setting if the ACPI companion can't wake up
2014-11-20 01:24:16 +01:00
amba
PM / Domains: Move dev_pm_domain_attach|detach() to pm_domain.h
2014-09-30 01:16:44 +02:00
ata
ahci: fix AHCI parameters not taken into account
2014-11-04 12:56:25 -05:00
atm
drivers: atm: eni: Add pci_dma_mapping_error() call
2014-11-21 15:03:40 -05:00
auxdisplay
base
Merge branches 'pm-domains', 'pm-sleep' and 'pm-cpufreq'
2014-11-14 15:17:32 +01:00
bcma
Merge commit ' 4e6ce4dc7c' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
2014-11-19 15:38:48 -05:00
block
zram: avoid kunmap_atomic() of a NULL pointer
2014-11-13 16:17:05 -08:00
bluetooth
Bluetooth: Add support for Broadcom BCM20702A1 variant
2014-11-18 08:32:14 +01:00
bus
ARM: SoC driver updates for 3.18
2014-10-08 17:37:16 -04:00
cdrom
char
virtio: bugfix for 3.18
2014-11-13 18:07:52 -08:00
clk
The clk tree changes for 3.18 are dominated by clock drivers. Mostly
2014-10-15 07:05:03 +02:00
clocksource
ARM/ARM64: arch-timer: fix arch_timer_probed logic
2014-10-26 20:50:00 +01:00
connector
cpufreq
cpufreq: Avoid crash in resume on SMP without OPP
2014-11-08 02:10:04 +01:00
cpuidle
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
2014-10-24 12:48:47 -07:00
crypto
crypto: caam - fix missing dma unmap on error path
2014-11-06 23:10:20 +08:00
dca
devfreq
PM / devfreq: exynos: Enable building exynos PPMU as module
2014-09-29 20:22:36 +09:00
dio
dma
Merge branch 'fixes' of git://git.infradead.org/users/vkoul/slave-dma
2014-11-21 16:24:27 -08:00
dma-buf
dma-buf: don't open-code atomic_long_read()
2014-10-09 02:39:07 -04:00
edac
e7xxx_edac: Report CE events properly
2014-10-22 22:59:00 +02:00
eisa
extcon
firewire
firewire: cdev: prevent kernel stack leaking into ioctl arguments
2014-11-14 12:10:13 +01:00
firmware
Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2014-10-23 14:45:09 -07:00
fmc
gpio
This is the bulk of GPIO changes for the v3.18 development
2014-10-09 14:58:15 -04:00
gpu
Merge branch 'drm-fixes-3.18' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
2014-11-21 12:19:19 +10:00
hid
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
2014-11-13 16:19:14 -08:00
hsi
hv
Drivers: hv: vmbus: Enable interrupt driven flow control
2014-09-23 23:31:22 -07:00
hwmon
hwmon: (fam15h_power) Fix NB device ID for F16h M30h
2014-11-11 10:39:45 -08:00
hwspinlock
i2c
i2c: core: Dispose OF IRQ mapping at client removal time
2014-11-07 19:03:18 +01:00
ide
Merge branch 'for-3.18/drivers' of git://git.kernel.dk/linux-block
2014-10-18 12:12:45 -07:00
idle
iio
iio: as3935: allocate correct iio_device size
2014-11-05 18:33:46 +00:00
infiniband
RDMA/cxgb4/cxgb4vf/csiostor: Cleanup macros/register defines related to PCIE, RSS and FW
2014-11-22 16:57:47 -05:00
input
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2014-11-14 14:31:54 -08:00
iommu
IOMMU Updates for Linux v3.18
2014-10-15 07:23:49 +02:00
ipack
ipoctal: clear break interrupt as soon as it occurs
2014-09-23 23:26:42 -07:00
irqchip
irqchip: armada-370-xp: Fix MPIC interrupt handling
2014-11-02 01:31:10 +00:00
isdn
mISDN: Deletion of unnecessary checks before the function call "vfree"
2014-11-21 12:17:53 -05:00
leds
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds
2014-10-21 08:18:38 -07:00
lguest
macintosh
powerpc: Move via-cuda symbol exports next to function definitions
2014-09-25 23:14:37 +10:00
mailbox
Merge branch 'mailbox-for-linus' of git://git.linaro.org/landing-teams/working/fujitsu/integration
2014-10-21 11:21:19 -07:00
mcb
md
One fix for md for 3.18.
2014-11-16 15:34:31 -08:00
media
[media] sp2: sp2_init() can be static
2014-11-03 19:08:06 -02:00
memory
memstick
memstick: r592: fix build warnings for !PM_SLEEP
2014-10-14 02:18:22 +02:00
message
SCSI for-linus on 20141007
2014-10-07 21:29:18 -04:00
mfd
mfd: twl4030-power: Fix poweroff with PM configuration enabled
2014-11-10 15:22:04 +00:00
misc
cxl: Fix PSL error due to duplicate segment table entries
2014-10-28 19:52:52 +11:00
mmc
mmc: core: fix card detection regression
2014-11-05 09:28:48 +01:00
mtd
Three main MTD fixes for 3.18:
2014-11-02 14:45:52 -08:00
net
ipvlan: Initial check-in of the IPVLAN driver.
2014-11-24 15:29:18 -05:00
nfc
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
2014-10-07 14:48:29 -04:00
ntb
ntb: Adding split BAR support for Haswell platforms
2014-10-17 07:08:51 -04:00
nubus
of
of/selftest: Fix testing when /aliases is missing
2014-11-20 15:32:49 +00:00
oprofile
parisc
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2014-10-13 16:23:15 +02:00
parport
parport: parport_pc: Implement architecture and device check to cut off false-positives
2014-09-23 23:14:28 -07:00
pci
PCI updates for v3.18:
2014-11-21 16:36:42 -08:00
pcmcia
phy
phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly
2014-11-05 14:34:06 -08:00
pinctrl
pinctrl: baytrail: show output gpio state correctly on Intel Baytrail
2014-10-28 11:16:26 +01:00
platform
platform: hp_accel: Add SERIO_I8042 as a dependency since it now includes i8042.h/serio.h
2014-11-10 21:16:15 -08:00
pnp
PNP: replace strnicmp with strncasecmp
2014-10-14 02:18:25 +02:00
power
power supply and reset changes for the v3.18-rc
2014-11-15 15:22:51 -08:00
powercap
pps
ps3
ptp
pwm
pwm: Changes for v3.18-rc1
2014-10-21 08:17:43 -07:00
rapidio
ras
regulator
Merge remote-tracking branches 'regulator/fix/max1586', 'regulator/fix/max77686', 'regulator/fix/max77693', 'regulator/fix/max77802', 'regulator/fix/max8860' and 'regulator/fix/s2mpa01' into regulator-linus
2014-11-05 14:59:25 +00:00
remoteproc
reset
rpmsg
rtc
drivers/rtc/rtc-bq32k.c: fix register value
2014-10-29 16:33:14 -07:00
s390
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2014-11-14 01:01:12 -05:00
sbus
scsi
RDMA/cxgb4/cxgb4vf/csiostor: Cleanup macros/register defines related to PCIE, RSS and FW
2014-11-22 16:57:47 -05:00
sfi
sh
sn
soc
soc: versatile: Add terminating entry for realview_soc_of_match
2014-10-28 22:05:07 +01:00
spi
Merge remote-tracking branches 'spi/fix/fsl-dspi' and 'spi/fix/pxa2xx' into spi-linus
2014-11-06 12:58:46 +00:00
spmi
ssb
This is the bulk of GPIO changes for the v3.18 development
2014-10-09 14:58:15 -04:00
staging
Merge tag 'master-2014-11-20' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next
2014-11-21 16:39:45 -05:00
target
target: return CONFLICT only when SA key unmatched
2014-11-02 22:04:57 -08:00
tc
thermal
imx: thermal: imx_get_temp might be called before sensor clock is prepared
2014-11-09 15:42:53 -04:00
thunderbolt
tty
tty: Fix pty master poll() after slave closes v2
2014-11-06 12:23:36 -08:00
uio
uio: Export definition of struct uio_device
2014-10-02 21:35:54 -07:00
usb
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2014-11-14 01:01:12 -05:00
uwb
uwb: add an ASIE sysfs attribute to uwb_rc devices
2014-09-23 22:05:26 -07:00
vfio
IOMMU Updates for Linux v3.18
2014-10-15 07:23:49 +02:00
vhost
vhost-scsi: Take configfs group dependency during VHOST_SCSI_SET_ENDPOINT
2014-10-28 13:54:16 -07:00
video
Merge branch '3.18/omapdss-fixes' into 3.18/fbdev-fixes
2014-10-30 14:53:49 +02:00
virt
virtio
One cc: stable commit, the rest are a series of minor cleanups which have
2014-10-18 10:25:09 -07:00
vlynq
vme
w1
watchdog
watchdog: meson: remove magic value for reboot
2014-10-20 21:09:17 +02:00
xen
xen/pci: Allocate memory for physdev_pci_device_add's optarr
2014-10-23 16:24:02 +01:00
zorro
Kconfig
soc: ti: add Keystone Navigator QMSS driver
2014-09-24 09:49:14 -04:00
Makefile