diff options
author | Ross Lagerwall <ross.lagerwall@citrix.com> | 2016-10-04 11:29:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-07 02:37:36 +0200 |
commit | 2167ca029c2449018314fdf8637c1eb3f123036e (patch) | |
tree | 1abce754bca4f063d9f54040b8cd3c4188b81f12 /drivers/net/xen-netback/interface.c | |
parent | xen-netback: batch copies for multiple to-guest rx packets (diff) | |
download | linux-2167ca029c2449018314fdf8637c1eb3f123036e.tar.xz linux-2167ca029c2449018314fdf8637c1eb3f123036e.zip |
xen/netback: add fraglist support for to-guest rx
This allows full 64K skbuffs (with 1500 mtu ethernet, composed of 45
fragments) to be handled by netback for to-guest rx.
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
[re-based]
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
-rw-r--r-- | drivers/net/xen-netback/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c index 211d542a830b..4af532a67d95 100644 --- a/drivers/net/xen-netback/interface.c +++ b/drivers/net/xen-netback/interface.c @@ -467,7 +467,7 @@ struct xenvif *xenvif_alloc(struct device *parent, domid_t domid, dev->netdev_ops = &xenvif_netdev_ops; dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | - NETIF_F_TSO | NETIF_F_TSO6; + NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_FRAGLIST; dev->features = dev->hw_features | NETIF_F_RXCSUM; dev->ethtool_ops = &xenvif_ethtool_ops; |