Home
last modified time | relevance | path

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

123

/Linux-v6.1/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.c880 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in ionic_get_ts_info()
885 info->rx_filters |= BIT(HWTSTAMP_FILTER_NTP_ALL); in ionic_get_ts_info()
889 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_SYNC); in ionic_get_ts_info()
893 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ); in ionic_get_ts_info()
897 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_EVENT); in ionic_get_ts_info()
901 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_SYNC); in ionic_get_ts_info()
905 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ); in ionic_get_ts_info()
909 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_EVENT); in ionic_get_ts_info()
913 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L2_SYNC); in ionic_get_ts_info()
917 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.h212 struct ionic_rx_filters rx_filters; member
Dionic_lif.c1013 spin_lock_bh(&lif->rx_filters.lock); in ionic_lif_del_hwstamp_rxfilt()
1017 spin_unlock_bh(&lif->rx_filters.lock); in ionic_lif_del_hwstamp_rxfilt()
1024 spin_unlock_bh(&lif->rx_filters.lock); in ionic_lif_del_hwstamp_rxfilt()
1064 spin_lock_bh(&lif->rx_filters.lock); in ionic_lif_add_hwstamp_rxfilt()
1066 spin_unlock_bh(&lif->rx_filters.lock); in ionic_lif_add_hwstamp_rxfilt()
/Linux-v6.1/tools/testing/selftests/net/
Dhwtstamp_config.c55 static const char *rx_filters[] = { variable
74 #define N_RX_FILTERS ((int)(sizeof(rx_filters) / sizeof(rx_filters[0])))
83 list_names(stderr, rx_filters, N_RX_FILTERS); in usage()
101 config.rx_filter = lookup_value(rx_filters, N_RX_FILTERS, argv[3]); in main()
128 name = lookup_name(rx_filters, N_RX_FILTERS, config.rx_filter); in main()
/Linux-v6.1/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-v6.1/drivers/net/dsa/mv88e6xxx/
Dptp.c355 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
379 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
406 .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.h712 u32 rx_filters; member
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_ptp.c417 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in hclge_ptp_get_ts_info()
422 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_SYNC) | in hclge_ptp_get_ts_info()
/Linux-v6.1/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c310 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in tsnep_ethtool_get_ts_info()
/Linux-v6.1/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-v6.1/drivers/net/dsa/hirschmann/
Dhellcreek_hwtstamp.c33 info->rx_filters = BIT(HWTSTAMP_FILTER_PTP_V2_EVENT); in hellcreek_get_ts_info()
/Linux-v6.1/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-v6.1/drivers/net/can/dev/
Ddev.c369 info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); in can_ethtool_op_get_ts_info_hwts()
/Linux-v6.1/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c346 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in qede_ptp_get_ts_info()
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c487 info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in dpaa_get_ts_info()
/Linux-v6.1/drivers/net/can/peak_canfd/
Dpeak_canfd.c790 info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); in peak_get_ts_info()
/Linux-v6.1/include/uapi/linux/
Dethtool.h1417 __u32 rx_filters; member
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c1302 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in mlxsw_sp1_ptp_get_ts_info()
1687 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in mlxsw_sp2_ptp_get_ts_info()
/Linux-v6.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c591 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in xgbe_get_ts_info()
/Linux-v6.1/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c821 info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); in pcan_get_ts_info()
/Linux-v6.1/drivers/ptp/
Dptp_ines.c578 info->rx_filters = in ines_ts_info()

123