[openfabrics-ewg] [PATCH] OFED 1.2 is broken on SLES 10 sp1 beta 2
Preggna S
spreggna at novell.com
Wed Feb 7 03:49:11 PST 2007
Hi,
Apparently netif_tx_lock and netif_tx_unlock definitions are already part of sles10_sp1_beta2 kernel header files. Here is the patch that removes these function definitions from the backport patches.
thanks & regards,
Preggna
Signed-off by SPreggna at novell.com
--- ofa_kernel-1.2/kernel_addons/backport/2.6.16_sles10/include/linux/netdevice.h 2007-02-07 22:35:10.000000000 +0530
+++ ofa_kernel-1.2_new/kernel_addons/backport/2.6.16_sles10/include/linux/netdevice.h 2007-02-07 22:39:48.000000000 +0530
@@ -3,18 +3,6 @@
#include_next <linux/netdevice.h>
-static inline void netif_tx_lock(struct net_device *dev)
-{
- spin_lock(&dev->xmit_lock);
- dev->xmit_lock_owner = smp_processor_id();
-}
-
-static inline void netif_tx_unlock(struct net_device *dev)
-{
- dev->xmit_lock_owner = -1;
- spin_unlock(&dev->xmit_lock);
-}
-
#undef SET_ETHTOOL_OPS
#define SET_ETHTOOL_OPS(netdev, ops) \
(netdev)->ethtool_ops = (struct ethtool_ops *)(ops)
More information about the ewg
mailing list