Skip to content

Commit 0eea4fb

Browse files
committed
tgupdate: merge t/DO-NOT-MERGE-mptcp-enabled-by-default base into t/DO-NOT-MERGE-mptcp-enabled-by-default
2 parents 445cb12 + cd6a545 commit 0eea4fb

File tree

35 files changed

+971
-231
lines changed

35 files changed

+971
-231
lines changed

drivers/net/bonding/bond_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4214,7 +4214,7 @@ static bool bond_flow_ip(struct sk_buff *skb, struct flow_keys *fk, const void *
42144214
}
42154215

42164216
if (l34 && *ip_proto >= 0)
4217-
fk->ports.ports = __skb_flow_get_ports(skb, *nhoff, *ip_proto, data, hlen);
4217+
fk->ports.ports = skb_flow_get_ports(skb, *nhoff, *ip_proto, data, hlen);
42184218

42194219
return true;
42204220
}

drivers/net/ethernet/mellanox/mlx5/core/en/fs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ enum {
8484
MLX5E_ARFS_FT_LEVEL = MLX5E_INNER_TTC_FT_LEVEL + 1,
8585
#endif
8686
#ifdef CONFIG_MLX5_EN_IPSEC
87-
MLX5E_ACCEL_FS_POL_FT_LEVEL = MLX5E_INNER_TTC_FT_LEVEL + 1,
88-
MLX5E_ACCEL_FS_ESP_FT_LEVEL,
87+
MLX5E_ACCEL_FS_ESP_FT_LEVEL = MLX5E_INNER_TTC_FT_LEVEL + 1,
8988
MLX5E_ACCEL_FS_ESP_FT_ERR_LEVEL,
89+
MLX5E_ACCEL_FS_POL_FT_LEVEL,
9090
MLX5E_ACCEL_FS_ESP_FT_ROCE_LEVEL,
9191
#endif
9292
};

drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ struct mlx5e_ipsec_hw_stats {
128128
u64 ipsec_rx_bytes;
129129
u64 ipsec_rx_drop_pkts;
130130
u64 ipsec_rx_drop_bytes;
131+
u64 ipsec_rx_drop_mismatch_sa_sel;
131132
u64 ipsec_tx_pkts;
132133
u64 ipsec_tx_bytes;
133134
u64 ipsec_tx_drop_pkts;
@@ -184,6 +185,7 @@ struct mlx5e_ipsec_ft {
184185
struct mutex mutex; /* Protect changes to this struct */
185186
struct mlx5_flow_table *pol;
186187
struct mlx5_flow_table *sa;
188+
struct mlx5_flow_table *sa_sel;
187189
struct mlx5_flow_table *status;
188190
u32 refcnt;
189191
};
@@ -195,6 +197,8 @@ struct mlx5e_ipsec_drop {
195197

196198
struct mlx5e_ipsec_rule {
197199
struct mlx5_flow_handle *rule;
200+
struct mlx5_flow_handle *status_pass;
201+
struct mlx5_flow_handle *sa_sel;
198202
struct mlx5_modify_hdr *modify_hdr;
199203
struct mlx5_pkt_reformat *pkt_reformat;
200204
struct mlx5_fc *fc;
@@ -206,6 +210,7 @@ struct mlx5e_ipsec_rule {
206210
struct mlx5e_ipsec_miss {
207211
struct mlx5_flow_group *group;
208212
struct mlx5_flow_handle *rule;
213+
struct mlx5_fc *fc;
209214
};
210215

211216
struct mlx5e_ipsec_tx_create_attr {

0 commit comments

Comments
 (0)