Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2007 20:47:35 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 131385 for review
Message-ID:  <200712212047.lBLKlZXm003840@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131385

Change 131385 by kmacy@kmacy:entropy:iwarp on 2007/12/21 20:47:05

	add GET_RX_PAGE_INFO as needed by tom

Affected files ...

.. //depot/projects/iwarp/sys/dev/cxgb/cxgb_offload.c#9 edit

Differences ...

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

@@ -381,6 +381,8 @@
 	struct iff_mac *iffmacp;
 	struct ddp_params *ddpp;
 	struct adap_ports *ports;
+	struct ofld_page_info *rx_page_info;
+	struct tp_params *tp = &adapter->params.tp;
 	int port;
 
 	switch (req) {
@@ -445,6 +447,11 @@
 	case FAILOVER_CLEAR:
 		t3_failover_clear(adapter);
 		break;
+	case GET_RX_PAGE_INFO:
+		rx_page_info = data;
+		rx_page_info->page_size = tp->rx_pg_size;
+		rx_page_info->num = tp->rx_num_pgs;
+		break;
 	case ULP_ISCSI_GET_PARAMS:
 	case ULP_ISCSI_SET_PARAMS:
 		if (!offload_running(adapter))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712212047.lBLKlZXm003840>