mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Jeremy Kerr](/assets/img/avatar_default.png)
This change adds a new skb extension for MCTP, to represent a request/response flow. The intention is to use this in a later change to allow i2c controllers to correctly configure a multiplexer over a flow. Since we have a cleanup function in the core path (if an extension is present), we'll need to make CONFIG_MCTP a bool, rather than a tristate. Includes a fix for a build warning with clang: Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
23 lines
680 B
Text
23 lines
680 B
Text
|
|
menuconfig MCTP
|
|
depends on NET
|
|
bool "MCTP core protocol support"
|
|
help
|
|
Management Component Transport Protocol (MCTP) is an in-system
|
|
protocol for communicating between management controllers and
|
|
their managed devices (peripherals, host processors, etc.). The
|
|
protocol is defined by DMTF specification DSP0236.
|
|
|
|
This option enables core MCTP support. For communicating with other
|
|
devices, you'll want to enable a driver for a specific hardware
|
|
channel.
|
|
|
|
config MCTP_TEST
|
|
bool "MCTP core tests" if !KUNIT_ALL_TESTS
|
|
depends on MCTP=y && KUNIT=y
|
|
default KUNIT_ALL_TESTS
|
|
|
|
config MCTP_FLOWS
|
|
bool
|
|
depends on MCTP
|
|
select SKB_EXTENSIONS
|