Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: re-solve some conflicts after net -> net-next merge

Signed-off-by: Jakub Kicinski <kuba@kernel.org>

+11 -37
+3 -2
drivers/net/ethernet/ibm/ibmvnic.c
··· 2294 2294 unsigned long flags; 2295 2295 int ret; 2296 2296 2297 - /* 2298 - * If failover is pending don't schedule any other reset. 2297 + spin_lock_irqsave(&adapter->rwi_lock, flags); 2298 + 2299 + /* If failover is pending don't schedule any other reset. 2299 2300 * Instead let the failover complete. If there is already a 2300 2301 * a failover reset scheduled, we will detect and drop the 2301 2302 * duplicate reset when walking the ->rwi_list below.
+6 -4
drivers/net/ethernet/ibm/ibmvnic.h
··· 1081 1081 1082 1082 struct tasklet_struct tasklet; 1083 1083 enum vnic_state state; 1084 - /* Used for serializatin of state field */ 1084 + /* Used for serialization of state field. When taking both state 1085 + * and rwi locks, take state lock first. 1086 + */ 1085 1087 spinlock_t state_lock; 1086 1088 enum ibmvnic_reset_reason reset_reason; 1087 - /* when taking both state and rwi locks, take state lock first */ 1088 - spinlock_t rwi_lock; 1089 1089 struct list_head rwi_list; 1090 - /* Used for serialization of rwi_list */ 1090 + /* Used for serialization of rwi_list. When taking both state 1091 + * and rwi locks, take state lock first 1092 + */ 1091 1093 spinlock_t rwi_lock; 1092 1094 struct work_struct ibmvnic_reset; 1093 1095 struct delayed_work ibmvnic_delayed_reset;
-5
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
··· 2123 2123 u32 buf_size = 0; 2124 2124 int i; 2125 2125 2126 - <<<<<<< HEAD 2127 - if (MLX5_IPSEC_DEV(mdev)) 2128 - ======= 2129 - #ifdef CONFIG_MLX5_EN_IPSEC 2130 2126 if (mlx5_fpga_is_ipsec_device(mdev)) 2131 - >>>>>>> 3af409ca278d4a8d50e91f9f7c4c33b175645cf3 2132 2127 byte_count += MLX5E_METADATA_ETHER_LEN; 2133 2128 2134 2129 if (mlx5e_rx_is_linear_skb(params, xsk)) {
-25
drivers/net/ethernet/realtek/r8169_main.c
··· 2230 2230 phy_speed_down(tp->phydev, false); 2231 2231 rtl_wol_enable_rx(tp); 2232 2232 } 2233 - 2234 - switch (tp->mac_version) { 2235 - case RTL_GIGA_MAC_VER_25 ... RTL_GIGA_MAC_VER_26: 2236 - case RTL_GIGA_MAC_VER_29 ... RTL_GIGA_MAC_VER_30: 2237 - case RTL_GIGA_MAC_VER_32 ... RTL_GIGA_MAC_VER_33: 2238 - case RTL_GIGA_MAC_VER_37: 2239 - case RTL_GIGA_MAC_VER_39: 2240 - case RTL_GIGA_MAC_VER_43: 2241 - case RTL_GIGA_MAC_VER_44: 2242 - case RTL_GIGA_MAC_VER_45: 2243 - case RTL_GIGA_MAC_VER_46: 2244 - case RTL_GIGA_MAC_VER_47: 2245 - case RTL_GIGA_MAC_VER_48: 2246 - case RTL_GIGA_MAC_VER_50 ... RTL_GIGA_MAC_VER_63: 2247 - RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) & ~0x80); 2248 - break; 2249 - case RTL_GIGA_MAC_VER_40: 2250 - case RTL_GIGA_MAC_VER_41: 2251 - case RTL_GIGA_MAC_VER_49: 2252 - rtl_eri_clear_bits(tp, 0x1a8, 0xfc000000); 2253 - RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) & ~0x80); 2254 - break; 2255 - default: 2256 - break; 2257 - } 2258 2233 } 2259 2234 2260 2235 static void rtl_init_rxcfg(struct rtl8169_private *tp)
+2 -1
tools/testing/selftests/net/forwarding/tc_flower.sh
··· 3 3 4 4 ALL_TESTS="match_dst_mac_test match_src_mac_test match_dst_ip_test \ 5 5 match_src_ip_test match_ip_flags_test match_pcp_test match_vlan_test \ 6 - match_ip_tos_test match_indev_testmatch_ip_ttl_test match_mpls_label_test \ 6 + match_ip_tos_test match_indev_test match_ip_ttl_test 7 + match_mpls_label_test \ 7 8 match_mpls_tc_test match_mpls_bos_test match_mpls_ttl_test \ 8 9 match_mpls_lse_test" 9 10 NUM_NETIFS=2