/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/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 | 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() 1092 if (!nix_hw->mcast.mce_ctx || in rvu_nix_blk_aq_enq_inst() 3447 struct nix_mcast *mcast; in nix_update_mce_list() local 3469 mcast = &nix_hw->mcast; in nix_update_mce_list() 3470 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()
|
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/net/batman-adv/ |
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()
|
/linux/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 2476 struct ib_uverbs_mcast_entry *mcast; in ib_uverbs_attach_mcast() local 2490 list_for_each_entry(mcast, &obj->mcast_list, list) in ib_uverbs_attach_mcast() 2491 if (cmd.mlid == mcast->lid && in ib_uverbs_attach_mcast() 2492 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) { in ib_uverbs_attach_mcast() 2497 mcast = kmalloc(sizeof *mcast, GFP_KERNEL); in ib_uverbs_attach_mcast() 2498 if (!mcast) { in ib_uverbs_attach_mcast() 2503 mcast->lid = cmd.mlid; in ib_uverbs_attach_mcast() 2504 memcpy(mcast->gid.raw, cmd.gid, sizeof mcast->gid.raw); in ib_uverbs_attach_mcast() 2506 ret = ib_attach_mcast(qp, &mcast->gid, cmd.mlid); in ib_uverbs_attach_mcast() 2508 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/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);
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2_utils.h | 513 u8 mcast:1; member 530 } mcast; member
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfi_enet.h | 682 u64 mcast; member 701 u64 mcast; member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_l2.c | 2752 struct qed_filter_mcast mcast; in qed_configure_filter_mcast() local 2755 memset(&mcast, 0, sizeof(mcast)); in qed_configure_filter_mcast() 2758 mcast.opcode = QED_FILTER_ADD; in qed_configure_filter_mcast() 2761 mcast.opcode = QED_FILTER_REMOVE; in qed_configure_filter_mcast() 2768 mcast.num_mc_addrs = params->num; in qed_configure_filter_mcast() 2769 for (i = 0; i < mcast.num_mc_addrs; i++) in qed_configure_filter_mcast() 2770 ether_addr_copy(mcast.mac[i], params->mac[i]); in qed_configure_filter_mcast() 2772 return qed_filter_mcast_cmd(cdev, &mcast, QED_SPQ_MODE_CB, NULL); in qed_configure_filter_mcast()
|