commit | df133f3f96257ee29696c0ed8bd198ec801dc810 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Jan 17 23:20:07 2019 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sat Jan 19 16:06:52 2019 -0800 |
tree | 4df0a603924d61c182d4c153f99c20e77ab96bd2 | |
parent | 3e64cf7a435ed0500e3adaa8aada2272d3ae8abc [diff] |
virtio_net: bulk free tx skbs Use napi_consume_skb() to get bulk free. Note that napi_consume_skb is safe to call in a non-napi context as long as the napi_budget flag is correct. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>