]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Add devlink port regions support to DSA
authorAndrew Lunn <andrew@lunn.ch>
Sun, 4 Oct 2020 16:12:55 +0000 (18:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Oct 2020 21:38:53 +0000 (14:38 -0700)
commit2bea0956940cf042cc2807c5e7b33a65e1f805f6
tree5124a70c401b715a16653c3481d7daae852a3301
parent74544d330766f1b1eb0b22c854b76a520731623b
net: dsa: Add devlink port regions support to DSA

Allow DSA drivers to make use of devlink port regions, via simple
wrappers.

Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Tested-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa.c