Home
last modified time | relevance | path

Searched refs:mcast (Results 1 – 25 of 57) sorted by relevance

123

/linux/drivers/infiniband/ulp/ipoib/
A Dipoib_multicast.c92 mcast->delay_until = jiffies + (mcast->backoff * HZ); in __ipoib_mcast_schedule_join_thread()
123 if (mcast->ah) in ipoib_mcast_free()
135 kfree(mcast); in ipoib_mcast_free()
142 mcast = kzalloc(sizeof(*mcast), GFP_ATOMIC); in ipoib_mcast_alloc()
143 if (!mcast) in ipoib_mcast_alloc()
155 return mcast; in ipoib_mcast_alloc()
645 mcast = NULL; in ipoib_mcast_join_task()
654 if (mcast) in ipoib_mcast_join_task()
741 ipoib_mcast_leave(mcast->dev, mcast); in ipoib_mcast_remove_list()
765 if (!mcast || !mcast->ah) { in ipoib_mcast_send()
[all …]
/linux/drivers/infiniband/sw/rdmavt/
A Dmcast.c67 struct rvt_mcast *mcast; in rvt_mcast_alloc() local
69 mcast = kzalloc(sizeof(*mcast), GFP_KERNEL); in rvt_mcast_alloc()
70 if (!mcast) in rvt_mcast_alloc()
81 return mcast; in rvt_mcast_alloc()
91 kfree(mcast); in rvt_mcast_free()
131 found = mcast; in rvt_mcast_find()
214 mcast->n_attached++; in rvt_mcast_add()
255 if (!mcast) in rvt_attach_mcast()
351 mcast->n_attached--; in rvt_detach_mcast()
371 wait_event(mcast->wait, atomic_read(&mcast->refcount) <= 1); in rvt_detach_mcast()
[all …]
A DMakefile11 rdmavt-y := vt.o ah.o cq.o mad.o mcast.o mmap.o mr.o pd.o qp.o \
/linux/net/batman-adv/
A Dmulticast.c693 &bat_priv->mcast.mla_list)) in batadv_mcast_mla_tt_add()
854 bat_priv->mcast.mla_flags = *flags; in batadv_mcast_mla_flags_update()
886 spin_lock(&bat_priv->mcast.mla_lock); in __batadv_mcast_mla_update()
890 spin_unlock(&bat_priv->mcast.mla_lock); in __batadv_mcast_mla_update()
1168 &bat_priv->mcast.want_all_ipv4_list, in batadv_mcast_forw_ipv4_node_get()
1195 &bat_priv->mcast.want_all_ipv6_list, in batadv_mcast_forw_ipv6_node_get()
1273 &bat_priv->mcast.want_all_rtr4_list, in batadv_mcast_forw_rtr4_node_get()
1300 &bat_priv->mcast.want_all_rtr6_list, in batadv_mcast_forw_rtr6_node_get()
1504 &bat_priv->mcast.want_all_ipv4_list, in batadv_mcast_forw_want_all_ipv4()
1541 &bat_priv->mcast.want_all_ipv6_list, in batadv_mcast_forw_want_all_ipv6()
[all …]
A Dmain.c164 spin_lock_init(&bat_priv->mcast.mla_lock); in batadv_mesh_init()
165 spin_lock_init(&bat_priv->mcast.want_lists_lock); in batadv_mesh_init()
176 INIT_HLIST_HEAD(&bat_priv->mcast.want_all_unsnoopables_list); in batadv_mesh_init()
177 INIT_HLIST_HEAD(&bat_priv->mcast.want_all_ipv4_list); in batadv_mesh_init()
178 INIT_HLIST_HEAD(&bat_priv->mcast.want_all_ipv6_list); in batadv_mesh_init()
184 INIT_HLIST_HEAD(&bat_priv->mcast.mla_list); in batadv_mesh_init()
A Dsoft-interface.c761 atomic_set(&bat_priv->mcast.num_want_all_unsnoopables, 0); in batadv_softif_init_late()
762 atomic_set(&bat_priv->mcast.num_want_all_ipv4, 0); in batadv_softif_init_late()
763 atomic_set(&bat_priv->mcast.num_want_all_ipv6, 0); in batadv_softif_init_late()
/linux/drivers/net/xen-netback/
A Dnetback.c732 struct xenvif_mcast_addr *mcast; in xenvif_mcast_add() local
741 mcast = kzalloc(sizeof(*mcast), GFP_ATOMIC); in xenvif_mcast_add()
742 if (!mcast) in xenvif_mcast_add()
745 ether_addr_copy(mcast->addr, addr); in xenvif_mcast_add()
754 struct xenvif_mcast_addr *mcast; in xenvif_mcast_del() local
759 list_del_rcu(&mcast->entry); in xenvif_mcast_del()
760 kfree_rcu(mcast, rcu); in xenvif_mcast_del()
768 struct xenvif_mcast_addr *mcast; in xenvif_mcast_match() local
788 struct xenvif_mcast_addr *mcast; in xenvif_mcast_addr_list_free() local
794 list_del(&mcast->entry); in xenvif_mcast_addr_list_free()
[all …]
/linux/tools/testing/selftests/net/forwarding/
A Drouter.sh199 local mcast=$1; shift
202 $MC_CLI -I $table_name add $if_name $s_addr $mcast $dest_ifs
209 local mcast=$1; shift
212 $MC_CLI -I $table_name remove $if_name $s_addr $mcast $dest_ifs
A Drouter_multicast.sh216 local mcast=$1; shift
219 $MC_CLI -I $table_name add $if_name $s_addr $mcast $dest_ifs
226 local mcast=$1; shift
229 $MC_CLI -I $table_name remove $if_name $s_addr $mcast $dest_ifs
/linux/drivers/net/wireless/ath/wil6210/
A Drx_reorder.c87 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()
A Dtxrx.c904 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()
2043 bool mcast = (ring_index == vif->bcast_ring); in __wil_tx_ring() local
2073 if (unlikely(mcast)) { in __wil_tx_ring()
2555 int *mid, u16 *seq, int *mcast, int *retry) in wil_get_reorder_params() argument
2563 *mcast = wil_rxdesc_mcast(d); in wil_get_reorder_params()
/linux/drivers/net/ethernet/freescale/fman/
A Dfman_dtsec.c1058 bool mcast, ghtx; in dtsec_add_hash_mac_address() local
1066 mcast = (bool)((addr & MAC_GROUP_ADDRESS) ? true : false); in dtsec_add_hash_mac_address()
1069 if (ghtx && !mcast) { in dtsec_add_hash_mac_address()
1093 if (mcast) in dtsec_add_hash_mac_address()
1169 bool mcast, ghtx; in dtsec_del_hash_mac_address() local
1177 mcast = (bool)((addr & MAC_GROUP_ADDRESS) ? true : false); in dtsec_del_hash_mac_address()
1180 if (ghtx && !mcast) { in dtsec_del_hash_mac_address()
1194 if (mcast) in dtsec_del_hash_mac_address()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_nix.c170 if (!mcast) in nix_alloc_mce_list()
173 idx = mcast->next_free_mce; in nix_alloc_mce_list()
174 mcast->next_free_mce += count; in nix_alloc_mce_list()
890 if (!nix_hw->mcast.mce_ctx || in rvu_nix_blk_aq_enq_inst()
2821 struct nix_mcast *mcast; in nix_update_mce_list() local
2843 mcast = &nix_hw->mcast; in nix_update_mce_list()
2844 mutex_lock(&mcast->mce_lock); in nix_update_mce_list()
2950 struct nix_mcast *mcast = &nix_hw->mcast; in nix_setup_mce_tables() local
3021 struct nix_mcast *mcast = &nix_hw->mcast; in nix_setup_mcast() local
4430 struct nix_mcast *mcast; in rvu_nix_block_freemem() local
[all …]
/linux/drivers/infiniband/core/
A Duverbs_cmd.c2483 if (cmd.mlid == mcast->lid && in ib_uverbs_attach_mcast()
2484 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) { in ib_uverbs_attach_mcast()
2489 mcast = kmalloc(sizeof *mcast, GFP_KERNEL); in ib_uverbs_attach_mcast()
2490 if (!mcast) { in ib_uverbs_attach_mcast()
2495 mcast->lid = cmd.mlid; in ib_uverbs_attach_mcast()
2496 memcpy(mcast->gid.raw, cmd.gid, sizeof mcast->gid.raw); in ib_uverbs_attach_mcast()
2502 kfree(mcast); in ib_uverbs_attach_mcast()
2533 if (cmd.mlid == mcast->lid && in ib_uverbs_detach_mcast()
2534 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) { in ib_uverbs_detach_mcast()
2535 list_del(&mcast->list); in ib_uverbs_detach_mcast()
[all …]
A Duverbs_main.c170 struct ib_uverbs_mcast_entry *mcast, *tmp; in ib_uverbs_detach_umcast() local
172 list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) { in ib_uverbs_detach_umcast()
173 ib_detach_mcast(qp, &mcast->gid, mcast->lid); in ib_uverbs_detach_umcast()
174 list_del(&mcast->list); in ib_uverbs_detach_umcast()
175 kfree(mcast); in ib_uverbs_detach_umcast()
/linux/arch/mips/include/asm/octeon/
A Dcvmx-pip-defs.h2109 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/wireless/intel/iwlwifi/mvm/
A Dsta.c2373 bool mcast) in __iwl_mvm_remove_sta_key() argument
2394 if (mcast) in __iwl_mvm_remove_sta_key()
3215 struct ieee80211_key_conf *key, bool mcast, in iwl_mvm_send_sta_key() argument
3291 if (mcast) in iwl_mvm_send_sta_key()
3474 bool mcast) in __iwl_mvm_set_sta_key() argument
3503 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in __iwl_mvm_set_sta_key()
3508 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in __iwl_mvm_set_sta_key()
3598 key_offset, !mcast); in iwl_mvm_set_sta_key()
3600 __iwl_mvm_remove_sta_key(mvm, sta_id, keyconf, mcast); in iwl_mvm_set_sta_key()
3630 else if (!sta && vif->type == NL80211_IFTYPE_AP && mcast) in iwl_mvm_remove_sta_key()
[all …]
/linux/drivers/net/ethernet/atheros/atlx/
A Datl2.h241 unsigned mcast:1; /* multicast packet */ member
290 unsigned mcast:1; /* current packet is multicast */ member
/linux/net/tipc/
A Dname_table.h123 u32 exclude, bool mcast);
/linux/net/ipv6/
A DMakefile11 raw.o icmp.o mcast.o reassembly.o tcp_ipv6.o ping.o \
/linux/include/xen/interface/io/
A Dnetif.h873 } mcast; member
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmac.c909 bool *mcast) in mt7915_mac_write_txwi_80211() argument
919 *mcast = is_multicast_ether_addr(hdr->addr1); in mt7915_mac_write_txwi_80211()
946 FIELD_PREP(MT_TXD2_MULTICAST, *mcast); in mt7915_mac_write_txwi_80211()
948 if (key && *mcast && ieee80211_is_robust_mgmt_frame(skb) && in mt7915_mac_write_txwi_80211()
954 if (!ieee80211_is_data(fc) || *mcast || in mt7915_mac_write_txwi_80211()
987 bool beacon, bool mcast) in mt7915_mac_tx_rate_val() argument
1015 if (mcast && mcast_rate > 0) in mt7915_mac_tx_rate_val()
1040 bool mcast = false; in mt7915_mac_write_txwi() local
1103 mt7915_mac_write_txwi_80211(dev, txwi, skb, key, &mcast); in mt7915_mac_write_txwi()
1106 u16 rate = mt7915_mac_tx_rate_val(mphy, vif, beacon, mcast); in mt7915_mac_write_txwi()
/linux/drivers/net/ethernet/qlogic/qede/
A Dqede_filter.c1058 struct qed_filter_mcast_params mcast; in qede_set_mcast_rx_mac() local
1061 memset(&mcast, 0, sizeof(mcast)); in qede_set_mcast_rx_mac()
1062 mcast.type = opcode; in qede_set_mcast_rx_mac()
1063 mcast.num = num_macs; in qede_set_mcast_rx_mac()
1066 ether_addr_copy(mcast.mac[i], mac); in qede_set_mcast_rx_mac()
1068 return edev->ops->filter_config_mcast(edev->cdev, &mcast); in qede_set_mcast_rx_mac()
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_sriov.c541 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()
563 INIT_LIST_HEAD(&mcast.mcast_list); in bnx2x_vf_mcast()
567 &mcast.mcast_list); in bnx2x_vf_mcast()
571 mcast.mcast_list_len = mc_num; in bnx2x_vf_mcast()
572 rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_SET); in bnx2x_vf_mcast()
577 rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_DEL); in bnx2x_vf_mcast()
/linux/drivers/net/ipvlan/
A Dipvlan.h167 unsigned int len, bool success, bool mcast);

Completed in 91 milliseconds

123