summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorEli Britstein2019-06-02 08:19:03 +0200
committerSaeed Mahameed2019-07-11 20:45:03 +0200
commit914adbb1bcf89478ac138318d28b302704564d59 (patch)
tree7dfb1d9120e684a7329cff88c82e78e21e18bc40 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentnet/mlx5: E-Switch, Fix default encap mode (diff)
downloadkernel-qcow2-linux-914adbb1bcf89478ac138318d28b302704564d59.tar.gz
kernel-qcow2-linux-914adbb1bcf89478ac138318d28b302704564d59.tar.xz
kernel-qcow2-linux-914adbb1bcf89478ac138318d28b302704564d59.zip
net/mlx5e: Fix port tunnel GRE entropy control
GRE entropy calculation is a single bit per card, and not per port. Force disable GRE entropy calculation upon the first GRE encap rule, and release the force at the last GRE encap rule removal. This is done per port. Fixes: 97417f6182f8 ("net/mlx5e: Fix GRE key by controlling port tunnel entropy calculation") Signed-off-by: Eli Britstein <elibr@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions