Home
last modified time | relevance | path

Searched refs:ptp_rx (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/aquantia/atlantic/
Daq_ptp.c71 struct aq_ring_s ptp_rx; member
583 aq_ptp->ptp_rx.idx << HW_ATL_RX_QUEUE_FL3L4_SHIFT; in aq_ptp_prepare_filters()
587 aq_ptp->eth_type_filter.queue = aq_ptp->ptp_rx.idx; in aq_ptp_prepare_filters()
639 &aq_ptp->ptp_rx == ring || &aq_ptp->hwts_rx == ring; in aq_ptp_ring()
695 &aq_ptp->ptp_rx); in aq_ptp_poll()
699 if (aq_ptp->ptp_rx.sw_head != aq_ptp->ptp_rx.hw_head) { in aq_ptp_poll()
702 err = aq_ring_rx_clean(&aq_ptp->ptp_rx, napi, &work_done, budget); in aq_ptp_poll()
706 sw_tail_old = aq_ptp->ptp_rx.sw_tail; in aq_ptp_poll()
707 err = aq_ring_rx_fill(&aq_ptp->ptp_rx); in aq_ptp_poll()
712 &aq_ptp->ptp_rx, in aq_ptp_poll()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c701 if (!(pf->flags & I40E_FLAG_PTP) || !pf->ptp_rx) in i40e_ptp_rx_hang()
839 if (!(pf->flags & I40E_FLAG_PTP) || !pf->ptp_rx) in i40e_ptp_rx_hwtstamp()
1225 pf->ptp_rx = false; in i40e_ptp_set_timestamp_mode()
1238 pf->ptp_rx = true; in i40e_ptp_set_timestamp_mode()
1256 pf->ptp_rx = true; in i40e_ptp_set_timestamp_mode()
1566 pf->ptp_rx = false; in i40e_ptp_stop()
Di40e.h742 bool ptp_rx; member
/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c192 if (rx_ring->ptp_rx) in ice_process_skb_fields()
Dice_txrx.h311 u8 ptp_rx:1; member
Dice_ptp.c58 vsi->rx_rings[i]->ptp_rx = on; in ice_set_rx_tstamp()
/drivers/net/ethernet/sfc/
Dptp.c317 s32 ptp_rx; member
754 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
772 efx->ptp_data->ts_corrections.ptp_rx; in efx_ptp_get_timestamp_corrections()
776 efx->ptp_data->ts_corrections.ptp_rx = 0; in efx_ptp_get_timestamp_corrections()
1920 ptp->ts_corrections.ptp_rx); in ptp_event_rx()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c2117 if (MLX5E_GET_PFLAG(&chs->params, MLX5E_PFLAG_TX_PORT_TS) || chs->params.ptp_rx) { in mlx5e_open_channels()
3675 static int mlx5e_hwstamp_config_ptp_rx(struct mlx5e_priv *priv, bool ptp_rx) in mlx5e_hwstamp_config_ptp_rx() argument
3679 if (ptp_rx == priv->channels.params.ptp_rx) in mlx5e_hwstamp_config_ptp_rx()
3683 new_params.ptp_rx = ptp_rx; in mlx5e_hwstamp_config_ptp_rx()
3685 &new_params.ptp_rx, true); in mlx5e_hwstamp_config_ptp_rx()
3692 bool ptp_rx; in mlx5e_hwstamp_set() local
3717 ptp_rx = false; in mlx5e_hwstamp_set()
3738 ptp_rx = rx_cqe_compress_def; in mlx5e_hwstamp_set()
3749 err = mlx5e_hwstamp_config_ptp_rx(priv, ptp_rx); in mlx5e_hwstamp_set()
Den_ethtool.c1908 new_params.ptp_rx = new_val; in mlx5e_modify_rx_cqe_compression_locked()
1910 if (new_params.ptp_rx == priv->channels.params.ptp_rx) in mlx5e_modify_rx_cqe_compression_locked()
1914 &new_params.ptp_rx, true); in mlx5e_modify_rx_cqe_compression_locked()
Den.h283 bool ptp_rx; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c589 if (params->ptp_rx) in mlx5e_ptp_set_state()