linux-stable/drivers/vhost
Michael S. Tsirkin e19d6763cc skb: report completion status for zero copy skbs
Even if skb is marked for zero copy, net core might still decide
to copy it later which is somewhat slower than a copy in user context:
besides copying the data we need to pin/unpin the pages.

Add a parameter reporting such cases through zero copy callback:
if this happens a lot, device can take this into account
and switch to copying in user context.

This patch updates all users but ignores the passed value for now:
it will be used by follow-up patches.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-02 21:29:57 -04:00
..
Kconfig tcm_vhost: Initial merge for vhost level target fabric driver 2012-07-29 13:49:10 -07:00
Kconfig.tcm tcm_vhost: Initial merge for vhost level target fabric driver 2012-07-29 13:49:10 -07:00
Makefile tcm_vhost: Initial merge for vhost level target fabric driver 2012-07-29 13:49:10 -07:00
net.c vhost: Separate vhost-net features from vhost features 2012-07-22 01:21:53 +03:00
tcm_vhost.c tcm_vhost: Convert I/O path to use target_submit_cmd_map_sgls 2012-10-02 14:16:20 -07:00
tcm_vhost.h tcm_vhost: Convert I/O path to use target_submit_cmd_map_sgls 2012-10-02 14:16:20 -07:00
test.c vhost: Separate vhost-net features from vhost features 2012-07-22 01:21:53 +03:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c skb: report completion status for zero copy skbs 2012-11-02 21:29:57 -04:00
vhost.h skb: report completion status for zero copy skbs 2012-11-02 21:29:57 -04:00