Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b646acd5
Commit
b646acd5
authored
Feb 16, 2021
by
Jakub Kicinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net: re-solve some conflicts after net -> net-next merge
Signed-off-by:
Jakub Kicinski
<
kuba@kernel.org
>
parent
d489ded1
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
37 deletions
+11
-37
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.c
+3
-2
drivers/net/ethernet/ibm/ibmvnic.h
drivers/net/ethernet/ibm/ibmvnic.h
+6
-4
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
+0
-5
drivers/net/ethernet/realtek/r8169_main.c
drivers/net/ethernet/realtek/r8169_main.c
+0
-25
tools/testing/selftests/net/forwarding/tc_flower.sh
tools/testing/selftests/net/forwarding/tc_flower.sh
+2
-1
No files found.
drivers/net/ethernet/ibm/ibmvnic.c
View file @
b646acd5
...
@@ -2294,8 +2294,9 @@ static int ibmvnic_reset(struct ibmvnic_adapter *adapter,
...
@@ -2294,8 +2294,9 @@ static int ibmvnic_reset(struct ibmvnic_adapter *adapter,
unsigned
long
flags
;
unsigned
long
flags
;
int
ret
;
int
ret
;
/*
spin_lock_irqsave
(
&
adapter
->
rwi_lock
,
flags
);
* If failover is pending don't schedule any other reset.
/* If failover is pending don't schedule any other reset.
* Instead let the failover complete. If there is already a
* Instead let the failover complete. If there is already a
* a failover reset scheduled, we will detect and drop the
* a failover reset scheduled, we will detect and drop the
* duplicate reset when walking the ->rwi_list below.
* duplicate reset when walking the ->rwi_list below.
...
...
drivers/net/ethernet/ibm/ibmvnic.h
View file @
b646acd5
...
@@ -1081,13 +1081,15 @@ struct ibmvnic_adapter {
...
@@ -1081,13 +1081,15 @@ struct ibmvnic_adapter {
struct
tasklet_struct
tasklet
;
struct
tasklet_struct
tasklet
;
enum
vnic_state
state
;
enum
vnic_state
state
;
/* Used for serializatin of state field */
/* Used for serialization of state field. When taking both state
* and rwi locks, take state lock first.
*/
spinlock_t
state_lock
;
spinlock_t
state_lock
;
enum
ibmvnic_reset_reason
reset_reason
;
enum
ibmvnic_reset_reason
reset_reason
;
/* when taking both state and rwi locks, take state lock first */
spinlock_t
rwi_lock
;
struct
list_head
rwi_list
;
struct
list_head
rwi_list
;
/* Used for serialization of rwi_list */
/* Used for serialization of rwi_list. When taking both state
* and rwi locks, take state lock first
*/
spinlock_t
rwi_lock
;
spinlock_t
rwi_lock
;
struct
work_struct
ibmvnic_reset
;
struct
work_struct
ibmvnic_reset
;
struct
delayed_work
ibmvnic_delayed_reset
;
struct
delayed_work
ibmvnic_delayed_reset
;
...
...
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
View file @
b646acd5
...
@@ -2123,12 +2123,7 @@ static void mlx5e_build_rq_frags_info(struct mlx5_core_dev *mdev,
...
@@ -2123,12 +2123,7 @@ static void mlx5e_build_rq_frags_info(struct mlx5_core_dev *mdev,
u32
buf_size
=
0
;
u32
buf_size
=
0
;
int
i
;
int
i
;
<<<<<<<
HEAD
if
(
MLX5_IPSEC_DEV
(
mdev
))
=======
#ifdef CONFIG_MLX5_EN_IPSEC
if
(
mlx5_fpga_is_ipsec_device
(
mdev
))
if
(
mlx5_fpga_is_ipsec_device
(
mdev
))
>>>>>>>
3
af409ca278d4a8d50e91f9f7c4c33b175645cf3
byte_count
+=
MLX5E_METADATA_ETHER_LEN
;
byte_count
+=
MLX5E_METADATA_ETHER_LEN
;
if
(
mlx5e_rx_is_linear_skb
(
params
,
xsk
))
{
if
(
mlx5e_rx_is_linear_skb
(
params
,
xsk
))
{
...
...
drivers/net/ethernet/realtek/r8169_main.c
View file @
b646acd5
...
@@ -2230,31 +2230,6 @@ static void rtl_prepare_power_down(struct rtl8169_private *tp)
...
@@ -2230,31 +2230,6 @@ static void rtl_prepare_power_down(struct rtl8169_private *tp)
phy_speed_down
(
tp
->
phydev
,
false
);
phy_speed_down
(
tp
->
phydev
,
false
);
rtl_wol_enable_rx
(
tp
);
rtl_wol_enable_rx
(
tp
);
}
}
switch
(
tp
->
mac_version
)
{
case
RTL_GIGA_MAC_VER_25
...
RTL_GIGA_MAC_VER_26
:
case
RTL_GIGA_MAC_VER_29
...
RTL_GIGA_MAC_VER_30
:
case
RTL_GIGA_MAC_VER_32
...
RTL_GIGA_MAC_VER_33
:
case
RTL_GIGA_MAC_VER_37
:
case
RTL_GIGA_MAC_VER_39
:
case
RTL_GIGA_MAC_VER_43
:
case
RTL_GIGA_MAC_VER_44
:
case
RTL_GIGA_MAC_VER_45
:
case
RTL_GIGA_MAC_VER_46
:
case
RTL_GIGA_MAC_VER_47
:
case
RTL_GIGA_MAC_VER_48
:
case
RTL_GIGA_MAC_VER_50
...
RTL_GIGA_MAC_VER_63
:
RTL_W8
(
tp
,
PMCH
,
RTL_R8
(
tp
,
PMCH
)
&
~
0x80
);
break
;
case
RTL_GIGA_MAC_VER_40
:
case
RTL_GIGA_MAC_VER_41
:
case
RTL_GIGA_MAC_VER_49
:
rtl_eri_clear_bits
(
tp
,
0x1a8
,
0xfc000000
);
RTL_W8
(
tp
,
PMCH
,
RTL_R8
(
tp
,
PMCH
)
&
~
0x80
);
break
;
default:
break
;
}
}
}
static
void
rtl_init_rxcfg
(
struct
rtl8169_private
*
tp
)
static
void
rtl_init_rxcfg
(
struct
rtl8169_private
*
tp
)
...
...
tools/testing/selftests/net/forwarding/tc_flower.sh
View file @
b646acd5
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
ALL_TESTS
=
"match_dst_mac_test match_src_mac_test match_dst_ip_test
\
ALL_TESTS
=
"match_dst_mac_test match_src_mac_test match_dst_ip_test
\
match_src_ip_test match_ip_flags_test match_pcp_test match_vlan_test
\
match_src_ip_test match_ip_flags_test match_pcp_test match_vlan_test
\
match_ip_tos_test match_indev_testmatch_ip_ttl_test match_mpls_label_test
\
match_ip_tos_test match_indev_test match_ip_ttl_test
match_mpls_label_test
\
match_mpls_tc_test match_mpls_bos_test match_mpls_ttl_test
\
match_mpls_tc_test match_mpls_bos_test match_mpls_ttl_test
\
match_mpls_lse_test"
match_mpls_lse_test"
NUM_NETIFS
=
2
NUM_NETIFS
=
2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment