Skip to content

Commit 30e5c2c

Browse files
committed
net: Revert devlink health changes.
This reverts the devlink health changes from 9/17/2019, Jiri wants things to be designed differently and it was agreed that the easiest way to do this is start from the beginning again. Commits reverted: cb5ccfb 880ee82 c7af343 ff253fe 6f9d561 fcd852c 8a66704 12bd0dc aba2527 ce019fa b8c45a0 And the follow-on build fix: o33a0efa4baecd689da9474ce0e8b673eb6931c60 Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 0ba9480 commit 30e5c2c

11 files changed

Lines changed: 169 additions & 1785 deletions

File tree

‎Documentation/networking/devlink-health.txt‎

Lines changed: 0 additions & 86 deletions
This file was deleted.

‎drivers/net/ethernet/mellanox/mlx5/core/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ mlx5_core-y := main.o cmd.o debugfs.o fw.o eq.o uar.o pagealloc.o \
2222
#
2323
mlx5_core-$(CONFIG_MLX5_CORE_EN) += en_main.o en_common.o en_fs.o en_ethtool.o \
2424
en_tx.o en_rx.o en_dim.o en_txrx.o en/xdp.o en_stats.o \
25-
en_selftest.o en/port.o en/monitor_stats.o en/reporter_tx.o
25+
en_selftest.o en/port.o en/monitor_stats.o
2626

2727
#
2828
# Netdev extra

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

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,10 @@ struct mlx5e_txqsq {
388388
struct mlx5e_channel *channel;
389389
int txq_ix;
390390
u32 rate_limit;
391-
struct work_struct recover_work;
391+
struct mlx5e_txqsq_recover {
392+
struct work_struct recover_work;
393+
u64 last_recover;
394+
} recover;
392395
} ____cacheline_aligned_in_smp;
393396

394397
struct mlx5e_dma_info {
@@ -679,13 +682,6 @@ struct mlx5e_rss_params {
679682
u8 hfunc;
680683
};
681684

682-
struct mlx5e_modify_sq_param {
683-
int curr_state;
684-
int next_state;
685-
int rl_update;
686-
int rl_index;
687-
};
688-
689685
struct mlx5e_priv {
690686
/* priv data path fields - start */
691687
struct mlx5e_txqsq *txq2sq[MLX5E_MAX_NUM_CHANNELS * MLX5E_MAX_NUM_TC];
@@ -741,7 +737,6 @@ struct mlx5e_priv {
741737
#ifdef CONFIG_MLX5_EN_TLS
742738
struct mlx5e_tls *tls;
743739
#endif
744-
struct devlink_health_reporter *tx_reporter;
745740
};
746741

747742
struct mlx5e_profile {
@@ -871,11 +866,6 @@ void mlx5e_set_rq_type(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
871866
void mlx5e_init_rq_type_params(struct mlx5_core_dev *mdev,
872867
struct mlx5e_params *params);
873868

874-
int mlx5e_modify_sq(struct mlx5_core_dev *mdev, u32 sqn,
875-
struct mlx5e_modify_sq_param *p);
876-
void mlx5e_activate_txqsq(struct mlx5e_txqsq *sq);
877-
void mlx5e_tx_disable_queue(struct netdev_queue *txq);
878-
879869
static inline bool mlx5e_tunnel_inner_ft_supported(struct mlx5_core_dev *mdev)
880870
{
881871
return (MLX5_CAP_ETH(mdev, tunnel_stateless_gre) &&

‎drivers/net/ethernet/mellanox/mlx5/core/en/reporter.h‎

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)