Add flags to be used by creating multiqueue tuntap device.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #define TUN_ONE_QUEUE 0x0080 |
| 35 | 35 | #define TUN_PERSIST 0x0100 |
| 36 | 36 | #define TUN_VNET_HDR 0x0200 |
| 37 | +#define TUN_TAP_MQ 0x0400 | |
| 37 | 38 | |
| 38 | 39 | /* Ioctl defines */ |
| 39 | 40 | #define TUNSETNOCSUM _IOW('T', 200, int) |
| @@ -61,6 +62,7 @@ · 21 unmodified lines | ||
| 61 | 62 | #define IFF_ONE_QUEUE 0x2000 |
| 62 | 63 | #define IFF_VNET_HDR 0x4000 |
| 63 | 64 | #define IFF_TUN_EXCL 0x8000 |
| 65 | +#define IFF_MULTI_QUEUE 0x0100 | |
| 64 | 66 | |
| 65 | 67 | /* Features for GSO (TUNSETOFFLOAD). */ |
| 66 | 68 | #define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */ |