OSDN Git Service

Merge branch 'nfp-flower-add-Geneve-tunnel-support'
authorDavid S. Miller <davem@davemloft.net>
Tue, 19 Dec 2017 19:52:13 +0000 (14:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Dec 2017 19:52:13 +0000 (14:52 -0500)
commitf39a5c01c3d24f2f61ec9d8c7d7e81f9aca506ce
tree9d1482da2ddc255b7e280e7c9d22a0e350ad13cb
parentf988008a8654e0a2b748ba49ee9fa18069161f76
parent3ca3059dc3a970f2a731632ee5851536dac6149c
Merge branch 'nfp-flower-add-Geneve-tunnel-support'

Simon Horman says:

====================
nfp: flower: add Geneve tunnel support

John Hurley says:

This patchset adds support for offloading the encap and decap of Geneve
tunnels to the NFP. In both cases, specifying well known port 6081 is a
requirement for rule offload.

Geneve firmware support has been recently added, so the patchset includes
the reading of a fw symbol that defines a bitmap of newly supported
features. Geneve will only be offloaded if the fw supports it. The new
symbol is added in fw r5646.

Geneve option fields are not supported as either a match or an action due
there current exclussion from TC flower. Because Geneve (as both a match
and action) behaves the same as other udp tunnels such as VXLAN, generic
functions are created that handle both Geneve and VXLAN. It is anticapated
that these functions will be modified to support options in future
patches.

The removal of an unused variable 'tun_dst_mask' is included as a separate
patch here. This does not affect functionality.

Also included are modifications to the test framework to check that the
new encap and decap features are functioning correctly.
====================

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