From patchwork Wed Apr 20 20:15:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shirley Ma X-Patchwork-Id: 723941 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3L4sg9I018241 for ; Thu, 21 Apr 2011 04:54:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751851Ab1DUEyX (ORCPT ); Thu, 21 Apr 2011 00:54:23 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:48822 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042Ab1DUEyW (ORCPT ); Thu, 21 Apr 2011 00:54:22 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e36.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p3L4miE8002285; Wed, 20 Apr 2011 22:48:44 -0600 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id p3L4pLOG190018; Wed, 20 Apr 2011 22:54:15 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p3KKFJZE006609; Wed, 20 Apr 2011 14:15:20 -0600 Received: from [9.65.196.155] (sig-9-65-196-155.mts.ibm.com [9.65.196.155]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p3KKFHnZ006258; Wed, 20 Apr 2011 14:15:17 -0600 Subject: [PATCH V3 7/8] Enable ixgbe to support zerocopy From: Shirley Ma To: David Miller Cc: mst@redhat.com, Eric Dumazet , Avi Kivity , Arnd Bergmann , netdev@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1303328216.19336.18.camel@localhost.localdomain> References: <1303328216.19336.18.camel@localhost.localdomain> Date: Wed, 20 Apr 2011 13:15:15 -0700 Message-ID: <1303330515.19336.59.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 21 Apr 2011 04:54:48 +0000 (UTC) Signed-off-by: Shirley Ma --- drivers/net/ixgbe/ixgbe_main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 6f8adc7..68f1e93 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c @@ -7395,6 +7395,7 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev, #endif /* IXGBE_FCOE */ if (pci_using_dac) { netdev->features |= NETIF_F_HIGHDMA; + netdev->features |= NETIF_F_ZEROCOPY; netdev->vlan_features |= NETIF_F_HIGHDMA; }