]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit077b1e8069b9b74477b01d28f6b83774dc19a142
tree942565436b4290774c9cd858a7de23635c33d10a
parentd151d73dcc99de87c63bdefebcc4cb69de1cdc40
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: 1174fce8d1410 ('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