Home
last modified time | relevance | path

Searched refs:ptp_ch (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_rx.c404 mlx5e_rx_reporter_diagnose_common_ptp_config(struct mlx5e_priv *priv, struct mlx5e_ptp *ptp_ch, in mlx5e_rx_reporter_diagnose_common_ptp_config() argument
417 err = mlx5e_rx_reporter_diagnose_generic_rq(&ptp_ch->rq, fmsg); in mlx5e_rx_reporter_diagnose_common_ptp_config()
430 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_rx_reporter_diagnose_common_config() local
441 if (ptp_ch && test_bit(MLX5E_PTP_STATE_RX, ptp_ch->state)) { in mlx5e_rx_reporter_diagnose_common_config()
442 err = mlx5e_rx_reporter_diagnose_common_ptp_config(priv, ptp_ch, fmsg); in mlx5e_rx_reporter_diagnose_common_config()
479 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_rx_reporter_diagnose() local
506 if (ptp_ch && test_bit(MLX5E_PTP_STATE_RX, ptp_ch->state)) { in mlx5e_rx_reporter_diagnose()
507 err = mlx5e_rx_reporter_build_diagnose_output_ptp_rq(&ptp_ch->rq, fmsg); in mlx5e_rx_reporter_diagnose()
643 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_rx_reporter_dump_all_rqs() local
676 if (ptp_ch && test_bit(MLX5E_PTP_STATE_RX, ptp_ch->state)) { in mlx5e_rx_reporter_dump_all_rqs()
[all …]
H A Dreporter_tx.c397 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_tx_reporter_diagnose_common_config() local
409 if (!ptp_ch || !test_bit(MLX5E_PTP_STATE_TX, ptp_ch->state)) in mlx5e_tx_reporter_diagnose_common_config()
412 generic_ptpsq = &ptp_ch->ptpsq[0]; in mlx5e_tx_reporter_diagnose_common_config()
439 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_tx_reporter_diagnose() local
468 if (!ptp_ch || !test_bit(MLX5E_PTP_STATE_TX, ptp_ch->state)) in mlx5e_tx_reporter_diagnose()
473 &ptp_ch->ptpsq[tc], in mlx5e_tx_reporter_diagnose()
570 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_tx_reporter_dump_all_sqs() local
607 if (ptp_ch && test_bit(MLX5E_PTP_STATE_TX, ptp_ch->state)) { in mlx5e_tx_reporter_dump_all_sqs()
609 struct mlx5e_txqsq *sq = &ptp_ch->ptpsq[tc].txqsq; in mlx5e_tx_reporter_dump_all_sqs()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c547 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_add_sqs_fwd_rules() local
549 for (tc = 0; tc < ptp_ch->num_tc; tc++) in mlx5e_add_sqs_fwd_rules()
550 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules()