p4-projects@freebsd.org
[Top] [All Lists]

PERFORCE change 128366 for review

Subject: PERFORCE change 128366 for review
From: Kip Macy
Date: Tue, 30 Oct 2007 21:04:29 GMT
http://perforce.freebsd.org/chv.cgi?CH=128366

Change 128366 by kmacy@kmacy:storage:toestack on 2007/10/30 21:03:52

        register route_event handler

Affected files ...

.. //depot/projects/toestack/sys/dev/cxgb/cxgb_offload.c#10 edit

Differences ...

==== //depot/projects/toestack/sys/dev/cxgb/cxgb_offload.c#10 (text+ko) ====

@@ -873,7 +873,7 @@
 }
 
 static void
-route_event(void *unused, int event, struct rtentry *rt0, struct rtentry *rt1)
+cxgb_route_event(void *unused, int event, struct rtentry *rt0, struct rtentry 
*rt1)
 {
        
        switch (event) {
@@ -1586,6 +1586,9 @@
        t3_register_cpl_handler(CPL_RX_DATA_DDP, do_hwtid_rpl);
        t3_register_cpl_handler(CPL_RX_DDP_COMPLETE, do_hwtid_rpl);
        t3_register_cpl_handler(CPL_ISCSI_HDR, do_hwtid_rpl);
+
+       EVENTHANDLER_REGISTER(route_event, cxgb_route_event, NULL, 
EVENTHANDLER_PRI_ANY);
+       
 #if 0
        if (offload_proc_init())
               log(LOG_WARNING, "Unable to create /proc/net/cxgb3 dir\n");
_______________________________________________
p4-projects@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "p4-projects-unsubscribe@xxxxxxxxxxx"

<Prev in Thread] Current Thread [Next in Thread>
  • PERFORCE change 128366 for review, Kip Macy <=