Skip to contentSkip to conversation

linux-next: manual merge of the net-next tree with the net tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Jan 14, 2018 – Jan 15, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the net-next tree got a conflict in:

include/linux/mlx5/mlx5_ifc.h

between commit:

8978cc921fc7 ("{net,ib}/mlx5: Don't disable local loopback multicast traffic when needed")

from the net tree and commit:

40817cdbb695 ("net/mlx5: Add hairpin definitions to the FW API")

from the net-next tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 21 lines
Cheers,
Stephen Rothwell

diff --cc include/linux/mlx5/mlx5_ifc.h
index 1391a82da98e,78e36fc2609e..000000000000
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@@ -1027,9 -1035,10 +1035,10 @@@ struct mlx5_ifc_cmd_hca_cap_bits 
  	u8         log_max_wq_sz[0x5];
  
  	u8         nic_vport_change_event[0x1];
 -	u8         disable_local_lb[0x1];
 -	u8         reserved_at_3e2[0x1];
 +	u8         disable_local_lb_uc[0x1];
 +	u8         disable_local_lb_mc[0x1];
- 	u8         reserved_at_3e3[0x8];
+ 	u8         log_min_hairpin_wq_data_sz[0x5];
+ 	u8         reserved_at_3e8[0x3];
  	u8         log_max_vlan_list[0x5];
  	u8         reserved_at_3f0[0x3];
  	u8         log_max_current_mc_list[0x5];
#1 lore raw
Quoted 14 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the net-next tree got a conflict in:

include/linux/mlx5/mlx5_ifc.h

between commit:

8978cc921fc7 ("{net,ib}/mlx5: Don't disable local loopback multicast traffic when needed")

from the net tree and commit:

40817cdbb695 ("net/mlx5: Add hairpin definitions to the FW API")

Quoted 8 lines

from the net-next tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

sure, https://patchwork.ozlabs.org/patch/859425/

Quoted 10 lines

--
Cheers,
Stephen Rothwell

include/linux/mlx5/mlx5_ifc.h +0 -0
diff --cc include/linux/mlx5/mlx5_ifc.h
index 1391a82da98e,78e36fc2609e..000000000000

include/linux/mlx5/mlx5_ifc.h

Quoted 10 lines
include/linux/mlx5/mlx5_ifc.h +2 -1
@@@ -1027,9 -1035,10 +1035,10 @@@ struct mlx5_ifc_cmd_hca_cap_bits
        u8         log_max_wq_sz[0x5];
 
        u8         nic_vport_change_event[0x1];
 -      u8         disable_local_lb[0x1];
 -      u8         reserved_at_3e2[0x1];
 +      u8         disable_local_lb_uc[0x1];
 +      u8         disable_local_lb_mc[0x1];
-       u8         reserved_at_3e3[0x8];
+       u8         log_min_hairpin_wq_data_sz[0x5];
+       u8         reserved_at_3e8[0x3];

Conflict fix looks good as proposed.

thanks for the fix,
Eran.

Quoted 3 lines
        u8         log_max_vlan_list[0x5];
        u8         reserved_at_3f0[0x3];
        u8         log_max_current_mc_list[0x5];