PERFORCE change 124927 for review

Kip Macy kmacy at FreeBSD.org
Wed Aug 8 17:36:36 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=124927

Change 124927 by kmacy at 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 *);


More information about the p4-projects mailing list