diff options
| author | 2021-10-29 11:01:44 +0800 | |
|---|---|---|
| committer | 2021-10-29 13:23:51 +0100 | |
| commit | 78476d315e190533757ab894255c4f2c2f254bce (patch) | |
| tree | 81c0304087ff9f51f65bb8266d1e210aad31ddcc /include/linux | |
| parent | mctp: Return new key from mctp_alloc_local_tag (diff) | |
| download | linux-dev-78476d315e190533757ab894255c4f2c2f254bce.tar.xz linux-dev-78476d315e190533757ab894255c4f2c2f254bce.zip | |
mctp: Add flow extension to skb
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/skbuff.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index cb96f1e6460c..0bd6520329f6 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -4244,6 +4244,9 @@ enum skb_ext_id { #if IS_ENABLED(CONFIG_MPTCP) SKB_EXT_MPTCP, #endif +#if IS_ENABLED(CONFIG_MCTP_FLOWS) + SKB_EXT_MCTP, +#endif SKB_EXT_NUM, /* must be last */ }; |
