]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'rocker-next'
authorDavid S. Miller <davem@davemloft.net>
Wed, 3 Dec 2014 04:01:31 +0000 (20:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Dec 2014 04:01:31 +0000 (20:01 -0800)
commit07e9fd56813c571759ecfa5f91b406d2791458c7
treec7c7e47bcf3fc9aa499308308840abe6f4f3327b
parente35cfce9dfe1199367d3f608ab0e72cd942f110a
parentc8c3d642e7db694b8b9225e2202aaf91be234999
Merge branch 'rocker-next'

Jiri Pirko says:

====================
introduce rocker switch driver with hardware accelerated datapath api - phase 1: bridge fdb offload

This patchset is just the first phase of switch and switch-ish device
support api in kernel. Note that the api will extend.

So what this patchset includes:
- introduce switchdev api skeleton for implementing switch drivers
- introduce rocker switch driver which implements switchdev api fdb and
  bridge set/get link ndos

As to the discussion if there is need to have specific class of device
representing the switch itself, so far we found no need to introduce that.
But we are generally ok with the idea and when the time comes and it will
be needed, it can be easily introduced without any disturbance.

This patchset introduces switch id export through rtnetlink and sysfs,
which is similar to what we have for port id in SR-IOV. I will send iproute2
patchset for showing the switch id for port netdevs once this is applied.
This applies also for the PF_BRIDGE and fdb iproute2 patches.

iproute2 patches are now available here:
https://github.com/jpirko/iproute2-rocker

For detailed description and version history, please see individual patches.

In v4 I reordered the patches leaving rocker patches on the end of the patchset.

In v5 I only fixed whitespace issues of patch #13

We have a TODO for related items we want to work on in near future:
https://etherpad.wikimedia.org/p/netdev-swdev-todo
====================

Signed-off-by: David S. Miller <davem@davemloft.net>