OSDN Git Service

Merge branch 'dsa-b53-Support-prepended-Broadcom-tags'
authorDavid S. Miller <davem@davemloft.net>
Mon, 13 Nov 2017 01:34:55 +0000 (10:34 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Nov 2017 01:34:55 +0000 (10:34 +0900)
Florian Fainelli says:

====================
net: dsa: b53: Support prepended Broadcom tags

This patch series adds support for prepended 4-bytes Broadcom tags that we
already support. This type of tag will typically be used when interfaced to
a SoC like BCM58xx (NorthStar Plus) which supports a Flow Accelerator (WIP).
In that case, we need to support a slightly different tagging format.

The first patch does a bit of re-factoring and passes a port index to
the get_tag_protocol() function since at least two different drivers need
that type of information (mt7530, b53) to support tagging or not.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge