io_uring.h: sync sqe entry with 5.20 io_uring
Add a few missing fields which was added for uring command
Link:
@@ -26,6 +26,10 @@ struct io_uring_sqe {
union {
__u64 off; /* offset into file */
__u64 addr2;
+ struct {
+ __u32 cmd_op;
+ __u32 __pad1;
+ };
};
union {
__u64 addr; /* pointer to buffer or iovecs */
@@ -69,9 +73,18 @@ struct io_uring_sqe {
__u16 addr_len;
};
};
+ union {
+ struct {
__u64 addr3;
__u64 __pad2[1];
};
+ /*
+ * If the ring is initialized with IORING_SETUP_SQE128, then
+ * this field is used for 80 bytes of arbitrary command data
+ */
+ __u8 cmd[0];
+ };
+};
/*
* If sqe->file_index is set to this for opcodes that instantiate a new
