From mboxrd@z Thu Jan 1 00:00:00 1970 From: David L Stevens Subject: [PATCHv7 net-next 0/4] sunvnet: add jumbo frames support Date: Mon, 29 Sep 2014 13:42:04 -0400 Message-ID: <542999EC.40900@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Sowmini Varadhan , Raghuram Kothakota To: David Miller Return-path: Received: from aserp1040.oracle.com ([141.146.126.69]:47027 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752715AbaI2Rlg (ORCPT ); Mon, 29 Sep 2014 13:41:36 -0400 Sender: netdev-owner@vger.kernel.org List-ID: This patch set updates the sunvnet driver to version 1.6 of the VIO protocol to support per-port exchange of MTU information and allow non-standard MTU sizes, including jumbo frames. Using large MTUs shows a nearly 5X throughput improvement Linux-Solaris and > 10X throughput improvement Linux-Linux. Changes from v6: -made kernel transmit path zero-copy to remove memory n^2 scaling issue raised by Raghuram Kothakota Changes from v5: - fixed comment per Sowmini Varadhan Changes from v4: - changed VNET_MAXPACKET per David Laight - added cookies to support non-contiguous buffers of max size Changes from v3: - added version functions per Dave Miller - moved rmtu to vnet_port per Dave Miller - explicitly set options bits and capability flags to 0 per Raghuram Kothakota Changes from v2: - make checkpatch clean Changes from v1: - fix brace formatting per Dave Miller David L Stevens (4): sunvnet: upgrade to VIO protocol version 1.6 sunvnet: make transmit path zero-copy in the kernel sunvnet: allow admin to set sunvnet MTU sunvnet: generate ICMP PTMUD messages for smaller port MTUs arch/sparc/include/asm/vio.h | 44 +++++- arch/sparc/kernel/ldc.c | 2 +- arch/sparc/kernel/viohs.c | 14 ++- drivers/net/ethernet/sun/sunvnet.c | 313 +++++++++++++++++++++++++++++------- drivers/net/ethernet/sun/sunvnet.h | 9 +- 5 files changed, 315 insertions(+), 67 deletions(-)