mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
virtio-net: rename ctrl rx commands
This patch makes rx commands consistent with specification. Signed-off-by: Amos Kong <akong@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
c1943a3f37
commit
dd23454ba2
2 changed files with 14 additions and 14 deletions
|
@ -99,13 +99,13 @@ typedef uint8_t virtio_net_ctrl_ack;
|
|||
* 0 and 1 are supported with the VIRTIO_NET_F_CTRL_RX feature.
|
||||
* Commands 2-5 are added with VIRTIO_NET_F_CTRL_RX_EXTRA.
|
||||
*/
|
||||
#define VIRTIO_NET_CTRL_RX_MODE 0
|
||||
#define VIRTIO_NET_CTRL_RX_MODE_PROMISC 0
|
||||
#define VIRTIO_NET_CTRL_RX_MODE_ALLMULTI 1
|
||||
#define VIRTIO_NET_CTRL_RX_MODE_ALLUNI 2
|
||||
#define VIRTIO_NET_CTRL_RX_MODE_NOMULTI 3
|
||||
#define VIRTIO_NET_CTRL_RX_MODE_NOUNI 4
|
||||
#define VIRTIO_NET_CTRL_RX_MODE_NOBCAST 5
|
||||
#define VIRTIO_NET_CTRL_RX 0
|
||||
#define VIRTIO_NET_CTRL_RX_PROMISC 0
|
||||
#define VIRTIO_NET_CTRL_RX_ALLMULTI 1
|
||||
#define VIRTIO_NET_CTRL_RX_ALLUNI 2
|
||||
#define VIRTIO_NET_CTRL_RX_NOMULTI 3
|
||||
#define VIRTIO_NET_CTRL_RX_NOUNI 4
|
||||
#define VIRTIO_NET_CTRL_RX_NOBCAST 5
|
||||
|
||||
/*
|
||||
* Control the MAC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue