/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | mctp-i2c-controller.yaml | 4 $id: http://devicetree.org/schemas/net/mctp-i2c-controller.yaml# 7 title: MCTP I2C transport binding 13 An mctp-i2c-controller defines a local MCTP endpoint on an I2C controller. 14 MCTP I2C is specified by DMTF DSP0237. 16 An mctp-i2c-controller must be attached to an I2C adapter which supports 18 busses) are attached to the mctp-i2c-controller with a 'mctp-controller' 19 property on each used bus. Each mctp-controller I2C bus will be presented 20 to the host system as a separate MCTP I2C instance. 24 const: mctp-i2c-controller 47 mctp-controller; [all …]
|
/Linux-v6.1/drivers/net/mctp/ |
D | Kconfig | 2 if MCTP 4 menu "MCTP Device Drivers" 7 tristate "MCTP serial transport" 11 This driver provides an MCTP-over-serial interface, through a 13 MCTP Serial Transport Binding". By attaching the ldisc to a serial 14 device, we get a new net device to transport MCTP packets. 16 This allows communication with external MCTP endpoints which use 18 provide MCTP connectivity between virtual machines, by forwarding 21 Say y here if you need to connect to MCTP endpoints over serial. To 22 compile as a module, use m; the module will be called mctp-serial. [all …]
|
D | mctp-i2c.c | 3 * Management Controller Transport Protocol (MCTP) 5 * "DSP0237 Management Component Transport Protocol (MCTP) SMBus/I2C 9 * A netdev is created for each I2C bus that handles MCTP. In the case of an I2C 14 * mctp-i2c-controller.yml devicetree binding has further details. 25 #include <net/mctp.h> 41 #define MCTP_I2C_OF_PROP "mctp-controller" 136 dev_err(&client->dev, "failed, MCTP requires a 7-bit I2C address, addr=0x%x\n", in mctp_i2c_new_client() 150 "A mctp-i2c-controller client cannot be placed on an I2C mux adapter.\n" in mctp_i2c_new_client() 152 " then set mctp-controller property on adapters to attach\n"); in mctp_i2c_new_client() 203 /* Switch the mctp i2c device to receive responses. [all …]
|
D | mctp-serial.c | 3 * Management Component Transport Protocol (MCTP) - serial transport 5 * "DSP0253 - Management Component Transport Protocol (MCTP) Serial Transport 10 * This driver provides DSP0253-type MCTP-over-serial transport using a Linux 24 #include <linux/mctp.h> 25 #include <net/mctp.h> 28 #define MCTP_SERIAL_MTU 68 /* base mtu (64) + mctp header */ 422 /* we limit at the fixed MTU, which is also the MCTP-standard in mctp_serial_setup() 500 .name = "mctp", 522 MODULE_DESCRIPTION("MCTP Serial transport");
|
D | Makefile | 1 obj-$(CONFIG_MCTP_SERIAL) += mctp-serial.o 2 obj-$(CONFIG_MCTP_TRANSPORT_I2C) += mctp-i2c.o
|
/Linux-v6.1/net/mctp/ |
D | Kconfig | 2 menuconfig MCTP config 4 bool "MCTP core protocol support" 6 Management Component Transport Protocol (MCTP) is an in-system 11 This option enables core MCTP support. For communicating with other 16 bool "MCTP core tests" if !KUNIT_ALL_TESTS 17 depends on MCTP=y && KUNIT=y 22 depends on MCTP
|
D | neigh.c | 3 * Management Component Transport Protocol (MCTP) - routing 14 #include <linux/mctp.h> 19 #include <net/mctp.h> 32 mutex_lock(&net->mctp.neigh_lock); in mctp_neigh_add() 55 list_add_rcu(&neigh->list, &net->mctp.neighbours); in mctp_neigh_add() 58 mutex_unlock(&net->mctp.neigh_lock); in mctp_neigh_add() 76 mutex_lock(&net->mctp.neigh_lock); in mctp_neigh_remove_dev() 77 list_for_each_entry_safe(neigh, tmp, &net->mctp.neighbours, list) { in mctp_neigh_remove_dev() 85 mutex_unlock(&net->mctp.neigh_lock); in mctp_neigh_remove_dev() 95 mutex_lock(&net->mctp.neigh_lock); in mctp_neigh_remove() [all …]
|
D | af_mctp.c | 3 * Management Component Transport Protocol (MCTP) 12 #include <linux/mctp.h> 16 #include <net/mctp.h> 21 #include <trace/events/mctp.h> 68 /* it's a valid sockaddr for MCTP, cast and do protocol checks */ in mctp_bind() 286 __must_hold(&net->mctp.keys_lock) in __mctp_key_remove() 383 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_ioctl_alloctag() 387 spin_unlock_irqrestore(&net->mctp.keys_lock, flags); in mctp_ioctl_alloctag() 418 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_ioctl_droptag() 434 spin_unlock_irqrestore(&net->mctp.keys_lock, flags); in mctp_ioctl_droptag() [all …]
|
D | route.c | 3 * Management Component Transport Protocol (MCTP) - routing 15 #include <linux/mctp.h> 22 #include <net/mctp.h> 27 #include <trace/events/mctp.h> 58 sk_for_each_rcu(sk, &net->mctp.binds) { in mctp_lookup_bind() 108 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_lookup_key() 110 hlist_for_each_entry(key, &net->mctp.keys, hlist) { in mctp_lookup_key() 124 spin_unlock(&net->mctp.keys_lock); in mctp_lookup_key() 127 spin_unlock_irqrestore(&net->mctp.keys_lock, flags); in mctp_lookup_key() 178 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_key_add() [all …]
|
D | Makefile | 2 obj-$(CONFIG_MCTP) += mctp.o 3 mctp-objs := af_mctp.o device.o route.o neigh.o
|
D | device.c | 3 * Management Component Transport Protocol (MCTP) - device implementation. 11 #include <linux/mctp.h> 18 #include <net/mctp.h> 418 /* Matches netdev types that should have MCTP handling */
|
/Linux-v6.1/Documentation/networking/ |
D | mctp.rst | 4 Management Component Transport Protocol (MCTP) 7 net/mctp/ contains protocol support for MCTP, as defined by DMTF standard 9 provided in drivers/net/mctp/. 11 The core code provides a socket-based interface to send and receive MCTP 17 The kernel models the local MCTP topology through two items: interfaces and 20 An interface (or "link") is an instance of an MCTP physical transport binding 24 A network defines a unique address space for MCTP endpoints by endpoint-ID 41 MCTP uses ``AF_MCTP`` / ``PF_MCTP`` for the address- and protocol- families. 42 Since MCTP is message-based, only ``SOCK_DGRAM`` sockets are supported. 76 The following sections describe the MCTP-specific behaviours of the standard [all …]
|
D | index.rst | 72 mctp
|
/Linux-v6.1/include/net/netns/ |
D | mctp.h | 3 * MCTP per-net structures 29 /* MCTP network */
|
/Linux-v6.1/include/net/ |
D | mctp.h | 3 * Management Component Transport Protocol (MCTP) 13 #include <linux/mctp.h> 18 /* MCTP packet definitions */ 226 * These are held in the pernet->mctp.routes list, with RCU protection for
|
D | mctpdevice.h | 3 * Management Component Transport Protocol (MCTP) - device
|
/Linux-v6.1/Documentation/devicetree/bindings/i2c/ |
D | i2c.txt | 98 - mctp-controller 100 MCTP over I2C transport.
|
/Linux-v6.1/net/mctp/test/ |
D | utils.c | 4 #include <linux/mctp.h>
|
D | route-test.c | 58 list_add_rcu(&rt->rt.list, &net->mctp.routes); in mctp_test_create_route() 562 mns = &sock_net(sock->sk)->mctp; in mctp_test_route_input_sk_keys() 680 .name = "mctp",
|
/Linux-v6.1/include/uapi/linux/ |
D | mctp.h | 3 * Management Component Transport Protocol (MCTP)
|
D | tty.h | 39 #define N_MCTP 28 /* MCTP-over-serial */
|
/Linux-v6.1/include/trace/events/ |
D | mctp.h | 4 #define TRACE_SYSTEM mctp
|
/Linux-v6.1/net/ |
D | Makefile | 80 obj-$(CONFIG_MCTP) += mctp/
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_fw_hdr.h | 53 CODE_MCTP_PASSTHRU, /* 7 - NCSI / MCTP Passt-hrough firmware */
|
/Linux-v6.1/drivers/net/ |
D | Makefile | 75 obj-$(CONFIG_MCTP) += mctp/
|