aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2013-09-02 16:40:59 +0800
committerDavid S. Miller <[email protected]>2013-09-03 22:46:57 -0400
commitce21a02913dc79205485637b6e0927a4c800c4a4 (patch)
treec1a9325b2a7579c65a5accf8f05d3a9cb2f048ad /net/lapb/lapb_iface.c
parentc49e4e573be86acd36c747511ea5dc76be122206 (diff)
vhost_net: determine whether or not to use zerocopy at one time
Currently, even if the packet length is smaller than VHOST_GOODCOPY_LEN, if upend_idx != done_idx we still set zcopy_used to true and rollback this choice later. This could be avoided by determining zerocopy once by checking all conditions at one time before. Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions