OSDN Git Service

net/mlx5e: Refactor VXLAN tunnel decap offloading code
authorOz Shlomo <ozsh@mellanox.com>
Wed, 14 Nov 2018 13:41:50 +0000 (15:41 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 23:53:04 +0000 (15:53 -0800)
commit4d70564d1c9e812b83f30c8dc23cd506abfcfc08
treeaf549d41d4edba4bb1188347096d96756984e6c4
parentea7162ac3a33a44a7bb0b5793057015d25617e68
net/mlx5e: Refactor VXLAN tunnel decap offloading code

Separates the vxlan header match handling from the matching on the
general fields of ipv4/6 tunnels, thus allowing the common IP tunnel
match code to branch in down stream patch, to multiple IP tunnels.

This patch doesn't add any functionality.

Signed-off-by: Oz Shlomo <ozsh@mellanox.com>
Reviewed-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c