From 8e6c8ff5ae19b04f45905cc35163a855c096d0a3 Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Tue, 23 Nov 2010 17:03:16 -0800 Subject: [PATCH] datapath: Allow skbs with a frag list. We can already receive packets with a frag list due to reassembly in CAPWAP tunneling. Since we can handle it, we might as well open it up to internal devices as well to prevent linearization. Signed-off-by: Jesse Gross Acked-by: Ben Pfaff --- datapath/vport-internal_dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datapath/vport-internal_dev.c b/datapath/vport-internal_dev.c index 527131d1..f5a531f3 100644 --- a/datapath/vport-internal_dev.c +++ b/datapath/vport-internal_dev.c @@ -181,8 +181,8 @@ static void do_setup(struct net_device *netdev) netdev->tx_queue_len = 0; netdev->flags = IFF_BROADCAST | IFF_MULTICAST; - netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_HIGHDMA - | NETIF_F_HW_CSUM | NETIF_F_TSO; + netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST | + NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | NETIF_F_TSO; vport_gen_rand_ether_addr(netdev->dev_addr); } -- 2.30.2