Home
last modified time | relevance | path

Searched full:mctp (Results 1 – 25 of 40) sorted by relevance

12

/linux/drivers/net/mctp/
H A DKconfig2 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 …]
H A DMakefile1 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
5 obj-$(CONFIG_MCTP_TRANSPORT_USBLIB) += mctp-usblib.o
H A Dmctp-usblib-test.c3 * mctp-usblib-test.c - MCTP-over-USB (DMTF DSP0283) transport helper library,
13 #include <net/mctp.h>
15 #include <linux/usb/mctp-usb.h>
157 list_add_rcu(&ctx->rt.list, &init_net.mctp.routes); in mctp_usblib_test_init()
164 /* Init a MCTP-over-USB packet within a buffer. @len is the length of the
165 * buffer to write, @payload_len is the reported size of the MCTP-over-USB
173 struct mctp_hdr mctp; in mctp_usblib_test_init_pkt() member
178 hdr.mctp.ver = 1; in mctp_usblib_test_init_pkt()
179 hdr.mctp.dest = local_eid; in mctp_usblib_test_init_pkt()
180 hdr.mctp.src = 0; in mctp_usblib_test_init_pkt()
[all …]
H A Dmctp-i3c.c4 * "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-i3c busses */
[all …]
H A Dmctp-serial.c3 * 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");
H A Dmctp-usblib.c3 * mctp-usblib.c - MCTP-over-USB (DMTF DSP0283) transport helper library
15 #include <linux/usb/mctp-usb.h>
16 #include <net/mctp.h>
72 * of that space for a prior MCTP packet, because !cloned), we in mctp_usblib_rx_prepare()
73 * have sufficient data to finish the current MCTP packet. in mctp_usblib_rx_prepare()
152 /* length of MCTP packet, including USB header */ in mctp_usblib_rx_complete()
621 MODULE_DESCRIPTION("MCTP USB transport library");
624 #include "mctp-usblib-test.c"
H A Dmctp-usb.c3 * mctp-usb.c - MCTP-over-USB (DMTF DSP0283) transport binding driver.
14 #include <linux/usb/mctp-usb.h>
16 #include <net/mctp.h>
437 .name = "mctp-usb",
447 MODULE_DESCRIPTION("MCTP USB transport");
/linux/Documentation/devicetree/bindings/net/
H A Dmctp-i2c-controller.yaml4 $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 I2C instance.
24 const: mctp-i2c-controller
47 mctp-controller;
[all …]
/linux/net/mctp/
H A DKconfig2 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 Dneigh.c3 * 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 …]
H A DMakefile2 obj-$(CONFIG_MCTP) += mctp.o
3 mctp-objs := af_mctp.o device.o route.o neigh.o
H A Ddevice.c3 * Management Component Transport Protocol (MCTP) - device implementation.
11 #include <linux/mctp.h>
18 #include <net/mctp.h>
129 NL_SET_ERR_MSG(cb->extack, "mctp: Invalid header for addr dump request"); in mctp_dump_addrinfo()
414 /* Matches netdev types that should have MCTP handling */
/linux/Documentation/networking/
H A Dmctp.rst4 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 …]
H A Dindex.rst73 mctp
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-yosemite4.dts185 mctp-controller;
189 mctp@10 {
190 compatible = "mctp-i2c-controller";
236 mctp-controller;
240 mctp@10 {
241 compatible = "mctp-i2c-controller";
287 mctp-controller;
291 mctp@10 {
292 compatible = "mctp-i2c-controller";
338 mctp-controller;
[all …]
H A Daspeed-bmc-facebook-greatlakes.dts159 mctp-controller;
169 mctp@10 {
170 compatible = "mctp-i2c-controller";
/linux/Documentation/ABI/testing/
H A Dsysfs-class-intel_pmt-features41 - 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 Dmctp-usb.h3 * mctp-usb.h - MCTP USB transport binding: common definitions,
21 * MCTP-over-USB transport header. DSP0283 v1.0 has an 8-bit length field
41 /* mctp-usblib */
47 * result in netif_rx()-ing the MCTP packets received
/linux/include/uapi/linux/
H A Dmctp.h3 * Management Component Transport Protocol (MCTP)
40 /* A "fully qualified" MCTP address, which includes the system-local network ID,
65 * MCTP network ID as part of the allocated tag. Using this assumes the default
/linux/include/net/netns/
H A Dmctp.h3 * MCTP per-net structures
35 /* MCTP network */
/linux/net/mctp/test/
H A Dutils.c4 #include <linux/mctp.h>
7 #include <net/mctp.h>
160 list_add_rcu(&rt->rt.list, &net->mctp.routes); in mctp_test_create_route_direct()
185 list_add_rcu(&rt->rt.list, &net->mctp.routes); in mctp_test_create_route_gw()
H A Droute-test.c6 #include <net/mctp.h>
462 mns = &sock_net(sock->sk)->mctp; in mctp_test_route_input_sk_keys()
664 mns = &sock_net(t->sock->sk)->mctp; in mctp_test_route_input_multiple_nets_key_init()
868 /* Feed the fragments into MCTP core */ in mctp_test_route_input_cloned_frag()
992 /* test that an outgoing skb has the correct MCTP extension data set */
1023 /* test that outgoing skbs, after fragmentation, all have the correct MCTP
1113 mns = &sock_net(sock->sk)->mctp; in mctp_test_route_output_key_create()
1386 list_add_rcu(&neigh.list, &init_net.mctp.neighbours); in mctp_test_route_gw_output()
1394 * mctp header, and 4 bytes of data in mctp_test_route_gw_output()
1429 /* mctp network of incoming interface (smctp_network) */
[all …]
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.h492 * 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/tools/testing/selftests/vfio/lib/drivers/nv_falcon/
H A Dhw.h119 /* MCTP Header */
127 /* MCTP Message Header */
/linux/include/trace/events/
H A Dmctp.h4 #define TRACE_SYSTEM mctp

12