]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Helper function to set ethertype
authorEli Britstein <elibr@mellanox.com>
Mon, 11 May 2020 19:20:29 +0000 (19:20 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 May 2020 01:13:50 +0000 (18:13 -0700)
commit6a1d6e326f65343cd18c530229074c7f5a8979c5
tree88a1e0a6aa19df437656ed97570160512ed9a976
parent48b7682869c798fca4d5dab64e95b5c5b767146a
net/mlx5e: Helper function to set ethertype

Set ethertype match in a helper function as a pre-step towards
optimizing it.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.h