virtio: don't expose u16 in userspace api
Programs using virtio headers outside of kernel will no longer
build because u16 type does not exist in userspace. All user ABI
must use __u16 typedef instead.
Bug introduce by:
commit 986a4f4d45
Author: Jason Wang <jasowang@redhat.com>
Date: Fri Dec 7 07:04:56 2012 +0000
virtio_net: multiqueue support
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
f8ce1faf55
Коммит
77d21f23a1
|
@ -191,7 +191,7 @@ struct virtio_net_ctrl_mac {
|
|||
* specified.
|
||||
*/
|
||||
struct virtio_net_ctrl_mq {
|
||||
u16 virtqueue_pairs;
|
||||
__u16 virtqueue_pairs;
|
||||
};
|
||||
|
||||
#define VIRTIO_NET_CTRL_MQ 4
|
||||
|
|
Загрузка…
Ссылка в новой задаче