All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] net: netmap: implement virtio-net header probe
@ 2016-02-05 10:30 Vincenzo Maffione
  2016-02-05 10:30 ` [Qemu-devel] [PATCH] net: netmap: probe netmap interface for virtio-net header Vincenzo Maffione
  0 siblings, 1 reply; 5+ messages in thread
From: Vincenzo Maffione @ 2016-02-05 10:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: jasowang, rizzo, g.lettieri, Vincenzo Maffione

Current implementation for netmap backend does not really probe the netmap
kernel module to know whether virtio-net header is supported for a specific
netmap port. This is only correct for VALE ports, but it is not correct for
hardware ports, pipes, etc.

This patch properly implements the missing probe mechanism, fixing the
implementation of the involved hooks (has_vnet_hdr, has_vnet_hdr_len, has_ufo,
...).

Vincenzo Maffione (1):
  net: netmap: probe netmap interface for virtio-net header

 net/netmap.c | 70 ++++++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 44 insertions(+), 26 deletions(-)

-- 
2.7.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-23  3:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-05 10:30 [Qemu-devel] [PATCH] net: netmap: implement virtio-net header probe Vincenzo Maffione
2016-02-05 10:30 ` [Qemu-devel] [PATCH] net: netmap: probe netmap interface for virtio-net header Vincenzo Maffione
2016-02-18  2:52   ` Jason Wang
2016-02-18 13:34     ` Vincenzo Maffione
2016-02-23  3:29       ` Jason Wang

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.