mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
109a533114
When CONFIG_MCTP_FLOWS is enabled, outgoing skbs should have their SKB_EXT_MCTP extension set for drivers to consume. Add two tests for local-to-output routing that check for the flow extensions: one for the simple single-packet case, and one for fragmentation. We now make MCTP_TEST select MCTP_FLOWS, so we always get coverage of these flow tests. The tests are skippable if MCTP_FLOWS is (otherwise) disabled, but that would need manual config tweaking. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
24 lines
706 B
Text
24 lines
706 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
|
|
select MCTP_FLOWS
|
|
depends on MCTP=y && KUNIT=y
|
|
default KUNIT_ALL_TESTS
|
|
|
|
config MCTP_FLOWS
|
|
bool
|
|
depends on MCTP
|
|
select SKB_EXTENSIONS
|