]> 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)
commita18942f5f65a024b38b59f8766c1cbc560903bf4
tree942565436b4290774c9cd858a7de23635c33d10a
parent5de0d99d0e144908148a08aa039ccd7cbab8c0d7
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: dcc98abaf815e ('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