Home
last modified time | relevance | path

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

12

/linux-6.14.4/Documentation/netlink/specs/
Dnlctrl.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
4 protocol: genetlink-legacy
5 uapi-header: linux/genetlink.h
8 genetlink meta-family that exposes information about all genetlink
12 -
13 name: op-flags
15 enum-name:
17 - admin-perm
18 - cmd-cap-do
19 - cmd-cap-dump
[all …]
Drt_neigh.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 name: rt-neigh
4 protocol: netlink-raw
11 -
15 -
16 name: ndm-family
18 -
19 name: ndm-pad
22 -
23 name: ndm-ifindex
[all …]
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 …]
Drt_rule.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 name: rt-rule
4 protocol: netlink-raw
11 -
15 -
18 -
22 -
23 name: fib-rule-hdr
26 -
29 -
[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.14.4/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.14.4/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.14.4/tools/testing/selftests/drivers/net/bonding/
Dbond_options.sh2 # SPDX-License-Identifier: GPL-2.0
22 ip -n ${s_ns} link set eth0 type bond_slave prio 10
23 [[ $? -ne 0 ]] && skip=0
26 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10"
27 [[ $? -ne 0 ]] && skip=0
37 ip -n ${s_ns} link add bond1 type bond ns_ip6_target ${g_ip6}
38 [[ $? -ne 0 ]] && skip=0
41 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}"
42 [[ $? -ne 0 ]] && skip=0
44 ip -n ${s_ns} link del bond1
[all …]
/linux-6.14.4/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.14.4/tools/net/ynl/pyynl/
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.14.4/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,
94 * Must be called with the ufile->device->disassociate_srcu held, and the lock
104 struct ib_ucontext *ucontext = smp_load_acquire(&ufile->ucontext); in ib_uverbs_get_ucontext_file()
106 if (!srcu_dereference(ufile->device->ib_dev, in ib_uverbs_get_ucontext_file()
107 &ufile->device->disassociate_srcu)) in ib_uverbs_get_ucontext_file()
108 return ERR_PTR(-EIO); in ib_uverbs_get_ucontext_file()
111 return ERR_PTR(-EINVAL); in ib_uverbs_get_ucontext_file()
119 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
172 /* lock for mcast list */
263 res = attr->port_cap_flags & ~(u32)IB_UVERBS_PCF_IP_BASED_GIDS; in make_port_cap_flags()
265 if (attr->ip_gids) in make_port_cap_flags()
[all …]
/linux-6.14.4/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.14.4/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.14.4/tools/net/ynl/pyynl/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)
166 sub-message type
168 is_auto_scalar bool, attr is a variable-size scalar
176 self.is_multi = yaml.get('multi-attr', False)
178 self.sub_type = yaml.get('sub-type')
179 self.byte_order = yaml.get('byte-order')
181 self.display_hint = yaml.get('display-hint')
182 self.sub_message = yaml.get('sub-message')
[all …]
/linux-6.14.4/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-2024 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 …]

12