Patch "net/mlx5: Mask destination mac value in ethtool steering rules" has been added to the 4.9-stable tree
This is a note to let you know that I've just added the patch titled
net/mlx5: Mask destination mac value in ethtool steering rules
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
net-mlx5-mask-destination-mac-value-in-ethtool-steering-rules.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu Jan 12 21:37:26 CET 2017
From: Maor Gottlieb <[email protected]>
Date: Wed, 28 Dec 2016 14:58:35 +0200
Subject: net/mlx5: Mask destination mac value in ethtool steering rules
From: Maor Gottlieb <[email protected]>
[ Upstream commit 077b1e8069b9b74477b01d28f6b83774dc19a142 ]
We need to mask the destination mac value with the destination mac mask when adding steering rule via ethtool.
--- drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c +1 -0
@@ -247,6 +247,7 @@ static int set_flow_attrs(u32 *match_c, }if (fs->flow_type &FLOW_MAC_EXT && !is_zero_ether_addr (fs->m_ext.h_dest)) { +mask_spec (fs->m_ext.h_dest, fs->h_ext.h_dest,ETH_ALEN );ether_addr_copy (MLX5_ADDR_OF (fte_match_set_lyr_2_4, outer_headers_c, dmac_47_16), fs->m_ext.h_dest);
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/net-mlx5-mask-destination-mac-value-in-ethtool-steering-rules.patch