Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
0002 /*
0003  * Copyright 2019 IBM Corp.
0004  */
0005 
0006 #ifndef _UAPI_MISC_VAS_H
0007 #define _UAPI_MISC_VAS_H
0008 
0009 #include <linux/types.h>
0010 
0011 #include <asm/ioctl.h>
0012 
0013 #define VAS_MAGIC   'v'
0014 #define VAS_TX_WIN_OPEN _IOW(VAS_MAGIC, 0x20, struct vas_tx_win_open_attr)
0015 
0016 /* Flags to VAS TX open window ioctl */
0017 /* To allocate a window with QoS credit, otherwise use default credit */
0018 #define VAS_TX_WIN_FLAG_QOS_CREDIT  0x0000000000000001
0019 
0020 struct vas_tx_win_open_attr {
0021     __u32   version;
0022     __s16   vas_id; /* specific instance of vas or -1 for default */
0023     __u16   reserved1;
0024     __u64   flags;
0025     __u64   reserved2[6];
0026 };
0027 
0028 #endif /* _UAPI_MISC_VAS_H */