]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Mask destination mac value in ethtool steering rules
authorMaor Gottlieb <maorg@mellanox.com>
Wed, 28 Dec 2016 12:58:35 +0000 (14:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Dec 2016 19:36:51 +0000 (14:36 -0500)
commit6fa925eb993061c31e524719204fec7a6c442233
tree942565436b4290774c9cd858a7de23635c33d10a
parent9ac377e64b996d7e4491079d72e3f39dc1df6ee3
net/mlx5: Mask destination mac value in ethtool steering rules

We need to mask the destination mac value with the destination mac
mask when adding steering rule via ethtool.

Fixes: 4aac3a5cc48f0 ('net/mlx5e: Support l3/l4 flow type specs in ethtool flow steering')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c