Whamcloud - gitweb
* Portals MTU now 512K (honest)
authoreeb <eeb>
Sun, 27 Jul 2003 02:05:48 +0000 (02:05 +0000)
committereeb <eeb>
Sun, 27 Jul 2003 02:05:48 +0000 (02:05 +0000)
*  lconf configures an EKC tunable on elan nodes to help bulk comms

lnet/include/lnet/lib-types.h
lnet/klnds/qswlnd/qswlnd_cb.c
lustre/portals/include/portals/lib-types.h
lustre/portals/knals/qswnal/qswnal_cb.c

index d300360..9db8489 100644 (file)
@@ -137,13 +137,8 @@ typedef struct {
 } lib_counters_t;
 
 /* temporary expedient: limit number of entries in discontiguous MDs */
-#if PTL_LARGE_MTU
 # define PTL_MTU        (512<<10)
-# define PTL_MD_MAX_IOV        128
-#else
-# define PTL_MTU        (64<<10)
-# define PTL_MD_MAX_IOV 16
-#endif
+# define PTL_MD_MAX_IOV 128
 
 struct lib_msg_t {
         struct list_head  msg_list;
index c03d592..35c7c6c 100644 (file)
@@ -895,6 +895,11 @@ kqswnal_rxhandler(EP_RXD *rxd)
                 return;
         }
 
+        if (!in_interrupt()) {
+                kqswnal_rx (krx);
+                return;
+        }
+
         atomic_inc (&kqswnal_packets_received);
 
         spin_lock_irqsave (&kqswnal_data.kqn_sched_lock, flags);
index d300360..9db8489 100644 (file)
@@ -137,13 +137,8 @@ typedef struct {
 } lib_counters_t;
 
 /* temporary expedient: limit number of entries in discontiguous MDs */
-#if PTL_LARGE_MTU
 # define PTL_MTU        (512<<10)
-# define PTL_MD_MAX_IOV        128
-#else
-# define PTL_MTU        (64<<10)
-# define PTL_MD_MAX_IOV 16
-#endif
+# define PTL_MD_MAX_IOV 128
 
 struct lib_msg_t {
         struct list_head  msg_list;
index c03d592..35c7c6c 100644 (file)
@@ -895,6 +895,11 @@ kqswnal_rxhandler(EP_RXD *rxd)
                 return;
         }
 
+        if (!in_interrupt()) {
+                kqswnal_rx (krx);
+                return;
+        }
+
         atomic_inc (&kqswnal_packets_received);
 
         spin_lock_irqsave (&kqswnal_data.kqn_sched_lock, flags);