]> git.karo-electronics.de Git - linux-beck.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jan 2017 12:42:53 +0000 (13:42 +0100)
commitb22c86ff8e78a74f4b1a531f671beb97278b138d
treeb5e9fbdf7ab39b12fc4d532b7c80fc0c80c91d63
parentefbbc75c00fc15598cd863dfe117dfa976e8b971
net/mlx5: Mask destination mac value in ethtool steering rules

[ Upstream commit 077b1e8069b9b74477b01d28f6b83774dc19a142 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c