nfp: add mpls match offloading support
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Fri, 6 Oct 2017 08:21:20 +0000 (10:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 16:56:35 +0000 (09:56 -0700)
commitbb055c198d9b2ba7baf292a440c2d24fe87db494
treeb848f4d7d9aab5b50f8524376f4dbd101d0def51
parent4e64b1ed15e25b8dcc2819c6d43dab72eb0bea26
nfp: add mpls match offloading support

Previously MPLS match offloading was not supported. This patch enables
MPLS match offloading support for label, bos and tc fields.

Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/cmsg.h
drivers/net/ethernet/netronome/nfp/flower/match.c
drivers/net/ethernet/netronome/nfp/flower/offload.c