/linux/Documentation/devicetree/bindings/net/ |
H A D | mctp-i2c-controller.yaml | 4 $id: http://devicetree.org/schemas/net/mctp-i2c-controller.yaml# 7 title: MCTP I2C transport 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 I2 [all...] |
/linux/net/mctp/ |
H A 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 18 depends on MCTP=y && KUNIT=y 23 depends on MCTP
|
H A 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 in mctp_neigh_remove() [all...] |
H A 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> 69 /* it's a valid sockaddr for MCTP, cast and do protocol checks */ in mctp_bind() 129 * connections (Tag Owner set) since MCTP is a datagram protocol. 146 /* It's a valid sockaddr for MCTP, cast and do protocol checks */ in mctp_connect() 364 __must_hold(&net->mctp.keys_lock) in __mctp_key_remove() 533 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_ioctl_alloctag() 537 spin_unlock_irqrestore(&net->mctp in mctp_ioctl_alloctag() [all...] |
H A D | route.c | 3 * Management Component Transport Protocol (MCTP) - routing 15 #include <linux/mctp.h> 24 #include <net/mctp.h> 29 #include <trace/events/mctp.h> 56 sk_for_each_rcu(sk, &net->mctp.binds[hash]) { in mctp_lookup_bind_details() 131 * struct net->mctp.keys contains our set of currently-allocated keys for 132 * MCTP tag management. The lookup tuple for these is the peer EID, 133 * local EID and MCTP tag. 198 spin_lock_irqsave(&net->mctp.keys_lock, flags); in mctp_lookup_key() 200 hlist_for_each_entry(key, &net->mctp in mctp_lookup_key() [all...] |
H A D | Makefile | 2 obj-$(CONFIG_MCTP) += mctp.o 3 mctp-objs := af_mctp.o device.o route.o neigh.o
|
H A D | device.c | 3 * Management Component Transport Protocol (MCTP) - device implementation. 11 #include <linux/mctp.h> 18 #include <net/mctp.h> 128 NL_SET_ERR_MSG(cb->extack, "mctp: Invalid header for addr dump request"); in mctp_dump_addrinfo() 413 /* Matches netdev types that should have MCTP handling */
|
/linux/Documentation/networking/ |
H A 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 i [all...] |
H A D | index.rst | 76 mctp
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fsp/ |
H A D | gh100.c | 176 if (NVVAL_TEST(reply.mctp_header, MCTP, HEADER, SOM, !=, 1) || in gh100_fsp_send_sync() 177 NVVAL_TEST(reply.mctp_header, MCTP, HEADER, EOM, !=, 1)) { in gh100_fsp_send_sync() 178 nvkm_error(subdev, "unexpected MCTP header in reply: 0x%08x\n", reply.mctp_header); in gh100_fsp_send_sync() 182 if (NVDEF_TEST(reply.nvdm_header, MCTP, MSG_HEADER, TYPE, !=, VENDOR_PCI) || in gh100_fsp_send_sync() 183 NVDEF_TEST(reply.nvdm_header, MCTP, MSG_HEADER, VENDOR_ID, !=, NV) || in gh100_fsp_send_sync() 184 NVVAL_TEST(reply.nvdm_header, MCTP, MSG_HEADER, NVDM_TYPE, !=, NVDM_TYPE_FSP_RESPONSE)) { in gh100_fsp_send_sync() 214 msg.mctp_header = NVVAL(MCTP, HEADER, SOM, 1) | in gh100_fsp_boot_gsp_fmc() 215 NVVAL(MCTP, HEADER, EOM, 1) | in gh100_fsp_boot_gsp_fmc() 216 NVVAL(MCTP, HEADER, SEID, 0) | in gh100_fsp_boot_gsp_fmc() 217 NVVAL(MCTP, HEADE in gh100_fsp_boot_gsp_fmc() [all...] |
/linux/drivers/net/mctp/ |
H A D | Makefile | 1 obj-$(CONFIG_MCTP_SERIAL) += mctp-serial.o 2 obj-$(CONFIG_MCTP_TRANSPORT_I2C) += mctp-i2c.o 3 obj-$(CONFIG_MCTP_TRANSPORT_I3C) += mctp-i3c.o 4 obj-$(CONFIG_MCTP_TRANSPORT_USB) += mctp-usb.o
|
H A D | mctp-i3c.c | 4 * "DSP0233 Management Component Transport Protocol (MCTP) I3C Transport 17 #include <net/mctp.h> 24 /* 64 byte payload, 4 byte MCTP header */ 28 /* 4 byte MCTP header, no data, 1 byte PEC */ 42 static const char *MCTP_I3C_OF_PROP = "mctp-controller"; 190 /* Not a mctp-i3c interrupt, ignore it */ in mctp_i3c_ibi_handler() 254 /* Adds a new MCTP i3c_device to a bus */ 284 dev_warn(i3cdev_to_dev(i3c), "Error adding mctp-i3c device, %d\n", rc); in mctp_i3c_add_device() 302 /* probably no "mctp-controller" property on the i3c bus */ in mctp_i3c_probe() 652 /* Removes all mctp [all...] |
H A D | mctp-usb.c | 3 * mctp-usb.c - MCTP-over-USB (DMTF DSP0283) transport binding driver. 14 #include <linux/usb/mctp-usb.h> 16 #include <net/mctp.h> 184 u8 pkt_len; /* length of MCTP packet, no USB header */ in mctp_usb_in_complete() 377 .name = "mctp-usb", 387 MODULE_DESCRIPTION("MCTP USB transport");
|
H A 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> 29 #define MCTP_SERIAL_MTU 68 /* base mtu (64) + mctp header */ 425 /* we limit at the fixed MTU, which is also the MCTP-standard in mctp_serial_setup() 503 .name = "mctp", 525 MODULE_DESCRIPTION("MCTP Serial transport");
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-intel_pmt-features | 41 - Present if the feature supports out-of-band MCTP access. 42 - Maximum supported MCTP command size for out-of-band PMT access (bytes). 46 - Present if the feature supports out-of-band MCTP access. 47 - Maximum supported MCTP stream size (bytes). 108 the capability (e.g., `max_command_size` for MCTP-capable features).
|
/linux/include/linux/usb/ |
H A D | mctp-usb.h | 3 * mctp-usb.h - MCTP USB transport binding: common definitions,
|
/linux/include/net/netns/ |
H A D | mctp.h | 3 * MCTP per-net structures 35 /* MCTP network */
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-catalina.dts | 190 mctp@10 { 191 compatible = "mctp-i2c-controller"; 205 mctp-controller; 222 mctp-controller; 319 mctp-controller; 336 mctp-controller; 801 mctp-controller; 802 mctp@10 { 803 compatible = "mctp-i2c-controller"; 936 mctp [all...] |
H A D | aspeed-bmc-facebook-greatlakes.dts | 159 mctp-controller; 169 mctp@10 { 170 compatible = "mctp-i2c-controller";
|
/linux/net/mctp/test/ |
H A D | utils.c | 4 #include <linux/mctp.h> 7 #include <net/mctp.h> 142 list_add_rcu(&rt->rt.list, &net->mctp.routes); in mctp_test_create_route_direct() 167 list_add_rcu(&rt->rt.list, &net->mctp.routes); in mctp_test_create_route_gw()
|
H A D | route-test.c | 6 #include <net/mctp.h> 466 mns = &sock_net(sock->sk)->mctp; in mctp_test_route_input_sk_keys() 672 mns = &sock_net(t->sock->sk)->mctp; in mctp_test_route_input_multiple_nets_key_init() 885 /* Feed the fragments into MCTP core */ in mctp_test_route_input_cloned_frag() 949 /* Assign a single EID. ->addrs is freed on mctp netdev release */ in mctp_test_flow_init() 974 /* test that an outgoing skb has the correct MCTP extension data set */ 1006 /* test that outgoing skbs, after fragmentation, all have the correct MCTP 1098 mns = &sock_net(sock->sk)->mctp; in mctp_test_route_output_key_create() 1372 list_add_rcu(&neigh.list, &init_net.mctp.neighbours); in mctp_test_route_gw_output() 1380 * mctp header, and 4 bytes of data in mctp_test_route_gw_output() [all …]
|
H A D | utils.h | 8 #include <net/mctp.h>
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.h | 492 * mpt3sas_get_device_count - Retrieve the count of MCTP passthrough 495 * Returns number of devices that support MCTP passthrough. 500 * mpt3sas_send_passthru_cmd - Send an MPI MCTP passthrough command to 502 * @command: The MPI MCTP passthrough command to send to firmware
|
/linux/Documentation/devicetree/bindings/i3c/ |
H A D | i3c.yaml | 58 mctp-controller: 62 MCTP over I3C transport.
|
/linux/include/net/ |
H A D | mctpdevice.h | 3 * Management Component Transport Protocol (MCTP) - device
|