Home
last modified time | relevance | path

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

123

/linux/Documentation/netlink/specs/
H A Dnlctrl.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
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
[all …]
H A Drt-link.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: rt-link
4 protocol: netlink-raw
5 uapi-header: linux/rtnetlink.h
8 doc: >-
12 -
13 name: ifinfo-flags
16 enum-name: net-device-flags
17 name-prefix: iff-
[all …]
H A Drt-neigh.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: rt-neigh
4 protocol: netlink-raw
5 uapi-header: linux/rtnetlink.h
8 doc: >-
12 -
16 -
17 name: ndm-family
19 -
[all …]
H A Dhandshake.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
7 ---
15 -
17 name: handler-class
18 value-start: 0
20 -
22 name: msg-type
23 value-start: 0
25 -
28 value-start: 0
[all …]
H A Dbinder.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 ---
8 uapi-header: linux/android/binder_netlink.h
11 attribute-sets:
12 -
20 -
24 -
28 -
29 name: from-pid
32 -
[all …]
H A Dovs_datapath.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 protocol: genetlink-legacy
6 uapi-header: linux/openvswitch.h
8 doc: >-
12 -
13 name: ovs-header
16 -
17 name: dp-ifindex
19 -
[all …]
H A Dovs_vport.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 protocol: genetlink-legacy
6 uapi-header: linux/openvswitch.h
8 doc: >-
12 -
13 name: ovs-header
16 -
17 name: dp-ifindex
19 -
[all …]
H A Drt-addr.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: rt-addr
4 protocol: netlink-raw
5 uapi-header: linux/rtnetlink.h
8 doc: >-
12 -
16 -
17 name: ifa-family
19 -
[all …]
H A Dpsp.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
9 -
12 entries: [hdr0-aes-gcm-128, hdr0-aes-gcm-256,
13 hdr0-aes-gmac-128, hdr0-aes-gmac-256]
15 attribute-sets:
16 -
19 -
25 -
29 -
[all …]
H A Drt-rule.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: rt-rule
4 protocol: netlink-raw
5 uapi-header: linux/fib_rules.h
8 doc: >-
12 -
16 -
19 -
23 -
[all …]
H A Dovpn.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 # Copyright (c) 2024-2025, OpenVPN Inc.
7 ---
15 -
17 name: nonce-tail-size
19 -
21 name: cipher-alg
22 entries: [none, aes-gcm, chacha20-poly1305]
23 -
25 name: del-peer-reason
[all …]
/linux/drivers/infiniband/sw/rdmavt/
H A 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/Documentation/userspace-api/netlink/
H A 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/netlink/specs/index.rst <…
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 …]
H A 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/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A 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 …]
/linux/tools/net/ynl/pyynl/lib/
H A Ddoc_generator.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8; mode: python -*-
40 def headroom(level: int) -> str:
45 def bold(text: str) -> str:
50 def inline(text: str) -> str:
55 def sanitize(text: str) -> str:
60 def rst_fields(self, key: str, value: str, level: int = 0) -> str:
64 def rst_definition(self, key: str, value: Any, level: int = 0) -> str:
68 def rst_paragraph(self, paragraph: str, level: int = 0) -> str:
72 def rst_bullet(self, item: str, level: int = 0) -> str:
[all …]
H A 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/tools/testing/selftests/drivers/net/bonding/
H A Dbond_options.sh2 # SPDX-License-Identifier: GPL-2.0
24 ip -n ${s_ns} link set eth0 type bond_slave prio 10
25 [[ $? -ne 0 ]] && skip=0
28 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10"
29 [[ $? -ne 0 ]] && skip=0
39 ip -n ${s_ns} link add bond1 type bond ns_ip6_target ${g_ip6}
40 [[ $? -ne 0 ]] && skip=0
43 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}"
44 [[ $? -ne 0 ]] && skip=0
46 ip -n ${s_ns} link del bond1
[all …]
/linux/drivers/infiniband/core/
H A Duverbs_main.c18 * - Redistributions of source code must retain the above
22 * - Redistributions in binary form must reproduce the above
70 IB_UVERBS_NUM_DYNAMIC_MINOR = IB_UVERBS_MAX_DEVICES - IB_UVERBS_NUM_FIXED_MINOR,
95 * Must be called with the ufile->device->disassociate_srcu held, and the lock
105 struct ib_ucontext *ucontext = smp_load_acquire(&ufile->ucontext); in ib_uverbs_get_ucontext_file()
107 if (!srcu_dereference(ufile->device->ib_dev, in ib_uverbs_get_ucontext_file()
108 &ufile->device->disassociate_srcu)) in ib_uverbs_get_ucontext_file()
109 return ERR_PTR(-EIO); in ib_uverbs_get_ucontext_file()
112 return ERR_PTR(-EINVAL); in ib_uverbs_get_ucontext_file()
120 struct ib_pd *pd = mw->pd; in uverbs_dealloc_mw()
[all …]
H A 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/Documentation/networking/
H A 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/Documentation/netlink/
H A 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
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
H A 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, const name, or limit based on fixed-width type
18 # e.g. u8-min, u16-max, etc.
20 pattern: ^[0-9A-Za-z_-]+$
[all …]
H A 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
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
27 required: [ name, doc, attribute-sets, operations ]
[all …]
H A 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
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]

123