| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | timestamping.rst | 437 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 D | iavf_ptp.c | 99 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 D | iavf_types.h | 28 struct kernel_hwtstamp_config hwtstamp_config; member
|
| /linux/tools/testing/selftests/net/ |
| H A D | .gitignore | 10 hwtstamp_config
|
| H A D | hwtstamp_config.c | 91 struct hwtstamp_config config; in main()
|
| H A D | Makefile | 148 hwtstamp_config \
|
| H A D | timestamping.c | 327 struct hwtstamp_config hwconfig, hwconfig_requested; in main()
|
| /linux/include/uapi/linux/ |
| H A D | net_tstamp.h | 78 * 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 D | fbnic_netdev.c | 327 *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 D | fbnic_rpc.c | 296 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 D | en_netdev.c | 2226 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 D | en_rx.c | 303 ring->hwtstamp_rx_filter = priv->hwtstamp_config.rx_filter; in mlx4_en_create_rx_ring()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | xdp_hw_metadata.c | 569 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 D | lan966x_ptp.c | 312 phc->hwtstamp_config = *cfg; in lan966x_ptp_hwtstamp_set() 325 *cfg = phc->hwtstamp_config; in lan966x_ptp_hwtstamp_get()
|
| H A D | lan966x_main.h | 254 struct kernel_hwtstamp_config hwtstamp_config; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en.h | 714 struct kernel_hwtstamp_config *hwtstamp_config; member 949 struct kernel_hwtstamp_config hwtstamp_config; member
|
| H A D | en_main.c | 711 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 D | e1000.h | 323 struct kernel_hwtstamp_config hwtstamp_config; member
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ptp.c | 1120 *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 D | reporter_rx.c | 335 priv->hwtstamp_config.rx_filter); in mlx5e_rx_reporter_diagnose_common_ptp_config()
|
| H A D | xdp.c | 189 if (unlikely(!mlx5e_rx_hw_stamp(_ctx->rq->hwtstamp_config))) in mlx5e_xdp_rx_timestamp()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | net_driver.h | 106 struct hwtstamp_config;
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_main.h | 252 struct kernel_hwtstamp_config hwtstamp_config; member
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | net_driver.h | 106 struct hwtstamp_config;
|
| /linux/drivers/net/ethernet/engleder/ |
| H A D | tsnep_main.c | 589 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()
|