From bf995734969c3ca9de9e00138151201eab4cbb01 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Fri, 24 Oct 2014 11:49:27 +0300 Subject: [PATCH] vhost/net: force len for TX to host endian vhost/net keeps a copy of the used ring in host memory but (ab)uses the length field for internal house-keeping. This works because the length in the used ring for tx is always 0. In order to suppress sparse warnings, we force native endianness here. Note that these values are never exposed to guests. Signed-off-by: Michael S. Tsirkin Reviewed-by: Jason Wang --- Reading git-format-patch failed