Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2007 00:36:35 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 124927 for review
Message-ID:  <200708090036.l790aZIT048456@repoman.freebsd.org>

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

Change 124927 by kmacy@kmacy_home:ethng on 2007/08/09 00:35:40

	move added functions to the end of ifnet to simplify diagnosis of build issues

Affected files ...

.. //depot/projects/ethng/src/sys/net/if_var.h#3 edit

Differences ...

==== //depot/projects/ethng/src/sys/net/if_var.h#3 (text+ko) ====

@@ -155,14 +155,6 @@
 		(struct ifnet *, struct mbuf *);
 	void	(*if_start)		/* initiate output routine */
 		(struct ifnet *);
-#ifdef IFNET_MULTIQUEUE
-	int	(*if_mq_start)	        /* initiate output routine with immediate */
-		(struct ifnet *, int32_t, struct mbuf *);
-	int	(*if_mq_enqueue_packet) /* enqueue packet to the appropriate queue */
-		(struct ifnet *, int32_t, struct mbuf *);
-	int32_t	(*if_mq_get_cookie)	/* calculate the txq cookie for this connection */
-		(struct ifnet *, struct in6_addr *, uint16_t, struct in6_addr *, uint16_t, int);
-#endif	
 	int	(*if_ioctl)		/* ioctl routine */
 		(struct ifnet *, u_long, caddr_t);
 	void	(*if_watchdog)		/* timer routine */
@@ -198,6 +190,14 @@
 					/* protected by if_addr_mtx */
 	void	*if_pf_kif;
 	void	*if_lagg;		/* lagg glue */
+#ifdef IFNET_MULTIQUEUE
+	int	(*if_mq_start)	        /* initiate output routine with immediate */
+		(struct ifnet *, int32_t, struct mbuf *);
+	int	(*if_mq_enqueue_packet) /* enqueue packet to the appropriate queue */
+		(struct ifnet *, int32_t, struct mbuf *);
+	int32_t	(*if_mq_get_cookie)	/* calculate the txq cookie for this connection */
+		(struct ifnet *, struct in6_addr *, uint16_t, struct in6_addr *, uint16_t, int);
+#endif	
 };
 
 typedef void if_init_f_t(void *);



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