]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
uapi: update headers to 6.2-rc1
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 27 Dec 2022 01:57:36 +0000 (17:57 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 27 Dec 2022 01:57:36 +0000 (17:57 -0800)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/if_alg.h
rdma/include/uapi/rdma/ib_user_verbs.h

index 578b18aab82151ead815702c2ce07daa9f137d33..0824fbc026a1c166b41d8ca7733cb8d73435276f 100644 (file)
@@ -52,6 +52,7 @@ struct af_alg_iv {
 #define ALG_SET_AEAD_ASSOCLEN          4
 #define ALG_SET_AEAD_AUTHSIZE          5
 #define ALG_SET_DRBG_ENTROPY           6
+#define ALG_SET_KEY_BY_KEY_SERIAL      7
 
 /* Operations */
 #define ALG_OP_DECRYPT                 0
index 43672cb1fd579866a9e0ed2a1ab2e6143dce79fb..e16650f0c85dd6223222afc027e9107067b500fc 100644 (file)
@@ -105,6 +105,18 @@ enum {
        IB_USER_VERBS_EX_CMD_MODIFY_CQ
 };
 
+/* see IBA A19.4.1.1 Placement Types */
+enum ib_placement_type {
+       IB_FLUSH_GLOBAL = 1U << 0,
+       IB_FLUSH_PERSISTENT = 1U << 1,
+};
+
+/* see IBA A19.4.1.2 Selectivity Level */
+enum ib_selectivity_level {
+       IB_FLUSH_RANGE = 0,
+       IB_FLUSH_MR,
+};
+
 /*
  * Make sure that all structs defined in this file remain laid out so
  * that they pack the same way on 32-bit and 64-bit architectures (to
@@ -466,6 +478,8 @@ enum ib_uverbs_wc_opcode {
        IB_UVERBS_WC_BIND_MW = 5,
        IB_UVERBS_WC_LOCAL_INV = 6,
        IB_UVERBS_WC_TSO = 7,
+       IB_UVERBS_WC_FLUSH = 8,
+       IB_UVERBS_WC_ATOMIC_WRITE = 9,
 };
 
 struct ib_uverbs_wc {
@@ -784,6 +798,8 @@ enum ib_uverbs_wr_opcode {
        IB_UVERBS_WR_RDMA_READ_WITH_INV = 11,
        IB_UVERBS_WR_MASKED_ATOMIC_CMP_AND_SWP = 12,
        IB_UVERBS_WR_MASKED_ATOMIC_FETCH_AND_ADD = 13,
+       IB_UVERBS_WR_FLUSH = 14,
+       IB_UVERBS_WR_ATOMIC_WRITE = 15,
        /* Review enum ib_wr_opcode before modifying this */
 };
 
@@ -1331,6 +1347,11 @@ enum ib_uverbs_device_cap_flags {
        /* Deprecated. Please use IB_UVERBS_RAW_PACKET_CAP_SCATTER_FCS. */
        IB_UVERBS_DEVICE_RAW_SCATTER_FCS = 1ULL << 34,
        IB_UVERBS_DEVICE_PCI_WRITE_END_PADDING = 1ULL << 36,
+       /* Flush placement types */
+       IB_UVERBS_DEVICE_FLUSH_GLOBAL = 1ULL << 38,
+       IB_UVERBS_DEVICE_FLUSH_PERSISTENT = 1ULL << 39,
+       /* Atomic write attributes */
+       IB_UVERBS_DEVICE_ATOMIC_WRITE = 1ULL << 40,
 };
 
 enum ib_uverbs_raw_packet_caps {