]> Git Repo - linux.git/commit
net: dsa: Add support for DSA specific notifiers
authorFlorian Fainelli <[email protected]>
Wed, 11 Oct 2017 17:57:48 +0000 (10:57 -0700)
committerDavid S. Miller <[email protected]>
Thu, 12 Oct 2017 19:10:01 +0000 (12:10 -0700)
commit60724d4bae14cd295b27b1610cad9a2720eb0860
treec686c50e92a9d1ffd68c3892732a723a6f127c03
parent3f7832c26cc0cad2245981f777f3ee684399ce93
net: dsa: Add support for DSA specific notifiers

In preparation for communicating a given DSA network device's port
number and switch index, create a specialized DSA notifier and two
events: DSA_PORT_REGISTER and DSA_PORT_UNREGISTER that communicate: the
slave network device (slave_dev), port number and switch number in the
tree.

This will be later used for network device drivers like bcmsysport which
needs to cooperate with its DSA network devices to set-up queue mapping
and scheduling.

Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/dsa.h
net/dsa/dsa.c
net/dsa/slave.c
This page took 0.057238 seconds and 4 git commands to generate.