summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy-core.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-05-27 01:22:58 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-27 01:22:58 +0300
commit8928e19ad8598ba2e93905a73f39121513ddf4cb (patch)
treead9b6ab061d286f977a84cf728da2676f0895d6f /drivers/net/phy/phy-core.c
parentfb8ddaa915395c97f234340f465a4c424a7be090 (diff)
parent61aec25a6db5d0c2e8ab5da6d2d152269d0d9d69 (diff)
downloadlinux-8928e19ad8598ba2e93905a73f39121513ddf4cb.tar.xz
Merge branch 'flow-mpls'
Guillaume Nault says: ==================== flow_dissector, cls_flower: Add support for multiple MPLS Label Stack Entries Currently, the flow dissector and the Flower classifier can only handle the first entry of an MPLS label stack. This patch series generalises the code to allow parsing and matching the Label Stack Entries that follow. Patch 1 extends the flow dissector to parse MPLS LSEs until the Bottom Of Stack bit is reached. The number of parsed LSEs is capped at FLOW_DIS_MPLS_MAX (arbitrarily set to 7). Flower and the NFP driver are updated to take into account the new layout of struct flow_dissector_key_mpls. Patch 2 extends Flower. It defines new netlink attributes, which are independent from the previous MPLS ones. Mixing the old and the new attributes in a same filter is not allowed. For backward compatibility, the old attributes are used when dumping filters that don't require the new ones. Changes since v2: * Fix compilation with the new MLX5 bareudp tunnel code. Changes since v1: * Fix compilation of NFP driver (kbuild test robot). * Fix sparse warning with entropy label (kbuild test robot). ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy-core.c')
0 files changed, 0 insertions, 0 deletions