Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032138AbbKEKwM (ORCPT ); Thu, 5 Nov 2015 05:52:12 -0500 Received: from frisell.zx2c4.com ([192.95.5.64]:44561 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031535AbbKEKwL (ORCPT ); Thu, 5 Nov 2015 05:52:11 -0500 MIME-Version: 1.0 Date: Thu, 5 Nov 2015 11:52:06 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: GSO with udp_tunnel_xmit_skb From: "Jason A. Donenfeld" To: jbenc@redhat.com, therbert@google.com Cc: Netdev , linux-kernel@vger.kernel.org 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: 853 Lines: 20 Hi folks, When sending arbitrary SKBs with udp_tunnel_xmit_skb, the networking stack does not appear to be utilizing UFO on the outgoing UDP packets, which significantly caps the transmission speed. I see about 50% CPU usage in this send path, triggered for every single outgoing packet. Is there a particular skb option I need to set to enable this? I read Tom's patch [1] from last year, but this seems to be about setting the inner packet type. In my case, the inner type is opaque encrypted data, so there's not a relevant setting. Thanks, Jason [1] http://thread.gmane.org/gmane.linux.network/332194 -- 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/