diff options
Diffstat (limited to 'sys/net/netmap.h')
| -rw-r--r-- | sys/net/netmap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/netmap.h b/sys/net/netmap.h index c3b8b9205d3d8..14b5e2b321288 100644 --- a/sys/net/netmap.h +++ b/sys/net/netmap.h @@ -655,8 +655,8 @@ struct ptn_vmm_ioctl_msix { /* IOCTL parameters */ struct nm_kth_ioctl { - u_long com; - /* TODO: use union */ + uint64_t com; + /* We use union to support more ioctl commands. */ union { struct ptn_vmm_ioctl_msix msix; } data; @@ -667,5 +667,6 @@ struct ptnet_ring_cfg { uint64_t ioeventfd; /* eventfd in linux, tsleep() parameter in FreeBSD */ uint64_t irqfd; /* eventfd in linux, ioctl fd in FreeBSD */ struct nm_kth_ioctl ioctl; /* ioctl parameter to send irq (only used in bhyve/FreeBSD) */ + uint64_t reserved[4]; /* reserved to support of more hypervisors */ }; #endif /* _NET_NETMAP_H_ */ |
