diff options
Diffstat (limited to 'include/uapi/linux/virtio_net.h')
| -rw-r--r-- | include/uapi/linux/virtio_net.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h index ec32293a00db..1ab4ea6ec847 100644 --- a/include/uapi/linux/virtio_net.h +++ b/include/uapi/linux/virtio_net.h | |||
| @@ -55,6 +55,7 @@ | |||
| 55 | #define VIRTIO_NET_F_MQ 22 /* Device supports Receive Flow | 55 | #define VIRTIO_NET_F_MQ 22 /* Device supports Receive Flow |
| 56 | * Steering */ | 56 | * Steering */ |
| 57 | #define VIRTIO_NET_F_CTRL_MAC_ADDR 23 /* Set MAC address */ | 57 | #define VIRTIO_NET_F_CTRL_MAC_ADDR 23 /* Set MAC address */ |
| 58 | #define VIRTIO_NET_F_MTU 25 /* Initial MTU advice */ | ||
| 58 | 59 | ||
| 59 | #ifndef VIRTIO_NET_NO_LEGACY | 60 | #ifndef VIRTIO_NET_NO_LEGACY |
| 60 | #define VIRTIO_NET_F_GSO 6 /* Host handles pkts w/ any GSO type */ | 61 | #define VIRTIO_NET_F_GSO 6 /* Host handles pkts w/ any GSO type */ |
| @@ -73,6 +74,8 @@ struct virtio_net_config { | |||
| 73 | * Legal values are between 1 and 0x8000 | 74 | * Legal values are between 1 and 0x8000 |
| 74 | */ | 75 | */ |
| 75 | __u16 max_virtqueue_pairs; | 76 | __u16 max_virtqueue_pairs; |
| 77 | /* Default maximum transmit unit advice */ | ||
| 78 | __u16 mtu; | ||
| 76 | } __attribute__((packed)); | 79 | } __attribute__((packed)); |
| 77 | 80 | ||
| 78 | /* | 81 | /* |
