Florian Fainelli 9c0c7014f3 net: dsa: Setup dsa_netdev_ops
Now that we have all the infrastructure in place for calling into the
dsa_ptr->netdev_ops function pointers, install them when we configure
the DSA CPU/management interface and tear them down. The flow is
unchanged from before, but now we preserve equality of tests when
network device drivers do tests like dev->netdev_ops == &foo_ops which
was not the case before since we were allocating an entirely new
structure.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-20 16:48:22 -07:00
..
2020-07-13 17:20:39 -07:00
2020-06-23 20:27:09 -07:00
2020-07-20 16:48:22 -07:00
2020-07-19 19:20:22 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-07-19 18:16:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-01 15:49:11 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-06-27 14:00:22 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00