From: Jesse Gross Date: Wed, 24 Nov 2010 01:03:16 +0000 (-0800) Subject: datapath: Allow skbs with a frag list. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e6c8ff5ae19b04f45905cc35163a855c096d0a3;p=openvswitch 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 --- 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); }