net: dsa: move tagging protocol code to tag.{c,h}
It would be nice if tagging protocol drivers could include just the header they need, since they are (mostly) data path and isolated from most of the other DSA core code does. Create a tag.c and a tag.h file which are meant to support tagging protocol drivers. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
09f9234168
commit
bd954b8260
@ -26,6 +26,7 @@
|
||||
#include "port.h"
|
||||
#include "master.h"
|
||||
#include "slave.h"
|
||||
#include "tag.h"
|
||||
|
||||
static void dsa_slave_standalone_event_work(struct work_struct *work)
|
||||
{
|
||||
|
Reference in New Issue
Block a user