Home
last modified time | relevance | path

Searched refs:hwtstamp_config (Results 1 – 25 of 30) sorted by relevance

12

/linux/Documentation/translations/zh_CN/networking/
H A Dtimestamping.rst437 struct hwtstamp_config {
446 netlink 属性设置 struct hwtstamp_config 相应地。
467 ifr_data指向 struct hwtstamp_config。tx_type 和 rx_filter 是驱动
474 /* 可能的 hwtstamp_config->tx_type 值 */
490 /* 可能的 hwtstamp_config->rx_filter 值 */
513 ioctl 并更新提供的 struct hwtstamp_config 与实际值,如 SIOCSHWTSTAMP 部分
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ptp.c99 adapter->ptp.hwtstamp_config = *config; in iavf_ptp_set_ts_config()
405 adapter->ptp.hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in iavf_ptp_release()
431 adapter->ptp.hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in iavf_ptp_process_caps()
H A Diavf_types.h28 struct kernel_hwtstamp_config hwtstamp_config; member
/linux/tools/testing/selftests/net/
H A D.gitignore10 hwtstamp_config
H A Dhwtstamp_config.c91 struct hwtstamp_config config; in main()
H A DMakefile148 hwtstamp_config \
H A Dtimestamping.c327 struct hwtstamp_config hwconfig, hwconfig_requested; in main()
/linux/include/uapi/linux/
H A Dnet_tstamp.h78 * struct hwtstamp_config - %SIOCGHWTSTAMP and %SIOCSHWTSTAMP parameter
90 struct hwtstamp_config { struct
96 /* possible values for hwtstamp_config->flags */ argument
111 /* possible values for hwtstamp_config->tx_type */
149 /* possible values for hwtstamp_config->rx_filter */
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_netdev.c327 *config = fbn->hwtstamp_config; in fbnic_hwtstamp_get()
342 if (!kernel_hwtstamp_config_changed(config, &fbn->hwtstamp_config)) in fbnic_hwtstamp_set()
378 old_rx_filter = fbn->hwtstamp_config.rx_filter; in fbnic_hwtstamp_set()
379 memcpy(&fbn->hwtstamp_config, config, sizeof(*config)); in fbnic_hwtstamp_set()
H A Dfbnic_rpc.c296 if (fbn->hwtstamp_config.rx_filter != HWTSTAMP_FILTER_NONE) { in fbnic_rss_reinit()
297 switch (fbn->hwtstamp_config.rx_filter) { in fbnic_rss_reinit()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c2226 memcpy(&dst->hwtstamp_config, &prof->hwtstamp_config, in mlx4_en_copy_priv()
2227 sizeof(dst->hwtstamp_config)); in mlx4_en_copy_priv()
2273 memcpy(&dst->hwtstamp_config, &src->hwtstamp_config, in mlx4_en_update_priv()
2274 sizeof(dst->hwtstamp_config)); in mlx4_en_update_priv()
2481 *config = priv->hwtstamp_config; in mlx4_en_hwtstamp_get()
2549 ret = mlx4_en_reset_config(netdev, &priv->hwtstamp_config, in mlx4_en_set_features()
3296 priv->hwtstamp_config.flags = 0; in mlx4_en_init_netdev()
3297 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev()
3298 priv->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in mlx4_en_init_netdev()
3509 if (priv->hwtstamp_config.tx_type == ts_config->tx_type && in mlx4_en_reset_config()
[all …]
H A Den_rx.c303 ring->hwtstamp_rx_filter = priv->hwtstamp_config.rx_filter; in mlx4_en_create_rx_ring()
/linux/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c569 static void hwtstamp_ioctl(int op, const char *ifname, struct hwtstamp_config *cfg) in hwtstamp_ioctl()
588 static struct hwtstamp_config saved_hwtstamp_cfg;
598 struct hwtstamp_config cfg = { in hwtstamp_enable()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ptp.c312 phc->hwtstamp_config = *cfg; in lan966x_ptp_hwtstamp_set()
325 *cfg = phc->hwtstamp_config; in lan966x_ptp_hwtstamp_get()
H A Dlan966x_main.h254 struct kernel_hwtstamp_config hwtstamp_config; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h714 struct kernel_hwtstamp_config *hwtstamp_config; member
949 struct kernel_hwtstamp_config hwtstamp_config; member
H A Den_main.c711 rq->hwtstamp_config = &c->priv->hwtstamp_config; in mlx5e_init_rxq_rq()
3528 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx5e_timestamp_init()
3529 priv->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in mlx5e_timestamp_init()
4875 priv->hwtstamp_config = *config; in mlx5e_hwtstamp_set()
4902 *config = priv->hwtstamp_config; in mlx5e_hwtstamp_get()
/linux/drivers/net/ethernet/intel/e1000e/
H A De1000.h323 struct kernel_hwtstamp_config hwtstamp_config; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c1120 *config = mlxsw_sp_port->ptp.hwtstamp_config; in mlxsw_sp1_ptp_hwtstamp_get()
1298 mlxsw_sp_port->ptp.hwtstamp_config = *config; in mlxsw_sp1_ptp_hwtstamp_set()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_rx.c335 priv->hwtstamp_config.rx_filter); in mlx5e_rx_reporter_diagnose_common_ptp_config()
H A Dxdp.c189 if (unlikely(!mlx5e_rx_hw_stamp(_ctx->rq->hwtstamp_config))) in mlx5e_xdp_rx_timestamp()
/linux/drivers/net/ethernet/sfc/siena/
H A Dnet_driver.h106 struct hwtstamp_config;
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.h252 struct kernel_hwtstamp_config hwtstamp_config; member
/linux/drivers/net/ethernet/sfc/
H A Dnet_driver.h106 struct hwtstamp_config;
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_main.c589 tx->adapter->hwtstamp_config.tx_type == HWTSTAMP_TX_ON) { in tsnep_xmit_frame_ring()
1394 if (rx->adapter->hwtstamp_config.rx_filter == HWTSTAMP_FILTER_ALL) { in tsnep_build_skb()

12