| /linux/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_multicast.c | 74 struct ipoib_mcast *mcast, in __ipoib_mcast_schedule_join_thread() argument 85 if (mcast && delay) { in __ipoib_mcast_schedule_join_thread() 89 mcast->backoff *= 2; in __ipoib_mcast_schedule_join_thread() 90 if (mcast->backoff > IPOIB_MAX_BACKOFF_SECONDS) in __ipoib_mcast_schedule_join_thread() 91 mcast->backoff = IPOIB_MAX_BACKOFF_SECONDS; in __ipoib_mcast_schedule_join_thread() 92 mcast->delay_until = jiffies + (mcast->backoff * HZ); in __ipoib_mcast_schedule_join_thread() 112 static void ipoib_mcast_free(struct ipoib_mcast *mcast) in ipoib_mcast_free() argument 114 struct net_device *dev = mcast->dev; in ipoib_mcast_free() 118 mcast->mcmember.mgid.raw); in ipoib_mcast_free() 121 ipoib_del_neighs_by_gid(dev, mcast->mcmember.mgid.raw); in ipoib_mcast_free() [all …]
|
| /linux/net/batman-adv/ |
| H A D | multicast.c | 70 queue_delayed_work(batadv_event_workqueue, &bat_priv->mcast.work, in batadv_mcast_start_timer() 100 * batadv_mcast_mla_rtr_flags_meshif_get_ipv4() - get mcast router flags from 121 * batadv_mcast_mla_rtr_flags_meshif_get_ipv6() - get mcast router flags from 150 * batadv_mcast_mla_rtr_flags_meshif_get() - get mcast router flags from node 181 * batadv_mcast_mla_rtr_flags_bridge_get() - get mcast router flags from bridge 687 hlist_for_each_entry_safe(mcast_entry, tmp, &bat_priv->mcast.mla_list, in batadv_mcast_mla_tt_retract() 696 "mcast TT outdated", false); in batadv_mcast_mla_tt_retract() 722 &bat_priv->mcast.mla_list)) in batadv_mcast_mla_tt_add() 731 hlist_add_head(&mcast_entry->list, &bat_priv->mcast.mla_list); in batadv_mcast_mla_tt_add() 743 * Outputs debug messages to the logging facility with log level 'mcast' [all...] |
| H A D | main.c | 172 spin_lock_init(&bat_priv->mcast.mla_lock); in batadv_mesh_init() 173 spin_lock_init(&bat_priv->mcast.want_lists_lock); in batadv_mesh_init() 184 INIT_HLIST_HEAD(&bat_priv->mcast.want_all_unsnoopables_list); in batadv_mesh_init() 185 INIT_HLIST_HEAD(&bat_priv->mcast.want_all_ipv4_list); in batadv_mesh_init() 186 INIT_HLIST_HEAD(&bat_priv->mcast.want_all_ipv6_list); in batadv_mesh_init() 192 INIT_HLIST_HEAD(&bat_priv->mcast.mla_list); in batadv_mesh_init()
|
| H A D | multicast_forw.c | 288 head = &bat_priv->mcast.want_all_ipv4_list; in batadv_mcast_forw_push_want_all() 293 head = &bat_priv->mcast.want_all_ipv6_list; in batadv_mcast_forw_push_want_all() 334 head = &bat_priv->mcast.want_all_rtr4_list; in batadv_mcast_forw_push_want_rtr() 339 head = &bat_priv->mcast.want_all_rtr6_list; in batadv_mcast_forw_push_want_rtr()
|
| H A D | mesh-interface.c | 768 atomic_set(&bat_priv->mcast.num_want_all_unsnoopables, 0); in batadv_meshif_init_late() 769 atomic_set(&bat_priv->mcast.num_want_all_ipv4, 0); in batadv_meshif_init_late() 770 atomic_set(&bat_priv->mcast.num_want_all_ipv6, 0); in batadv_meshif_init_late() 771 atomic_set(&bat_priv->mcast.num_no_mc_ptype_capa, 0); in batadv_meshif_init_late()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | bridge_mcast.c | 80 dests[i].ft = port->mcast.ft; in mlx5_esw_bridge_mdb_flow_create() 322 port->mcast.ft = mcast_ft; in mlx5_esw_bridge_port_mcast_fts_init() 328 if (port->mcast.ft) in mlx5_esw_bridge_port_mcast_fts_cleanup() 329 mlx5_destroy_flow_table(port->mcast.ft); in mlx5_esw_bridge_port_mcast_fts_cleanup() 330 port->mcast.ft = NULL; in mlx5_esw_bridge_port_mcast_fts_cleanup() 451 struct mlx5_flow_table *mcast_ft = port->mcast.ft; in mlx5_esw_bridge_port_mcast_fgs_init() 476 port->mcast.filter_fg = filter_fg; in mlx5_esw_bridge_port_mcast_fgs_init() 477 port->mcast.vlan_fg = vlan_fg; in mlx5_esw_bridge_port_mcast_fgs_init() 478 port->mcast.qinq_fg = qinq_fg; in mlx5_esw_bridge_port_mcast_fgs_init() 479 port->mcast.fwd_fg = fwd_fg; in mlx5_esw_bridge_port_mcast_fgs_init() [all …]
|
| H A D | bridge_priv.h | 195 } mcast; member
|
| /linux/drivers/net/xen-netback/ |
| H A D | netback.c | 849 struct xenvif_mcast_addr *mcast; in xenvif_mcast_add() local 858 mcast = kzalloc_obj(*mcast, GFP_ATOMIC); in xenvif_mcast_add() 859 if (!mcast) in xenvif_mcast_add() 862 ether_addr_copy(mcast->addr, addr); in xenvif_mcast_add() 863 list_add_tail_rcu(&mcast->entry, &vif->fe_mcast_addr); in xenvif_mcast_add() 871 struct xenvif_mcast_addr *mcast; in xenvif_mcast_del() local 873 list_for_each_entry_rcu(mcast, &vif->fe_mcast_addr, entry) { in xenvif_mcast_del() 874 if (ether_addr_equal(addr, mcast->addr)) { in xenvif_mcast_del() 876 list_del_rcu(&mcast->entry); in xenvif_mcast_del() 877 kfree_rcu(mcast, rcu); in xenvif_mcast_del() [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | bridge_vlan_mcast.sh | 668 ip link add name br1-mcast up type bridge mcast_snooping 1 mcast_querier 1 vlan_filtering 1 669 ip link add name dummy1-mcast up master br1-mcast type dummy 672 # multicast context on "dummy1-mcast". 673 ip link set dev br1-mcast type bridge mcast_vlan_snooping 1 676 # per-port multicast context on "dummy1-mcast" given that per-VLAN 678 ip link set dev br1-mcast type bridge mcast_snooping 0 679 ip link set dev br1-mcast type bridge mcast_snooping 1 682 # enabled on "dummy1-mcast", removing it from the bridge will result 684 ip link set dev dummy1-mcast nomaste [all...] |
| H A D | router.sh | 220 local mcast=$1; shift 223 $MC_CLI -I $table_name add $if_name $s_addr $mcast $dest_ifs 230 local mcast=$1; shift 233 $MC_CLI -I $table_name remove $if_name $s_addr $mcast $dest_ifs
|
| H A D | router_multicast.sh | 193 local mcast=$1; shift 196 mc_cli add "$if_name" "$s_addr" "$mcast" "${dest_ifs[@]}" 203 local mcast=$1; shift 206 mc_cli remove "$if_name" "$s_addr" "$mcast" "${dest_ifs[@]}"
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 177 static int nix_alloc_mce_list(struct nix_mcast *mcast, int count, u8 dir) in nix_alloc_mce_list() 182 if (!mcast) in nix_alloc_mce_list() 185 mce_counter = &mcast->mce_counter[dir]; in nix_alloc_mce_list() 193 static void nix_free_mce_list(struct nix_mcast *mcast, int count, int start, u8 dir) in nix_free_mce_list() 197 if (!mcast) in nix_free_mce_list() 200 mce_counter = &mcast->mce_counter[dir]; in nix_free_mce_list() 1105 if (!nix_hw->mcast.mce_ctx || in rvu_nix_blk_aq_enq_inst() 1509 u16 bcast, mcast, promisc, ucast; in rvu_mbox_handler_nix_lf_alloc() 1702 rc = npc_cn20k_dft_rules_idx_get(rvu, pcifunc, &bcast, &mcast, in rvu_mbox_handler_nix_lf_alloc() 3488 struct nix_mcast *mcast; in nix_update_mce_list() 176 nix_alloc_mce_list(struct nix_mcast * mcast,int count,u8 dir) nix_alloc_mce_list() argument 192 nix_free_mce_list(struct nix_mcast * mcast,int count,int start,u8 dir) nix_free_mce_list() argument 3456 struct nix_mcast *mcast; nix_update_mce_list() local 3600 struct nix_mcast *mcast = &nix_hw->mcast; nix_setup_mce_tables() local 3671 struct nix_mcast *mcast = &nix_hw->mcast; nix_setup_mcast() local 5136 struct nix_mcast *mcast; rvu_nix_block_freemem() local 6454 struct nix_mcast *mcast; rvu_mbox_handler_nix_mcast_grp_destroy() local 6519 struct nix_mcast *mcast; rvu_mbox_handler_nix_mcast_grp_update() local [all...] |
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | rx_reorder.c | 87 int tid, cid, mid, mcast, retry; in wil_rx_reorder() local 95 &mcast, &retry); in wil_rx_reorder() 99 mid, cid, tid, seq, mcast); in wil_rx_reorder() 117 if (unlikely(mcast)) { in wil_rx_reorder()
|
| H A D | txrx.c | 904 int mcast = is_multicast_ether_addr(da); in wil_netif_rx() local 909 if (mcast && ether_addr_equal(sa, ndev->dev_addr)) { in wil_netif_rx() 918 if (mcast) { in wil_netif_rx() 967 if (mcast) in wil_netif_rx() 2041 bool mcast = (ring_index == vif->bcast_ring); in __wil_tx_ring() local 2071 if (unlikely(mcast)) { in __wil_tx_ring() 2553 int *mid, u16 *seq, int *mcast, int *retry) in wil_get_reorder_params() argument 2561 *mcast = wil_rxdesc_mcast(d); in wil_get_reorder_params()
|
| /linux/drivers/net/ethernet/freescale/fman/ |
| H A D | fman_dtsec.c | 1019 bool mcast, ghtx; in dtsec_add_hash_mac_address() local 1024 mcast = (bool)((addr & MAC_GROUP_ADDRESS) ? true : false); in dtsec_add_hash_mac_address() 1027 if (ghtx && !mcast) { in dtsec_add_hash_mac_address() 1051 if (mcast) in dtsec_add_hash_mac_address() 1122 bool mcast, ghtx; in dtsec_del_hash_mac_address() local 1127 mcast = (bool)((addr & MAC_GROUP_ADDRESS) ? true : false); in dtsec_del_hash_mac_address() 1130 if (ghtx && !mcast) { in dtsec_del_hash_mac_address() 1144 if (mcast) in dtsec_del_hash_mac_address()
|
| /linux/drivers/infiniband/sw/rdmavt/ |
| H A D | Makefile | 11 rdmavt-y := vt.o ah.o cq.o mad.o mcast.o mmap.o mr.o pd.o qp.o \
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pip-defs.h | 2109 uint64_t mcast:32; member 2111 uint64_t mcast:32; 2122 uint64_t mcast:32; member 2124 uint64_t mcast:32; 2135 uint64_t mcast:32; member 2137 uint64_t mcast:32; 2148 uint64_t mcast:32; member 2150 uint64_t mcast:32; 2596 uint64_t mcast:32; member 2598 uint64_t mcast:32; [all …]
|
| /linux/drivers/net/ethernet/atheros/atlx/ |
| H A D | atl2.h | 241 unsigned mcast:1; /* multicast packet */ member 290 unsigned mcast:1; /* current packet is multicast */ member
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | sta.c | 2615 bool mcast) in __iwl_mvm_remove_sta_key() argument 2636 if (mcast) in __iwl_mvm_remove_sta_key() 3534 struct ieee80211_key_conf *key, bool mcast, in iwl_mvm_send_sta_key() argument 3612 if (mcast) in iwl_mvm_send_sta_key() 3798 bool mcast) in __iwl_mvm_set_sta_key() argument 3832 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in __iwl_mvm_set_sta_key() 3837 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in __iwl_mvm_set_sta_key() 3847 bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE); in iwl_mvm_set_sta_key() local 3913 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast); in iwl_mvm_set_sta_key() 3927 key_offset, !mcast); in iwl_mvm_set_sta_key() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | test_vxlan_vnifiltering.sh | 201 mcast=$5 250 if [ $mcast -eq 1 ]; then 289 if [ $mcast -eq 1 ]; then
|
| /linux/include/xen/interface/io/ |
| H A D | netif.h | 873 } mcast; member
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_filter.c | 1055 struct qed_filter_mcast_params mcast; in qede_set_mcast_rx_mac() local 1058 memset(&mcast, 0, sizeof(mcast)); in qede_set_mcast_rx_mac() 1059 mcast.type = opcode; in qede_set_mcast_rx_mac() 1060 mcast.num = num_macs; in qede_set_mcast_rx_mac() 1063 ether_addr_copy(mcast.mac[i], mac); in qede_set_mcast_rx_mac() 1065 return edev->ops->filter_config_mcast(edev->cdev, &mcast); in qede_set_mcast_rx_mac()
|
| /linux/drivers/net/ipvlan/ |
| H A D | ipvlan.h | 168 unsigned int len, bool success, bool mcast);
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_sriov.c | 541 struct bnx2x_mcast_ramrod_params mcast; in bnx2x_vf_mcast() local 547 memset(&mcast, 0, sizeof(struct bnx2x_mcast_ramrod_params)); in bnx2x_vf_mcast() 548 mcast.mcast_obj = &vf->mcast_obj; in bnx2x_vf_mcast() 550 set_bit(RAMROD_DRV_CLR_ONLY, &mcast.ramrod_flags); in bnx2x_vf_mcast() 552 set_bit(RAMROD_COMP_WAIT, &mcast.ramrod_flags); in bnx2x_vf_mcast() 562 INIT_LIST_HEAD(&mcast.mcast_list); in bnx2x_vf_mcast() 566 &mcast.mcast_list); in bnx2x_vf_mcast() 570 mcast.mcast_list_len = mc_num; in bnx2x_vf_mcast() 571 rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_SET); in bnx2x_vf_mcast() 576 rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_DEL); in bnx2x_vf_mcast()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
| H A D | hw_atl2_utils.h | 523 u8 mcast:1; 540 } mcast; 513 u8 mcast:1; global() member 530 } mcast; global() member
|