/Linux-v5.15/drivers/infiniband/ulp/ipoib/ |
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-v5.15/drivers/infiniband/sw/rdmavt/ |
D | mcast.c | 67 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() 73 mcast->mcast_addr.mgid = *mgid; in rvt_mcast_alloc() 74 mcast->mcast_addr.lid = lid; in rvt_mcast_alloc() 76 INIT_LIST_HEAD(&mcast->qp_list); in rvt_mcast_alloc() 77 init_waitqueue_head(&mcast->wait); in rvt_mcast_alloc() 78 atomic_set(&mcast->refcount, 0); in rvt_mcast_alloc() 81 return mcast; in rvt_mcast_alloc() 84 static void rvt_mcast_free(struct rvt_mcast *mcast) in rvt_mcast_free() argument [all …]
|
D | Makefile | 11 rdmavt-y := vt.o ah.o cq.o mad.o mcast.o mmap.o mr.o pd.o qp.o \
|
/Linux-v5.15/net/batman-adv/ |
D | multicast.c | 71 queue_delayed_work(batadv_event_workqueue, &bat_priv->mcast.work, in batadv_mcast_start_timer() 658 hlist_for_each_entry_safe(mcast_entry, tmp, &bat_priv->mcast.mla_list, in batadv_mcast_mla_tt_retract() 693 &bat_priv->mcast.mla_list)) in batadv_mcast_mla_tt_add() 702 hlist_add_head(&mcast_entry->list, &bat_priv->mcast.mla_list); in batadv_mcast_mla_tt_add() 740 else if (!bat_priv->mcast.mla_flags.bridged && !new_state->exists) in batadv_mcast_querier_log() 778 struct batadv_mcast_mla_flags *old_flags = &bat_priv->mcast.mla_flags; in batadv_mcast_bridge_log() 807 bool old_enabled = bat_priv->mcast.mla_flags.enabled; in batadv_mcast_flags_log() 808 u8 old_flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_flags_log() 842 if (!memcmp(flags, &bat_priv->mcast.mla_flags, sizeof(*flags))) in batadv_mcast_mla_flags_update() 854 bat_priv->mcast.mla_flags = *flags; in batadv_mcast_mla_flags_update() [all …]
|
D | main.c | 164 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()
|
D | soft-interface.c | 758 atomic_set(&bat_priv->mcast.num_want_all_unsnoopables, 0); in batadv_softif_init_late() 759 atomic_set(&bat_priv->mcast.num_want_all_ipv4, 0); in batadv_softif_init_late() 760 atomic_set(&bat_priv->mcast.num_want_all_ipv6, 0); in batadv_softif_init_late()
|
/Linux-v5.15/drivers/net/xen-netback/ |
D | netback.c | 732 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() 746 list_add_tail_rcu(&mcast->entry, &vif->fe_mcast_addr); in xenvif_mcast_add() 754 struct xenvif_mcast_addr *mcast; in xenvif_mcast_del() local 756 list_for_each_entry_rcu(mcast, &vif->fe_mcast_addr, entry) { in xenvif_mcast_del() 757 if (ether_addr_equal(addr, mcast->addr)) { in xenvif_mcast_del() 759 list_del_rcu(&mcast->entry); in xenvif_mcast_del() 760 kfree_rcu(mcast, rcu); in xenvif_mcast_del() [all …]
|
/Linux-v5.15/tools/testing/selftests/net/forwarding/ |
D | router.sh | 199 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
|
D | router_multicast.sh | 216 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-v5.15/drivers/net/wireless/ath/wil6210/ |
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()
|
/Linux-v5.15/drivers/net/ethernet/freescale/fman/ |
D | fman_dtsec.c | 1058 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-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 165 static u16 nix_alloc_mce_list(struct nix_mcast *mcast, int count) in nix_alloc_mce_list() argument 169 if (!mcast) in nix_alloc_mce_list() 172 idx = mcast->next_free_mce; in nix_alloc_mce_list() 173 mcast->next_free_mce += count; in nix_alloc_mce_list() 889 if (!nix_hw->mcast.mce_ctx || in rvu_nix_blk_aq_enq_inst() 2745 struct nix_mcast *mcast; in nix_update_mce_list() local 2767 mcast = &nix_hw->mcast; in nix_update_mce_list() 2768 mutex_lock(&mcast->mce_lock); in nix_update_mce_list() 2799 mutex_unlock(&mcast->mce_lock); in nix_update_mce_list() 2874 struct nix_mcast *mcast = &nix_hw->mcast; in nix_setup_mce_tables() local [all …]
|
/Linux-v5.15/drivers/infiniband/core/ |
D | uverbs_cmd.c | 2471 struct ib_uverbs_mcast_entry *mcast; in ib_uverbs_attach_mcast() local 2485 list_for_each_entry(mcast, &obj->mcast_list, list) in ib_uverbs_attach_mcast() 2486 if (cmd.mlid == mcast->lid && in ib_uverbs_attach_mcast() 2487 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) { in ib_uverbs_attach_mcast() 2492 mcast = kmalloc(sizeof *mcast, GFP_KERNEL); in ib_uverbs_attach_mcast() 2493 if (!mcast) { in ib_uverbs_attach_mcast() 2498 mcast->lid = cmd.mlid; in ib_uverbs_attach_mcast() 2499 memcpy(mcast->gid.raw, cmd.gid, sizeof mcast->gid.raw); in ib_uverbs_attach_mcast() 2501 ret = ib_attach_mcast(qp, &mcast->gid, cmd.mlid); in ib_uverbs_attach_mcast() 2503 list_add_tail(&mcast->list, &obj->mcast_list); in ib_uverbs_attach_mcast() [all …]
|
D | uverbs_main.c | 170 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-v5.15/arch/mips/include/asm/octeon/ |
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-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | sta.c | 2373 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() 3518 bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE); in iwl_mvm_set_sta_key() local 3584 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast); in iwl_mvm_set_sta_key() 3598 key_offset, !mcast); in iwl_mvm_set_sta_key() [all …]
|
/Linux-v5.15/drivers/net/ethernet/atheros/atlx/ |
D | atl2.h | 241 unsigned mcast:1; /* multicast packet */ member 290 unsigned mcast:1; /* current packet is multicast */ member
|
/Linux-v5.15/net/tipc/ |
D | name_table.h | 123 u32 exclude, bool mcast);
|
/Linux-v5.15/include/xen/interface/io/ |
D | netif.h | 890 } mcast; member
|
/Linux-v5.15/net/ipv6/ |
D | Makefile | 11 raw.o icmp.o mcast.o reassembly.o tcp_ipv6.o ping.o \
|
/Linux-v5.15/drivers/net/ipvlan/ |
D | ipvlan.h | 167 unsigned int len, bool success, bool mcast);
|
/Linux-v5.15/Documentation/driver-api/ |
D | infiniband.rst | 67 .. kernel-doc:: drivers/infiniband/sw/rdmavt/mcast.c
|
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/ |
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() 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-v5.15/drivers/net/ethernet/qlogic/qed/ |
D | qed_l2.c | 2743 struct qed_filter_mcast mcast; in qed_configure_filter_mcast() local 2746 memset(&mcast, 0, sizeof(mcast)); in qed_configure_filter_mcast() 2749 mcast.opcode = QED_FILTER_ADD; in qed_configure_filter_mcast() 2752 mcast.opcode = QED_FILTER_REMOVE; in qed_configure_filter_mcast() 2759 mcast.num_mc_addrs = params->num; in qed_configure_filter_mcast() 2760 for (i = 0; i < mcast.num_mc_addrs; i++) in qed_configure_filter_mcast() 2761 ether_addr_copy(mcast.mac[i], params->mac[i]); in qed_configure_filter_mcast() 2763 return qed_filter_mcast_cmd(cdev, &mcast, QED_SPQ_MODE_CB, NULL); in qed_configure_filter_mcast() 2775 return qed_configure_filter_mcast(cdev, ¶ms->filter.mcast); in qed_configure_filter()
|
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2_utils.h | 485 u8 mcast:1; member 502 } mcast; member
|