[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1271602258.27235.200.camel@lb-tlvb-vladz>
Date: Sun, 18 Apr 2010 17:50:58 +0300
From: "Vladislav Zolotarov" <vladz@...adcom.com>
To: "Dave Miller" <davem@...emloft.net>
cc: "Eilon Greenstein" <eilong@...adcom.com>,
"netdev list" <netdev@...r.kernel.org>, dmitry@...adcom.com
Subject: [PATCH 11/13] bnx2x: Forbid LRO on when XEN is enabled
LRO cannot be used on virtualized environment, so it is best
to disable it on compile time in XEN kernel.
Author: Dmitry Kravkov <dmitry@...adcom.com>
Signed-off-by: Dmitry Kravkov <dmitry@...adcom.com>
Signed-off-by: Vladislav Zolotarov <vladz@...adcom.com>
Signed-off-by: Eilon Greenstein <eilong@...adcom.com>
---
drivers/net/bnx2x_main.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index a35def6..ab9a9eb 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -52,6 +52,10 @@
#include <linux/stringify.h>
+#if defined(CONFIG_XEN)
+#define __NO_TPA__ 1
+#endif
+
#include "bnx2x.h"
#include "bnx2x_init.h"
#include "bnx2x_init_ops.h"
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists