Patch "IB/mlx5: Set source mac address in FTE" has been added to the 4.7-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
IB/mlx5: Set source mac address in FTE
to the 4.7-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:
ib-mlx5-set-source-mac-address-in-fte.patch
and it can be found in the queue-4.7 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
ee3da804ad1b1dd4c766199a6e8443542b0aaaefMon Sep 17 00:00:00 2001
From: Maor Gottlieb <[email protected]>
Date: Mon, 12 Sep 2016 19:16:24 +0300
Subject: IB/mlx5: Set source mac address in FTE
From: Maor Gottlieb <[email protected]>
commit ee3da804ad1b1dd4c766199a6e8443542b0aaaef upstream.
Set the source mac address in the FTE when L2 specification is provided.
--- drivers/infiniband/hw/mlx5/main.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/infiniband/hw/mlx5/main.c +7 -0
@@ -1277,6 +1277,13 @@ static int parse_flow_attr(u32 *match_c, dmac_47_16), ib_spec->eth.val.dst_mac); +ether_addr_copy (MLX5_ADDR_OF (fte_match_set_lyr_2_4, outer_headers_c, + smac_47_16), + ib_spec->eth.mask.src_mac); +ether_addr_copy (MLX5_ADDR_OF (fte_match_set_lyr_2_4, outer_headers_v, + smac_47_16), + ib_spec->eth.val.src_mac); +if (ib_spec->eth.mask.vlan_tag) {MLX5_SET (fte_match_set_lyr_2_4, outer_headers_c, vlan_tag,1 );
Patches currently in stable-queue which might be from [email protected] are
queue-4.7/ib-mlx5-set-source-mac-address-in-fte.patch