Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/net/ethernet/pensando/ionic/
Dionic_rx_filter.c37 spin_lock_init(&lif->rx_filters.lock); in ionic_rx_filters_init()
40 INIT_HLIST_HEAD(&lif->rx_filters.by_hash[i]); in ionic_rx_filters_init()
41 INIT_HLIST_HEAD(&lif->rx_filters.by_id[i]); in ionic_rx_filters_init()
55 head = &lif->rx_filters.by_id[i]; in ionic_rx_filters_deinit()
98 spin_lock_bh(&lif->rx_filters.lock); in ionic_rx_filter_save()
101 head = &lif->rx_filters.by_hash[key]; in ionic_rx_filter_save()
105 head = &lif->rx_filters.by_id[key]; in ionic_rx_filter_save()
108 spin_unlock_bh(&lif->rx_filters.lock); in ionic_rx_filter_save()
120 head = &lif->rx_filters.by_hash[key]; in ionic_rx_filter_by_vlan()
140 head = &lif->rx_filters.by_hash[key]; in ionic_rx_filter_by_addr()
Dionic_lif.c806 spin_lock_bh(&lif->rx_filters.lock); in ionic_lif_addr_add()
808 spin_unlock_bh(&lif->rx_filters.lock); in ionic_lif_addr_add()
835 spin_lock_bh(&lif->rx_filters.lock); in ionic_lif_addr_del()
838 spin_unlock_bh(&lif->rx_filters.lock); in ionic_lif_addr_del()
844 spin_unlock_bh(&lif->rx_filters.lock); in ionic_lif_addr_del()
1316 spin_lock_bh(&lif->rx_filters.lock); in ionic_vlan_rx_kill_vid()
1320 spin_unlock_bh(&lif->rx_filters.lock); in ionic_vlan_rx_kill_vid()
1329 spin_unlock_bh(&lif->rx_filters.lock); in ionic_vlan_rx_kill_vid()
Dionic_lif.h173 struct ionic_rx_filters rx_filters; member
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
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-v5.4/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()
122 if (!(BIT(config->rx_filter) & ptp_ops->rx_filters)) { in mv88e6xxx_set_hwtstamp_config()
Dchip.h584 u32 rx_filters; member
/Linux-v5.4/drivers/net/dsa/sja1105/
Dsja1105_ptp.c75 info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in sja1105_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpsw_ethtool.c728 info->rx_filters = in cpsw_get_ts_info()
743 info->rx_filters = 0; in cpsw_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c375 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in qede_ptp_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c526 info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in dpaa_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c578 info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in enetc_get_ts_info()
/Linux-v5.4/include/uapi/linux/
Dethtool.h1236 __u32 rx_filters; member
/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c687 ts_info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in lan743x_ethtool_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c722 info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in dpaa2_eth_get_ts_info()
/Linux-v5.4/net/wireless/
Dutil.c1932 kfree(f->rx_filters[i].filter); in cfg80211_free_nan_func()
1937 kfree(f->rx_filters); in cfg80211_free_nan_func()
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c614 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in xgbe_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c846 info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in nicvf_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c863 info->rx_filters = ((1 << HWTSTAMP_FILTER_NONE) | in stmmac_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2433 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE); in igb_get_ts_info()
2437 info->rx_filters |= BIT(HWTSTAMP_FILTER_ALL); in igb_get_ts_info()
2439 info->rx_filters |= in igb_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c1109 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in mlxsw_sp1_ptp_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3050 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE); in ixgbe_get_ts_info()
3056 info->rx_filters |= BIT(HWTSTAMP_FILTER_ALL); in ixgbe_get_ts_info()
3060 info->rx_filters |= in ixgbe_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1504 info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in gfar_get_ts_info()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1268 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in get_ts_info()
/Linux-v5.4/drivers/net/ethernet/xscale/
Dixp4xx_eth.c1023 info->rx_filters = in ixp4xx_get_ts_info()

12