Home
last modified time | relevance | path

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

123

/linux/drivers/net/ethernet/pensando/ionic/
H A 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 …]
H A Dionic_ethtool.c1011 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in ionic_get_ts_info()
1016 info->rx_filters |= BIT(HWTSTAMP_FILTER_NTP_ALL); in ionic_get_ts_info()
1020 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_SYNC); in ionic_get_ts_info()
1024 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ); in ionic_get_ts_info()
1028 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_EVENT); in ionic_get_ts_info()
1032 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_SYNC); in ionic_get_ts_info()
1036 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ); in ionic_get_ts_info()
1040 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_EVENT); in ionic_get_ts_info()
1044 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L2_SYNC); in ionic_get_ts_info()
1048 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ); in ionic_get_ts_info()
[all …]
H A 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()
H A Dionic_lif.h235 struct ionic_rx_filters rx_filters; member
/linux/tools/testing/selftests/net/
H A 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/net/ethtool/
H A Dtsinfo.c82 if (ts_info->rx_filters) { in tsinfo_reply_size()
83 ret = ethnl_bitset32_size(&ts_info->rx_filters, NULL, in tsinfo_reply_size()
158 if (ts_info->rx_filters) { in tsinfo_fill_reply()
160 &ts_info->rx_filters, NULL, in tsinfo_fill_reply()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dptp.c414 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
434 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
457 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
481 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
H A 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()
H A Dchip.h735 u32 rx_filters; member
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c401 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in hclge_ptp_get_ts_info()
406 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_SYNC) | in hclge_ptp_get_ts_info()
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c133 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | BIT(HWTSTAMP_FILTER_ALL); in emac_get_ts_info()
/linux/drivers/net/ethernet/ti/
H A Dcpsw_ethtool.c733 info->rx_filters = in cpsw_get_ts_info()
744 info->rx_filters = 0; in cpsw_get_ts_info()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c665 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE); in aq_ethtool_get_ts_info()
667 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_EVENT) | in aq_ethtool_get_ts_info()
/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c33 info->rx_filters = BIT(HWTSTAMP_FILTER_PTP_V2_EVENT); in hellcreek_get_ts_info()
/linux/drivers/net/can/dev/
H A Ddev.c387 info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); in can_ethtool_op_get_ts_info_hwts()
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c322 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in tsnep_ethtool_get_ts_info()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c342 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in qede_ptp_get_ts_info()
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c429 info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in dpaa_get_ts_info()
/linux/include/linux/
H A Dethtool.h722 enum hwtstamp_rx_filters rx_filters; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c1291 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in mlxsw_sp1_ptp_get_ts_info()
1676 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in mlxsw_sp2_ptp_get_ts_info()
/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c787 info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); in peak_get_ts_info()
/linux/drivers/ptp/
H A Dptp_ines.c572 info->rx_filters = in ines_ts_info()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c593 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in xgbe_get_ts_info()
/linux/include/uapi/linux/
H A Dethtool.h1725 __u32 rx_filters; member
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ethtool.c564 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in lan966x_get_ts_info()

123