Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/drivers/net/ethernet/mellanox/mlx5/core/lib/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 1 kB image not shown  

Quelle  tout.h

  Sprache: C
 

/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
/* Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */

#ifndef MLX5_TIMEOUTS_H
#define MLX5_TIMEOUTS_H

enum mlx5_timeouts_types {
 /* pre init timeouts (not read from FW) */
 MLX5_TO_FW_PRE_INIT_TIMEOUT_MS,
 MLX5_TO_FW_PRE_INIT_ON_RECOVERY_TIMEOUT_MS,
 MLX5_TO_FW_PRE_INIT_WARN_MESSAGE_INTERVAL_MS,
 MLX5_TO_FW_PRE_INIT_WAIT_MS,

 /* init segment timeouts */
 MLX5_TO_FW_INIT_MS,
 MLX5_TO_CMD_MS,

 /* DTOR timeouts */
 MLX5_TO_PCI_TOGGLE_MS,
 MLX5_TO_HEALTH_POLL_INTERVAL_MS,
 MLX5_TO_FULL_CRDUMP_MS,
 MLX5_TO_FW_RESET_MS,
 MLX5_TO_FLUSH_ON_ERROR_MS,
 MLX5_TO_PCI_SYNC_UPDATE_MS,
 MLX5_TO_TEARDOWN_MS,
 MLX5_TO_FSM_REACTIVATE_MS,
 MLX5_TO_RECLAIM_PAGES_MS,
 MLX5_TO_RECLAIM_VFS_PAGES_MS,
 MLX5_TO_RESET_UNLOAD_MS,

 MAX_TIMEOUT_TYPES
};

struct mlx5_core_dev;
int mlx5_tout_init(struct mlx5_core_dev *dev);
void mlx5_tout_cleanup(struct mlx5_core_dev *dev);
void mlx5_tout_query_iseg(struct mlx5_core_dev *dev);
int mlx5_tout_query_dtor(struct mlx5_core_dev *dev);
u64 _mlx5_tout_ms(struct mlx5_core_dev *dev, enum mlx5_timeouts_types type);

#define mlx5_tout_ms(dev, type) _mlx5_tout_ms(dev, MLX5_TO_##type##_MS)

endif /* MLX5_TIMEOUTS_H */

Messung V0.5 in Prozent
C=95 H=91 G=92

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-06-07) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.