commit | a8e4f0c4ced7cd41c61ebe5b8fef37f8a5fda8b5 | [log] [tgz] |
---|---|---|
author | Or Gerlitz <ogerlitz@mellanox.com> | Tue Jun 13 11:30:01 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Jun 22 14:30:13 2017 +0300 |
tree | 65110486ae4125ca3fec698060150e0bac3e3d4e | |
parent | a8ade55ffd1c1acef053a2d05f30e91a1c114f58 [diff] |
net/mlx5e: Use macro for TC header re-write offload field mapping Use a macro for the static mapping between the enumeration of field supported by the firmware for header re-write to the corresponding network header field. This improves the readability of the code and doesn't change any functionality. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Reviewed-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>