Home
last modified time | relevance | path

Searched refs:rx_filters (Results 1 – 25 of 71) sorted by relevance

123

/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
Dionic_rx_filter.c38 head = &lif->rx_filters.by_id[i]; in ionic_rx_filter_replay()
65 spin_lock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay()
67 spin_unlock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay()
73 spin_lock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay()
75 spin_unlock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay()
82 spin_lock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay()
85 head = &lif->rx_filters.by_id[key]; in ionic_rx_filter_replay()
88 spin_unlock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay()
95 spin_lock_init(&lif->rx_filters.lock); in ionic_rx_filters_init()
97 spin_lock_bh(&lif->rx_filters.lock); in ionic_rx_filters_init()
[all …]
Dionic_ethtool.c992 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in ionic_get_ts_info()
997 info->rx_filters |= BIT(HWTSTAMP_FILTER_NTP_ALL); in ionic_get_ts_info()
1001 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_SYNC); in ionic_get_ts_info()
1005 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ); in ionic_get_ts_info()
1009 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_EVENT); in ionic_get_ts_info()
1013 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_SYNC); in ionic_get_ts_info()
1017 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ); in ionic_get_ts_info()
1021 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_EVENT); in ionic_get_ts_info()
1025 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L2_SYNC); in ionic_get_ts_info()
1029 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ); in ionic_get_ts_info()
[all …]
Dionic_debugfs.c238 spin_lock_bh(&lif->rx_filters.lock); in lif_filters_show()
240 head = &lif->rx_filters.by_id[i]; in lif_filters_show()
267 spin_unlock_bh(&lif->rx_filters.lock); in lif_filters_show()
Dionic_lif.h223 struct ionic_rx_filters rx_filters; member
Dionic_lif.c1096 spin_lock_bh(&lif->rx_filters.lock); in ionic_lif_del_hwstamp_rxfilt()
1100 spin_unlock_bh(&lif->rx_filters.lock); in ionic_lif_del_hwstamp_rxfilt()
1107 spin_unlock_bh(&lif->rx_filters.lock); in ionic_lif_del_hwstamp_rxfilt()
1147 spin_lock_bh(&lif->rx_filters.lock); in ionic_lif_add_hwstamp_rxfilt()
1149 spin_unlock_bh(&lif->rx_filters.lock); in ionic_lif_add_hwstamp_rxfilt()
/linux-6.6.21/tools/testing/selftests/net/
Dhwtstamp_config.c57 static const char *rx_filters[] = { variable
76 #define N_RX_FILTERS ((int)(ARRAY_SIZE(rx_filters)))
85 list_names(stderr, rx_filters, N_RX_FILTERS); in usage()
103 config.rx_filter = lookup_value(rx_filters, N_RX_FILTERS, argv[3]); in main()
130 name = lookup_name(rx_filters, N_RX_FILTERS, config.rx_filter); in main()
/linux-6.6.21/net/ethtool/
Dtsinfo.c72 if (ts_info->rx_filters) { in tsinfo_reply_size()
73 ret = ethnl_bitset32_size(&ts_info->rx_filters, NULL, in tsinfo_reply_size()
111 if (ts_info->rx_filters) { in tsinfo_fill_reply()
113 &ts_info->rx_filters, NULL, in tsinfo_fill_reply()
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/
Dptp.c356 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
380 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
407 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
435 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
Dhwtstamp.c86 info->rx_filters = ptp_ops->rx_filters; in mv88e6xxx_get_ts_info()
118 if (!(BIT(config->rx_filter) & ptp_ops->rx_filters)) { in mv88e6xxx_set_hwtstamp_config()
Dchip.h715 u32 rx_filters; member
/linux-6.6.21/drivers/net/ethernet/ti/icssg/
Dicssg_ethtool.c127 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | BIT(HWTSTAMP_FILTER_ALL); in emac_get_ts_info()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_ptp.c405 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in hclge_ptp_get_ts_info()
410 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_SYNC) | in hclge_ptp_get_ts_info()
/linux-6.6.21/drivers/net/ethernet/ti/
Dcpsw_ethtool.c735 info->rx_filters = in cpsw_get_ts_info()
749 info->rx_filters = 0; in cpsw_get_ts_info()
Dam65-cpsw-ethtool.c682 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | BIT(HWTSTAMP_FILTER_ALL); in am65_cpsw_get_ethtool_ts_info()
/linux-6.6.21/drivers/net/dsa/hirschmann/
Dhellcreek_hwtstamp.c33 info->rx_filters = BIT(HWTSTAMP_FILTER_PTP_V2_EVENT); in hellcreek_get_ts_info()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c670 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE); in aq_ethtool_get_ts_info()
672 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_EVENT) | in aq_ethtool_get_ts_info()
/linux-6.6.21/drivers/net/can/dev/
Ddev.c371 info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); in can_ethtool_op_get_ts_info_hwts()
/linux-6.6.21/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c326 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in tsnep_ethtool_get_ts_info()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c429 info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in dpaa_get_ts_info()
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c349 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in qede_ptp_get_ts_info()
/linux-6.6.21/drivers/net/can/peak_canfd/
Dpeak_canfd.c790 info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); in peak_get_ts_info()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c1290 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in mlxsw_sp1_ptp_get_ts_info()
1675 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in mlxsw_sp2_ptp_get_ts_info()
/linux-6.6.21/include/uapi/linux/
Dethtool.h1458 __u32 rx_filters; member
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c596 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in xgbe_get_ts_info()
/linux-6.6.21/drivers/ptp/
Dptp_ines.c578 info->rx_filters = in ines_ts_info()

123