commit | c92a8a8cb7d499a352ebb625667a780bfc99ba77 | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Fri Jul 20 08:15:17 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 22 09:43:31 2018 -0700 |
tree | b5782fc0544017b141347dc084b140620777043e | |
parent | a2a91a137ad4e9c538c9b63b2bfcf7a105924143 [diff] |
vhost_net: introduce tx_can_batch() Introduce tx_can_batch() to determine whether TX could be batched. This will help to reduce the code duplication in the future. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>