diff for duplicates of <20141103162525.GC24877@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 6ca4a97..7d96b99 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -59,7 +59,8 @@ this is generally unsafe. In particular sparse will warn. > + if (!has_vnet_hdr && vq->byteswap) > + virtio_net_hdr_swap((void *) vq->iov[0].iov_base); > zcopy_used = zcopy && len >= VHOST_GOODCOPY_LEN -> && (nvq->upend_idx + 1) % UIO_MAXIOV !> nvq->done_idx +> && (nvq->upend_idx + 1) % UIO_MAXIOV != +> nvq->done_idx > @@ -570,7 +582,7 @@ static void handle_rx(struct vhost_net *net) > .hdr.gso_type = VIRTIO_NET_HDR_GSO_NONE > }; diff --git a/a/content_digest b/N1/content_digest index 576d412..b9765be 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01414571925-16918-5-git-send-email-clg@fr.ibm.com\0" "From\0Michael S. Tsirkin <mst@redhat.com>\0" "Subject\0Re: [RFC PATCH 4/4] vhost_net: byteswap virtio_net header\0" - "Date\0Mon, 03 Nov 2014 16:25:25 +0000\0" + "Date\0Mon, 3 Nov 2014 18:25:25 +0200\0" "To\0C\303\251dric Le Goater <clg@fr.ibm.com>\0" "Cc\0kvm@vger.kernel.org" kvm-ppc@vger.kernel.org @@ -73,7 +73,8 @@ "> +\t\tif (!has_vnet_hdr && vq->byteswap)\n" "> +\t\t\tvirtio_net_hdr_swap((void *) vq->iov[0].iov_base);\n" "> \t\tzcopy_used = zcopy && len >= VHOST_GOODCOPY_LEN\n" - "> \t\t\t\t && (nvq->upend_idx + 1) % UIO_MAXIOV !> \t\t\t\t nvq->done_idx\n" + "> \t\t\t\t && (nvq->upend_idx + 1) % UIO_MAXIOV !=\n" + "> \t\t\t\t nvq->done_idx\n" "> @@ -570,7 +582,7 @@ static void handle_rx(struct vhost_net *net)\n" "> \t\t.hdr.gso_type = VIRTIO_NET_HDR_GSO_NONE\n" "> \t};\n" @@ -130,4 +131,4 @@ "> -- \n" > 1.7.10.4 -afc000c0b3db5ae9aeab4b6edd3b1665e3504fed847432c9ae8e0520fae3f26c +84b36017fe200c7a5a8ffcce4547154567aff6abf2036861dbbe79c2a3d903c0
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.