Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77d21f23 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

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 986a4f4d
  Author: Jason Wang <jasowang@redhat.com>
  Date:   Fri Dec 7 07:04:56 2012 +0000

    virtio_net: multiqueue support

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f8ce1faf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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