commit | 4cfab3566710826e62adbf100875d2dca32434b6 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Sun Jul 19 20:49:52 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 20 16:48:22 2020 -0700 |
tree | 743a7e8ff1b2dfd6b631f135db2330df687c53f8 | |
parent | aad74d849dd56a04ccb289f7c61909a68337ce5e [diff] |
net: dsa: Add wrappers for overloaded ndo_ops Add definitions for the dsa_netdevice_ops structure which is a subset of the net_device_ops structure for the specific operations that we care about overlaying on top of the DSA CPU port net_device and provide inline stubs that take core managing whether DSA code is reachable. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>