···22942294 unsigned long flags;22952295 int ret;2296229622972297- /*22982298- * If failover is pending don't schedule any other reset.22972297+ spin_lock_irqsave(&adapter->rwi_lock, flags);22982298+22992299+ /* If failover is pending don't schedule any other reset.22992300 * Instead let the failover complete. If there is already a23002301 * a failover reset scheduled, we will detect and drop the23012302 * duplicate reset when walking the ->rwi_list below.
+6-4
drivers/net/ethernet/ibm/ibmvnic.h
···1081108110821082 struct tasklet_struct tasklet;10831083 enum vnic_state state;10841084- /* Used for serializatin of state field */10841084+ /* Used for serialization of state field. When taking both state10851085+ * and rwi locks, take state lock first.10861086+ */10851087 spinlock_t state_lock;10861088 enum ibmvnic_reset_reason reset_reason;10871087- /* when taking both state and rwi locks, take state lock first */10881088- spinlock_t rwi_lock;10891089 struct list_head rwi_list;10901090- /* Used for serialization of rwi_list */10901090+ /* Used for serialization of rwi_list. When taking both state10911091+ * and rwi locks, take state lock first10921092+ */10911093 spinlock_t rwi_lock;10921094 struct work_struct ibmvnic_reset;10931095 struct delayed_work ibmvnic_delayed_reset;
-5
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
···21232123 u32 buf_size = 0;21242124 int i;2125212521262126-<<<<<<< HEAD21272127- if (MLX5_IPSEC_DEV(mdev))21282128-=======21292129-#ifdef CONFIG_MLX5_EN_IPSEC21302126 if (mlx5_fpga_is_ipsec_device(mdev))21312131->>>>>>> 3af409ca278d4a8d50e91f9f7c4c33b175645cf321322127 byte_count += MLX5E_METADATA_ETHER_LEN;2133212821342129 if (mlx5e_rx_is_linear_skb(params, xsk)) {
-25
drivers/net/ethernet/realtek/r8169_main.c
···22302230 phy_speed_down(tp->phydev, false);22312231 rtl_wol_enable_rx(tp);22322232 }22332233-22342234- switch (tp->mac_version) {22352235- case RTL_GIGA_MAC_VER_25 ... RTL_GIGA_MAC_VER_26:22362236- case RTL_GIGA_MAC_VER_29 ... RTL_GIGA_MAC_VER_30:22372237- case RTL_GIGA_MAC_VER_32 ... RTL_GIGA_MAC_VER_33:22382238- case RTL_GIGA_MAC_VER_37:22392239- case RTL_GIGA_MAC_VER_39:22402240- case RTL_GIGA_MAC_VER_43:22412241- case RTL_GIGA_MAC_VER_44:22422242- case RTL_GIGA_MAC_VER_45:22432243- case RTL_GIGA_MAC_VER_46:22442244- case RTL_GIGA_MAC_VER_47:22452245- case RTL_GIGA_MAC_VER_48:22462246- case RTL_GIGA_MAC_VER_50 ... RTL_GIGA_MAC_VER_63:22472247- RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) & ~0x80);22482248- break;22492249- case RTL_GIGA_MAC_VER_40:22502250- case RTL_GIGA_MAC_VER_41:22512251- case RTL_GIGA_MAC_VER_49:22522252- rtl_eri_clear_bits(tp, 0x1a8, 0xfc000000);22532253- RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) & ~0x80);22542254- break;22552255- default:22562256- break;22572257- }22582233}2259223422602235static void rtl_init_rxcfg(struct rtl8169_private *tp)