Home
last modified time | relevance | path

Searched +full:mcast +full:- +full:groups (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.8/drivers/infiniband/sw/rdmavt/
Dmcast.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
12 #include "mcast.h"
15 * rvt_driver_mcast_init - init resources for multicast
26 spin_lock_init(&rdi->n_mcast_grps_lock); in rvt_driver_mcast_init()
30 * rvt_mcast_qp_alloc - alloc a struct to link a QP to mcast GID struct
41 mqp->qp = qp; in rvt_mcast_qp_alloc()
50 struct rvt_qp *qp = mqp->qp; in rvt_mcast_qp_free()
59 * rvt_mcast_alloc - allocate the multicast GID structure
67 struct rvt_mcast *mcast; in rvt_mcast_alloc() local
69 mcast = kzalloc(sizeof(*mcast), GFP_KERNEL); in rvt_mcast_alloc()
[all …]
/linux-6.8/Documentation/netlink/specs/
Drt_link.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 name: rt-link
4 protocol: netlink-raw
11 -
12 name: ifinfo-flags
15 -
17 -
19 -
21 -
23 -
[all …]
Dhandshake.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
15 -
17 name: handler-class
18 value-start: 0
20 -
22 name: msg-type
23 value-start: 0
25 -
28 value-start: 0
31 attribute-sets:
[all …]
Drt_addr.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 name: rt-addr
4 protocol: netlink-raw
11 -
15 -
16 name: ifa-family
18 -
19 name: ifa-prefixlen
21 -
22 name: ifa-flags
[all …]
Dovs_datapath.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
6 uapi-header: linux/openvswitch.h
12 -
13 name: ovs-header
16 -
17 name: dp-ifindex
19 -
20 name: user-features
22 name-prefix: ovs-dp-f-
[all …]
Dovs_vport.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
6 uapi-header: linux/openvswitch.h
12 -
13 name: ovs-header
16 -
17 name: dp-ifindex
19 -
20 name: vport-type
22 enum-name: ovs-vport-type
[all …]
Dnetdev.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
9 -
11 name: xdp-act
12 render-max: true
14 -
19 -
23 -
24 name: ndo-xmit
27 -
28 name: xsk-zerocopy
[all …]
Ddpll.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
8 -
16 -
20 -
23 render-max: true
24 -
26 name: lock-status
31 -
37 -
41 -
[all …]
/linux-6.8/tools/net/ynl/
Dynl-gen-rst.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8; mode: python -*-
34 def headroom(level: int) -> str:
39 def bold(text: str) -> str:
44 def inline(text: str) -> str:
49 def sanitize(text: str) -> str:
55 def rst_fields(key: str, value: str, level: int = 0) -> str:
60 def rst_definition(key: str, value: Any, level: int = 0) -> str:
65 def rst_paragraph(paragraph: str, level: int = 0) -> str:
70 def rst_bullet(item: str, level: int = 0) -> str:
[all …]
/linux-6.8/Documentation/userspace-api/netlink/
Dspecs.rst1 .. SPDX-License-Identifier: BSD-3-Clause
17 - the C uAPI header
18- documentation of the protocol as a ReST file - see :ref:`Documentation/networking/netlink_spec/i…
19 - policy tables for input attribute validation
20 - operation tables
25 See :doc:`intro-specs` for a practical starting guide.
28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)``
40 - ``genetlink`` - most streamlined, should be used by all new families
41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing
45 - ``genetlink-legacy`` - Generic Netlink catch all schema supporting quirks of
[all …]
Dnetlink-raw.rst1 .. SPDX-License-Identifier: BSD-3-Clause
8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol
14 The netlink-raw schema extends the :doc:`genetlink-legacy <genetlink-legacy>`
17 information. The raw netlink families also make use of type-specific
18 sub-messages.
21 -------
29 .. code-block:: yaml
31 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
33 name: rt-addr
34 protocol: netlink-raw
[all …]
/linux-6.8/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge_mcast.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
19 INIT_LIST_HEAD(&bridge->mdb_list); in mlx5_esw_bridge_mdb_init()
20 return rhashtable_init(&bridge->mdb_ht, &mdb_ht_params); in mlx5_esw_bridge_mdb_init()
25 rhashtable_destroy(&bridge->mdb_ht); in mlx5_esw_bridge_mdb_cleanup()
32 return xa_load(&entry->ports, mlx5_esw_bridge_port_key(port)); in mlx5_esw_bridge_mdb_port_lookup()
38 int err = xa_insert(&entry->ports, mlx5_esw_bridge_port_key(port), port, GFP_KERNEL); in mlx5_esw_bridge_mdb_port_insert()
41 entry->num_ports++; in mlx5_esw_bridge_mdb_port_insert()
48 xa_erase(&entry->ports, mlx5_esw_bridge_port_key(port)); in mlx5_esw_bridge_mdb_port_remove()
49 entry->num_ports--; in mlx5_esw_bridge_mdb_port_remove()
60 int num_dests = entry->num_ports, i = 0; in mlx5_esw_bridge_mdb_flow_create()
[all …]
Dlegacy.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
25 struct mlx5_core_dev *dev = esw->dev; in esw_create_legacy_vepa_table()
33 return -EOPNOTSUPP; in esw_create_legacy_vepa_table()
46 esw->fdb_table.legacy.vepa_fdb = fdb; in esw_create_legacy_vepa_table()
53 esw_debug(esw->dev, "Destroy FDB Table\n"); in esw_destroy_legacy_fdb_table()
54 if (!esw->fdb_table.legacy.fdb) in esw_destroy_legacy_fdb_table()
57 if (esw->fdb_table.legacy.promisc_grp) in esw_destroy_legacy_fdb_table()
58 mlx5_destroy_flow_group(esw->fdb_table.legacy.promisc_grp); in esw_destroy_legacy_fdb_table()
59 if (esw->fdb_table.legacy.allmulti_grp) in esw_destroy_legacy_fdb_table()
60 mlx5_destroy_flow_group(esw->fdb_table.legacy.allmulti_grp); in esw_destroy_legacy_fdb_table()
[all …]
/linux-6.8/drivers/infiniband/core/
Duverbs_main.c18 * - Redistributions of source code must retain the above
22 * - Redistributions in binary form must reproduce the above
69 IB_UVERBS_NUM_DYNAMIC_MINOR = IB_UVERBS_MAX_DEVICES - IB_UVERBS_NUM_FIXED_MINOR,
93 * Must be called with the ufile->device->disassociate_srcu held, and the lock
103 struct ib_ucontext *ucontext = smp_load_acquire(&ufile->ucontext); in ib_uverbs_get_ucontext_file()
105 if (!srcu_dereference(ufile->device->ib_dev, in ib_uverbs_get_ucontext_file()
106 &ufile->device->disassociate_srcu)) in ib_uverbs_get_ucontext_file()
107 return ERR_PTR(-EIO); in ib_uverbs_get_ucontext_file()
110 return ERR_PTR(-EINVAL); in ib_uverbs_get_ucontext_file()
118 struct ib_pd *pd = mw->pd; in uverbs_dealloc_mw()
[all …]
Duverbs.h18 * - Redistributions of source code must retain the above
22 * - Redistributions in binary form must reproduce the above
60 udata->inbuf = ibuf; in ib_uverbs_init_udata()
61 udata->outbuf = obuf; in ib_uverbs_init_udata()
62 udata->inlen = ilen; in ib_uverbs_init_udata()
63 udata->outlen = olen; in ib_uverbs_init_udata()
105 const struct attribute_group *groups[2]; member
201 /* lock for mcast list */
292 res = attr->port_cap_flags & ~(u32)IB_UVERBS_PCF_IP_BASED_GIDS; in make_port_cap_flags()
294 if (attr->ip_gids) in make_port_cap_flags()
[all …]
/linux-6.8/Documentation/networking/
Dstatistics.rst1 .. SPDX-License-Identifier: GPL-2.0
14 - standard interface statistics based on
16 - protocol-specific statistics; and
17 - driver-defined statistics available via ethtool.
20 -----------------------------
25 $ ip -s -s link show dev ens4u1u1
28 RX: bytes packets errors dropped overrun mcast
38 Note that `-s` has been specified twice to see all members of
40 If `-s` is specified once the detailed errors won't be shown.
42 `ip` supports JSON formatting via the `-j` option.
[all …]
/linux-6.8/Documentation/netlink/
Dgenetlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
31 enum: [ netlink-raw ] # Trim
32 # Start netlink-raw
34 description: Protocol number to use for netlink-raw
[all …]
/linux-6.8/tools/net/ynl/lib/
Dnlspec.py1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
37 self.ident_name = self.name.replace('-', '_')
119 value_start = self.yaml.get('value-start', 0)
163 sub-message type
165 is_auto_scalar bool, attr is a variable-size scalar
173 self.is_multi = yaml.get('multi-attr', False)
175 self.sub_type = yaml.get('sub-type')
176 self.byte_order = yaml.get('byte-order')
178 self.display_hint = yaml.get('display-hint')
179 self.sub_message = yaml.get('sub-message')
[all …]
/linux-6.8/drivers/net/wireless/ath/ath10k/
Dwmi.h1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff
45 * variable is already 4-byte aligned by virtue of being a u32
527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit
533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \
534 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4))
[all …]
/linux-6.8/include/rdma/
Drdma_vt.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright(c) 2016 - 2019 Intel Corporation.
40 /* non-zero when timer is set */
82 /* Hot-path per CPU counters to avoid cacheline trading to update */
347 /* Driver specific QP modification/notification-of */
424 u32 n_mcast_grps_allocated; /* number of mcast groups allocated */
432 * rvt_set_ibdev_name - Craft an IB device name from client info
447 dev_set_name(&rdi->ibdev.dev, fmt, name, unit); in rvt_set_ibdev_name()
448 strscpy(rdi->ibdev.name, dev_name(&rdi->ibdev.dev), IB_DEVICE_NAME_MAX); in rvt_set_ibdev_name()
452 * rvt_get_ibdev_name - return the IB name
[all …]
/linux-6.8/drivers/infiniband/hw/qib/
Dqib_verbs.c2 * Copyright (c) 2012 - 2018 Intel Corporation. All rights reserved.
3 * Copyright (c) 2006 - 2012 QLogic Corporation. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
91 "Maximum number of multicast groups to support");
140 struct rvt_sge *sg_list = ss->sg_list; in qib_count_sge()
141 struct rvt_sge sge = ss->sge; in qib_count_sge()
142 u8 num_sge = ss->num_sge; in qib_count_sge()
148 if (((long) sge.vaddr & (sizeof(u32) - 1)) || in qib_count_sge()
149 (len != length && (len & (sizeof(u32) - 1)))) { in qib_count_sge()
[all …]
/linux-6.8/drivers/infiniband/hw/hfi1/
Dverbs.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright(c) 2015 - 2020 Intel Corporation.
68 "Maximum number of multicast groups to support");
111 MODULE_PARM_DESC(wss_threshold, "Percentage (1-100) of LLC to use as a threshold for a cacheless co…
135 * Length of header by opcode, 0 --> not supported
276 if (!(ib_rvt_state_ops[packet->qp->state] & RVT_PROCESS_RECV_OK)) in qp_ok()
278 if (((packet->opcode & RVT_OPCODE_QP_MASK) == in qp_ok()
279 packet->qp->allowed_ops) || in qp_ok()
280 (packet->opcode == IB_OPCODE_CNP)) in qp_ok()
281 return opcode_handler_tbl[packet->opcode]; in qp_ok()
[all …]

12