Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033275AbbKFLsV (ORCPT ); Fri, 6 Nov 2015 06:48:21 -0500 Received: from frisell.zx2c4.com ([192.95.5.64]:39246 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757240AbbKFLsU (ORCPT ); Fri, 6 Nov 2015 06:48:20 -0500 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 6 Nov 2015 12:48:15 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: GSO with udp_tunnel_xmit_skb From: "Jason A. Donenfeld" To: Tom Herbert Cc: Jiri Benc , Netdev , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1083 Lines: 26 Hi Tom, On Fri, Nov 6, 2015 at 8:19 AM, Tom Herbert wrote: > Is this about UFO or GSO (in email subject)? UFO should operate > independently encapsulation or inner packet setting. I suppose this is about UFO. Specifically -- let's say I have a list of 500 skbs, which have their data in place but don't yet have an IP or UDP header etc. I want to send out these out using udp_tunnel_xmit_skb. Right now, if I just send them all out, one after another, they don't seem to be getting assembled into a super packet suitable for UFO. Instead, they're just sent one at a time, and I get the vast majority of `perf top` CPU usage in my ethernet card's driver and along the path to it -- the problem that UFO is supposed to solve. So my question is -- how can I make UFO happen with udp_tunnel_xmit_skb? Thanks, Jason -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/