Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/infiniband/ulp/ipoib/
Dipoib_multicast.c74 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-6.6.21/drivers/infiniband/sw/rdmavt/
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()
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 …]
DMakefile11 rdmavt-y := vt.o ah.o cq.o mad.o mcast.o mmap.o mr.o pd.o qp.o \
/linux-6.6.21/net/batman-adv/
Dmulticast.c71 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 …]
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()
Dsoft-interface.c762 atomic_set(&bat_priv->mcast.num_want_all_unsnoopables, 0); in batadv_softif_init_late()
763 atomic_set(&bat_priv->mcast.num_want_all_ipv4, 0); in batadv_softif_init_late()
764 atomic_set(&bat_priv->mcast.num_want_all_ipv6, 0); in batadv_softif_init_late()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge_mcast.c80 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 …]
/linux-6.6.21/Documentation/netlink/specs/
Drt_link.yaml1048 name: mcast-router
1051 name: mcast-snooping
1054 name: mcast-query-use-ifaddr
1057 name: mcast-querier
1060 name: mcast-hash-elasticity
1063 name: mcast-hash-max
1066 name: mcast-last-member-cnt
1069 name: mcast-startup-query-cnt
1072 name: mcast-last-member-intvl
1075 name: mcast-membership-intvl
[all …]
Dhandshake.yaml123 mcast-groups:
/linux-6.6.21/drivers/net/xen-netback/
Dnetback.c847 struct xenvif_mcast_addr *mcast; in xenvif_mcast_add() local
856 mcast = kzalloc(sizeof(*mcast), GFP_ATOMIC); in xenvif_mcast_add()
857 if (!mcast) in xenvif_mcast_add()
860 ether_addr_copy(mcast->addr, addr); in xenvif_mcast_add()
861 list_add_tail_rcu(&mcast->entry, &vif->fe_mcast_addr); in xenvif_mcast_add()
869 struct xenvif_mcast_addr *mcast; in xenvif_mcast_del() local
871 list_for_each_entry_rcu(mcast, &vif->fe_mcast_addr, entry) { in xenvif_mcast_del()
872 if (ether_addr_equal(addr, mcast->addr)) { in xenvif_mcast_del()
874 list_del_rcu(&mcast->entry); in xenvif_mcast_del()
875 kfree_rcu(mcast, rcu); in xenvif_mcast_del()
[all …]
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Drouter.sh217 local mcast=$1; shift
220 $MC_CLI -I $table_name add $if_name $s_addr $mcast $dest_ifs
227 local mcast=$1; shift
230 $MC_CLI -I $table_name remove $if_name $s_addr $mcast $dest_ifs
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-6.6.21/drivers/net/wireless/ath/wil6210/
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()
/linux-6.6.21/drivers/net/ethernet/freescale/fman/
Dfman_dtsec.c1019 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-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c168 static u16 nix_alloc_mce_list(struct nix_mcast *mcast, int count) in nix_alloc_mce_list() argument
172 if (!mcast) in nix_alloc_mce_list()
175 idx = mcast->next_free_mce; in nix_alloc_mce_list()
176 mcast->next_free_mce += count; in nix_alloc_mce_list()
926 if (!nix_hw->mcast.mce_ctx || in rvu_nix_blk_aq_enq_inst()
3036 struct nix_mcast *mcast; in nix_update_mce_list() local
3058 mcast = &nix_hw->mcast; in nix_update_mce_list()
3059 mutex_lock(&mcast->mce_lock); in nix_update_mce_list()
3090 mutex_unlock(&mcast->mce_lock); in nix_update_mce_list()
3165 struct nix_mcast *mcast = &nix_hw->mcast; in nix_setup_mce_tables() local
[all …]
/linux-6.6.21/arch/mips/include/asm/octeon/
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-6.6.21/Documentation/userspace-api/netlink/
Dnetlink-raw.rst48 mcast-groups:
/linux-6.6.21/drivers/infiniband/core/
Duverbs_cmd.c2475 struct ib_uverbs_mcast_entry *mcast; in ib_uverbs_attach_mcast() local
2489 list_for_each_entry(mcast, &obj->mcast_list, list) in ib_uverbs_attach_mcast()
2490 if (cmd.mlid == mcast->lid && in ib_uverbs_attach_mcast()
2491 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) { in ib_uverbs_attach_mcast()
2496 mcast = kmalloc(sizeof *mcast, GFP_KERNEL); in ib_uverbs_attach_mcast()
2497 if (!mcast) { in ib_uverbs_attach_mcast()
2502 mcast->lid = cmd.mlid; in ib_uverbs_attach_mcast()
2503 memcpy(mcast->gid.raw, cmd.gid, sizeof mcast->gid.raw); in ib_uverbs_attach_mcast()
2505 ret = ib_attach_mcast(qp, &mcast->gid, cmd.mlid); in ib_uverbs_attach_mcast()
2507 list_add_tail(&mcast->list, &obj->mcast_list); in ib_uverbs_attach_mcast()
[all …]
Duverbs_main.c181 struct ib_uverbs_mcast_entry *mcast, *tmp; in ib_uverbs_detach_umcast() local
183 list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) { in ib_uverbs_detach_umcast()
184 ib_detach_mcast(qp, &mcast->gid, mcast->lid); in ib_uverbs_detach_umcast()
185 list_del(&mcast->list); in ib_uverbs_detach_umcast()
186 kfree(mcast); in ib_uverbs_detach_umcast()
/linux-6.6.21/drivers/net/ethernet/atheros/atlx/
Datl2.h241 unsigned mcast:1; /* multicast packet */ member
290 unsigned mcast:1; /* current packet is multicast */ member
/linux-6.6.21/tools/testing/selftests/net/
Dtest_vxlan_vnifiltering.sh207 mcast=$5
257 if [ $mcast -eq 1 ]; then
296 if [ $mcast -eq 1 ]; then
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c2608 bool mcast) in __iwl_mvm_remove_sta_key() argument
2629 if (mcast) in __iwl_mvm_remove_sta_key()
3546 struct ieee80211_key_conf *key, bool mcast, in iwl_mvm_send_sta_key() argument
3621 if (mcast) in iwl_mvm_send_sta_key()
3807 bool mcast) in __iwl_mvm_set_sta_key() argument
3841 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in __iwl_mvm_set_sta_key()
3846 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in __iwl_mvm_set_sta_key()
3856 bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE); in iwl_mvm_set_sta_key() local
3922 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast); in iwl_mvm_set_sta_key()
3936 key_offset, !mcast); in iwl_mvm_set_sta_key()
[all …]
/linux-6.6.21/net/tipc/
Dname_table.h123 u32 exclude, bool mcast);
/linux-6.6.21/include/xen/interface/io/
Dnetif.h873 } mcast; member
/linux-6.6.21/net/ipv6/
DMakefile11 raw.o icmp.o mcast.o reassembly.o tcp_ipv6.o ping.o \

1234