On Tue, 26 May 2020 18:49:21 -0700 Saeed Mahameed wrote: > From: Eli Britstein <el...@mellanox.com> > > Set ethertype match in a helper function as a pre-step towards > optimizing it. > > Signed-off-by: Eli Britstein <el...@mellanox.com> > Reviewed-by: Roi Dayan <r...@mellanox.com> > Signed-off-by: Saeed Mahameed <sae...@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c:517:36: warning: incorrect type in initializer (different base types) drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c:517:36: expected restricted __be16 [usertype] n_proto drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c:517:36: got int