diff options
author | Jason Wang <jasowang@redhat.com> | 2017-07-19 16:54:49 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-24 13:37:00 -0700 |
commit | 3f93522ffab2d46a36b57adf324a54e674fc9536 (patch) | |
tree | 7958a5ebe775d814f55746bd25e300a7cc7c9849 /drivers/net/ethernet/ibm/emac/debug.h | |
parent | 4941d472bf95b4345d6e38906fcf354e74afa311 (diff) | |
download | linux-3f93522ffab2d46a36b57adf324a54e674fc9536.tar.bz2 |
virtio-net: switch off offloads on demand if possible on XDP set
Current XDP implementation wants guest offloads feature to be disabled
on device. This is inconvenient and means guest can't benefit from
offloads if XDP is not used. This patch tries to address this
limitation by disabling the offloads on demand through control guest
offloads. Guest offloads will be disabled and enabled on demand on XDP
set.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/emac/debug.h')
0 files changed, 0 insertions, 0 deletions