]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: tag_qca: add support for handling mgmt and MIB Ethernet packet
authorAnsuel Smith <ansuelsmth@gmail.com>
Wed, 2 Feb 2022 00:03:27 +0000 (01:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Feb 2022 14:43:59 +0000 (14:43 +0000)
commit31eb6b4386ad91930417e3f5c8157a4b5e31cbd5
tree4b3b525324ffd3f54f51223f57c57662a470d32e
parent18be654a4345f7d937b4bfbad74bea8093e3a93c
net: dsa: tag_qca: add support for handling mgmt and MIB Ethernet packet

Add connect/disconnect helper to assign private struct to the DSA switch.
Add support for Ethernet mgmt and MIB if the DSA driver provide an handler
to correctly parse and elaborate the data.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dsa/tag_qca.h
net/dsa/tag_qca.c