/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/drivers/infiniband/sw/rdmavt/ |
H A 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 …]
|
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/net/batman-adv/ |
H A D | multicast.c | 71 queue_delayed_work(batadv_event_workqueue, &bat_priv->mcast.work, in batadv_mcast_start_timer() 690 hlist_for_each_entry_safe(mcast_entry, tmp, &bat_priv->mcast.mla_list, in batadv_mcast_mla_tt_retract() 725 &bat_priv->mcast.mla_list)) in batadv_mcast_mla_tt_add() 734 hlist_add_head(&mcast_entry->list, &bat_priv->mcast.mla_list); in batadv_mcast_mla_tt_add() 772 else if (!bat_priv->mcast.mla_flags.bridged && !new_state->exists) in batadv_mcast_querier_log() 810 struct batadv_mcast_mla_flags *old_flags = &bat_priv->mcast.mla_flags; in batadv_mcast_bridge_log() 839 bool old_enabled = bat_priv->mcast.mla_flags.enabled; in batadv_mcast_flags_log() 840 u8 old_flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_flags_log() 876 if (!memcmp(flags, &bat_priv->mcast.mla_flags, sizeof(*flags))) in batadv_mcast_mla_flags_update() 888 bat_priv->mcast.mla_flags = *flags; in batadv_mcast_mla_flags_update() [all …]
|
H A D | main.c | 165 spin_lock_init(&bat_priv->mcast.mla_lock); in batadv_mesh_init() 166 spin_lock_init(&bat_priv->mcast.want_lists_lock); in batadv_mesh_init() 177 INIT_HLIST_HEAD(&bat_priv->mcast.want_all_unsnoopables_list); in batadv_mesh_init() 178 INIT_HLIST_HEAD(&bat_priv->mcast.want_all_ipv4_list); in batadv_mesh_init() 179 INIT_HLIST_HEAD(&bat_priv->mcast.want_all_ipv6_list); in batadv_mesh_init() 185 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 | soft-interface.c | 765 atomic_set(&bat_priv->mcast.num_want_all_unsnoopables, 0); in batadv_softif_init_late() 766 atomic_set(&bat_priv->mcast.num_want_all_ipv4, 0); in batadv_softif_init_late() 767 atomic_set(&bat_priv->mcast.num_want_all_ipv6, 0); in batadv_softif_init_late() 768 atomic_set(&bat_priv->mcast.num_no_mc_ptype_capa, 0); in batadv_softif_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 …]
|
/linux/drivers/net/xen-netback/ |
H A D | netback.c | 848 struct xenvif_mcast_addr *mcast; in xenvif_mcast_add() local 857 mcast = kzalloc(sizeof(*mcast), GFP_ATOMIC); in xenvif_mcast_add() 858 if (!mcast) in xenvif_mcast_add() 861 ether_addr_copy(mcast->addr, addr); in xenvif_mcast_add() 862 list_add_tail_rcu(&mcast->entry, &vif->fe_mcast_addr); in xenvif_mcast_add() 870 struct xenvif_mcast_addr *mcast; in xenvif_mcast_del() local 872 list_for_each_entry_rcu(mcast, &vif->fe_mcast_addr, entry) { in xenvif_mcast_del() 873 if (ether_addr_equal(addr, mcast->addr)) { in xenvif_mcast_del() 875 list_del_rcu(&mcast->entry); in xenvif_mcast_del() 876 kfree_rcu(mcast, rcu); in xenvif_mcast_del() [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_nix.c | 176 static int nix_alloc_mce_list(struct nix_mcast *mcast, int count, u8 dir) in nix_alloc_mce_list() argument 181 if (!mcast) in nix_alloc_mce_list() 184 mce_counter = &mcast->mce_counter[dir]; in nix_alloc_mce_list() 192 static void nix_free_mce_list(struct nix_mcast *mcast, int count, int start, u8 dir) in nix_free_mce_list() argument 196 if (!mcast) in nix_free_mce_list() 199 mce_counter = &mcast->mce_counter[dir]; in nix_free_mce_list() 1044 if (!nix_hw->mcast.mce_ctx || in rvu_nix_blk_aq_enq_inst() 3399 struct nix_mcast *mcast; in nix_update_mce_list() local 3421 mcast = &nix_hw->mcast; in nix_update_mce_list() 3422 mutex_lock(&mcast->mce_lock); in nix_update_mce_list() [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | router.sh | 217 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
|
H A 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/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()
|
/linux/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 2474 struct ib_uverbs_mcast_entry *mcast; in ib_uverbs_attach_mcast() local 2488 list_for_each_entry(mcast, &obj->mcast_list, list) in ib_uverbs_attach_mcast() 2489 if (cmd.mlid == mcast->lid && in ib_uverbs_attach_mcast() 2490 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) { in ib_uverbs_attach_mcast() 2495 mcast = kmalloc(sizeof *mcast, GFP_KERNEL); in ib_uverbs_attach_mcast() 2496 if (!mcast) { in ib_uverbs_attach_mcast() 2501 mcast->lid = cmd.mlid; in ib_uverbs_attach_mcast() 2502 memcpy(mcast->gid.raw, cmd.gid, sizeof mcast->gid.raw); in ib_uverbs_attach_mcast() 2504 ret = ib_attach_mcast(qp, &mcast->gid, cmd.mlid); in ib_uverbs_attach_mcast() 2506 list_add_tail(&mcast->list, &obj->mcast_list); in ib_uverbs_attach_mcast() [all …]
|
/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/tools/testing/selftests/net/ |
H A D | test_vxlan_vnifiltering.sh | 202 mcast=$5 251 if [ $mcast -eq 1 ]; then 290 if [ $mcast -eq 1 ]; then
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | sta.c | 2634 bool mcast) in __iwl_mvm_remove_sta_key() argument 2655 if (mcast) in __iwl_mvm_remove_sta_key() 3553 struct ieee80211_key_conf *key, bool mcast, in iwl_mvm_send_sta_key() argument 3631 if (mcast) in iwl_mvm_send_sta_key() 3817 bool mcast) in __iwl_mvm_set_sta_key() argument 3851 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in __iwl_mvm_set_sta_key() 3856 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in __iwl_mvm_set_sta_key() 3866 bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE); in iwl_mvm_set_sta_key() local 3932 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast); in iwl_mvm_set_sta_key() 3946 key_offset, !mcast); in iwl_mvm_set_sta_key() [all …]
|
/linux/net/tipc/ |
H A D | name_table.h | 123 u32 exclude, bool mcast);
|
/linux/net/ipv6/ |
H A D | Makefile | 11 raw.o icmp.o mcast.o reassembly.o tcp_ipv6.o ping.o \
|
/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 | 1058 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/ |
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() 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/Documentation/driver-api/ |
H A D | infiniband.rst | 67 .. kernel-doc:: drivers/infiniband/sw/rdmavt/mcast.c
|
/linux/drivers/net/ipvlan/ |
H A D | ipvlan.h | 168 unsigned int len, bool success, bool mcast);
|