Date: Thu, 1 Nov 2007 03:21:36 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 128446 for review Message-ID: <200711010321.lA13La0N075767@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=128446 Change 128446 by kmacy@kmacy:storage:toestack on 2007/11/01 03:21:13 add placeholder routines for toe usrreqs Affected files ... .. //depot/projects/toestack/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c#9 edit Differences ... ==== //depot/projects/toestack/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c#9 (text+ko) ==== @@ -41,6 +41,7 @@ #include <sys/socket.h> #include <sys/syslog.h> #include <sys/socketvar.h> +#include <sys/protosw.h> #include <net/if.h> #include <net/route.h> @@ -121,8 +122,56 @@ */ #define MIN_RCV_WND (24 * 1024U) -static struct toe_usrreqs cxgb_toe_usrreqs; +static int +cxgb_toe_disconnect(struct tcpcb *tp) +{ + printf("%s UNIMPLEMENTED!!!!\n", __FUNCTION__); + return (0); +} + +static int +cxgb_toe_abort(struct tcpcb *tp) +{ + printf("%s UNIMPLEMENTED!!!!\n", __FUNCTION__); + return (0); +} + +static int +cxgb_toe_send(struct tcpcb *tp) +{ + printf("%s UNIMPLEMENTED!!!!\n", __FUNCTION__); + return (0); +} + +static int +cxgb_toe_listen_start(struct tcpcb *tp) +{ + printf("%s UNIMPLEMENTED!!!!\n", __FUNCTION__); + return (0); +} + +static int +cxgb_toe_listen_stop(struct tcpcb *tp) +{ + printf("%s UNIMPLEMENTED!!!!\n", __FUNCTION__); + return (0); +} + +static int +cxgb_toe_rcvd(struct tcpcb *tp) +{ + printf("%s UNIMPLEMENTED!!!!\n", __FUNCTION__); + return (0); +} +static struct toe_usrreqs cxgb_toe_usrreqs = { + .tu_disconnect = cxgb_toe_disconnect, + .tu_abort = cxgb_toe_abort, + .tu_send = cxgb_toe_send, + .tu_listen_start = cxgb_toe_listen_start, + .tu_listen_stop = cxgb_toe_listen_stop, + .tu_rcvd = cxgb_toe_rcvd, +}; void t3_enable_ddp(struct socket *so, int on) @@ -594,7 +643,7 @@ if (t3_push_frames(sk, 1)) sk->sk_write_space(sk); #endif - + soisconnected(so); tp->t_state = TCPS_ESTABLISHED; tcpstat.tcps_connects++;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711010321.lA13La0N075767>