commit | 86ae579cefffe18cb08928505d90fbc87367e8f5 | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@mellanox.com> | Wed May 27 08:35:03 2020 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri May 29 21:20:20 2020 -0700 |
tree | c92e197ebad6d3f196f0aa22ea4a96173d8820c4 | |
parent | e1167e16114f78f948078749aa1608a785f65807 [diff] |
net: Make mpls_entry_encode() available for generic users Move mpls_entry_encode() from net/mpls/internal.h to include/net/mpls.h and make it available for other users. Specifically, hardware driver that offload MPLS can benefit from that. Suggested-by: Jakub Kicinski <kuba@kernel.org> Suggested-by: David Ahern <dsahern@gmail.com> Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>