Skip to content

net/smc: move some definitions to UAPI

Eugene Syromiatnikov lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v1 RFC3 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3uapi, net/smc: move protocol constant definitions to UAPIinclude/uapi/linux/smc.h net/smc/smc.h+7 -40 replies
2/3uapi, net/smc: provide fallback diagnostic codes in UAPIinclude/uapi/linux/smc.h net/smc/smc_clc.h+25 -220 replies
3/3uapi, net/smc: provide socket state constants in UAPIinclude/uapi/linux/smc_diag.h net/smc/smc.h+18 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net v2 0/3] net/smc: move some definitions to UAPI

Hello.

As of now, it's a bit difficult to use SMC protocol, as significant part of definitions related to it are defined in private headers and are not part of UAPI. The following commits move some definitions to UAPI, making them readily available to the user space.

Changes since v1[1]:
* Patch "provide fallback diagnostic codes in UAPI" is updated in accordance with the updated set of diagnostic codes.

[1] https://lkml.org/lkml/2018/10/7/177

Eugene Syromiatnikov (3):
uapi, net/smc: move protocol constant definitions to UAPI uapi, net/smc: provide fallback diagnostic codes in UAPI uapi, net/smc: provide socket state constants in UAPI

 include/uapi/linux/smc.h      | 32 +++++++++++++++++++++++++++++++-
 include/uapi/linux/smc_diag.h | 17 +++++++++++++++++
 net/smc/smc.h                 | 22 ++--------------------
 net/smc/smc_clc.h             | 22 ----------------------
 4 files changed, 50 insertions(+), 43 deletions(-)
Signature · 1 line
2.1.4