OSDN Git Service

Merge branch 'virtio_net-xdp-refine'
authorDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 20:37:01 +0000 (13:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 20:37:01 +0000 (13:37 -0700)
commite56ce5161b05067e834bf4acf9115939dc7b6c62
tree7958a5ebe775d814f55746bd25e300a7cc7c9849
parent7a68ada6ec7d88c68057d3a4c2a517eb94289976
parent3f93522ffab2d46a36b57adf324a54e674fc9536
Merge branch 'virtio_net-xdp-refine'

Jason Wang says:

====================
Refine virtio-net XDP

This series brings two optimizations for virtio-net XDP:

- avoid reset during XDP set
- turn off offloads on demand

Changes from V1:
- Various tweaks on commit logs and comments
- Use virtnet_napi_enable() when enabling NAPI on XDP set
- Copy the small buffer packet only if xdp_headroom is smaller than
  required
====================

Signed-off-by: David S. Miller <davem@davemloft.net>