bxe: if there's a way to tell teh stack to pause, I've forgotten it. So don't try.
authorRon Minnich <rminnich@gmail.com>
Sat, 17 Jan 2015 08:50:11 +0000 (00:50 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 Feb 2015 15:12:29 +0000 (10:12 -0500)
Signed-off-by: Ron Minnich <rminnich@gmail.com>
kern/drivers/net/bxe/bxe.c

index cae14cb..b965364 100644 (file)
@@ -2644,9 +2644,10 @@ bxe_tx_disable(struct bxe_adapter* sc)
     if_t ifp = sc->ifp;
 
     /* tell the stack the driver is stopped and TX queue is full */
-    if (ifp !=  NULL) {
-        if_setdrvflags(ifp, 0);
-    }
+       // TODO: is there a way to do this in this stack? I think it just pauses ...
+    //if (ifp !=  NULL) {
+        //if_setdrvflags(ifp, 0);
+    //}
 }
 
 static void