]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Add helper for converting devlink port to ds and port
authorAndrew Lunn <andrew@lunn.ch>
Sun, 4 Oct 2020 16:12:56 +0000 (18:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Oct 2020 21:38:53 +0000 (14:38 -0700)
commitc7765db665cbef1c29a307dddca2bc046ce2ff5b
tree6ac4295287475a82c0562a5ee7a0b708ed1852ad
parent2bea0956940cf042cc2807c5e7b33a65e1f805f6
net: dsa: Add helper for converting devlink port to ds and port

Hide away from DSA drivers how devlink works.

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