]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use generic API to build MPLS label
authorEli Cohen <eli@mellanox.com>
Wed, 27 May 2020 05:38:03 +0000 (08:38 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 30 May 2020 04:20:20 +0000 (21:20 -0700)
commitea5b2bb54a79483345abb8ae47497d048afce728
treeee519d5944c9058fa1ffad8211edb63a5a1a867e
parentb6381d8f9b4d3abbdb05654a0cf87829a848edf1
net/mlx5e: Use generic API to build MPLS label

Make use of generic API mpls_entry_encode() to build mpls label and get
rid of local function.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_mplsoudp.c