Re: FreeBSD-head ixgbe build failed

2015-06-24 Thread Eric Joyner
I made the change in r284767. It leaves out the backwards compatibility
ixgbe build target that the stable/10 commit allowed, but you can now build
the modules seperately.

On Mon, Jun 22, 2015 at 2:29 PM Eric Joyner e...@freebsd.org wrote:

 I guess I could reverse-MFC r283668, then, to make that work on HEAD.

 On Mon, Jun 22, 2015, 12:07 PM Stefano Garzarella 
 stefanogarzare...@gmail.com wrote:

 Hi all,
 I tried to compile FreeBSD-head with only device ix (without device
 ixv) but the build failed.

 I fixed this behavior using this patch:
 diff --git a/sys/conf/files b/sys/conf/files
 index 65606b0..279b161 100644
 --- a/sys/conf/files
 +++ b/sys/conf/files
 @@ -1774,25 +1774,25 @@ dev/ixgbe/if_ix.c   optional ix inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
  dev/ixgbe/if_ixv.c optional ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
 -dev/ixgbe/ix_txrx.coptional ix ixv inet \
 +dev/ixgbe/ix_txrx.coptional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
 -dev/ixgbe/ixgbe_phy.c  optional ix ixv inet \
 +dev/ixgbe/ixgbe_phy.c  optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_api.c  optional ix ixv inet \
 +dev/ixgbe/ixgbe_api.c  optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_common.c   optional ix ixv inet \
 +dev/ixgbe/ixgbe_common.c   optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_mbx.c  optional ix ixv inet \
 +dev/ixgbe/ixgbe_mbx.c  optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_vf.c   optional ix ixv inet \
 +dev/ixgbe/ixgbe_vf.c   optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_82598.coptional ix ixv inet \
 +dev/ixgbe/ixgbe_82598.coptional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_82599.coptional ix ixv inet \
 +dev/ixgbe/ixgbe_82599.coptional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_x540.c optional ix ixv inet \
 +dev/ixgbe/ixgbe_x540.c optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_x550.c optional ix ixv inet \
 +dev/ixgbe/ixgbe_x550.c optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
  dev/ixgbe/ixgbe_dcb.c  optional ix ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe

 cheers,
 Stefano

 --
 *Stefano Garzarella*
 Software Engineer

 e-mail: stefano.garzare...@gmail.com
 github: http://github.com/stefano-garzarella
 linkedin: http://it.linkedin.com/pub/stefano-garzarella


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: FreeBSD-head ixgbe build failed

2015-06-24 Thread Stefano Garzarella
Great! Now all work fine!

Thanks,
Stefano

2015-06-24 19:07 GMT+02:00 Eric Joyner e...@freebsd.org:

 I made the change in r284767. It leaves out the backwards compatibility
 ixgbe build target that the stable/10 commit allowed, but you can now build
 the modules seperately.

 On Mon, Jun 22, 2015 at 2:29 PM Eric Joyner e...@freebsd.org wrote:

 I guess I could reverse-MFC r283668, then, to make that work on HEAD.

 On Mon, Jun 22, 2015, 12:07 PM Stefano Garzarella 
 stefanogarzare...@gmail.com wrote:

 Hi all,
 I tried to compile FreeBSD-head with only device ix (without device
 ixv) but the build failed.

 I fixed this behavior using this patch:
 diff --git a/sys/conf/files b/sys/conf/files
 index 65606b0..279b161 100644
 --- a/sys/conf/files
 +++ b/sys/conf/files
 @@ -1774,25 +1774,25 @@ dev/ixgbe/if_ix.c   optional ix inet
 \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
  dev/ixgbe/if_ixv.c optional ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
 -dev/ixgbe/ix_txrx.coptional ix ixv inet \
 +dev/ixgbe/ix_txrx.coptional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
 -dev/ixgbe/ixgbe_phy.c  optional ix ixv inet \
 +dev/ixgbe/ixgbe_phy.c  optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_api.c  optional ix ixv inet \
 +dev/ixgbe/ixgbe_api.c  optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_common.c   optional ix ixv inet \
 +dev/ixgbe/ixgbe_common.c   optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_mbx.c  optional ix ixv inet \
 +dev/ixgbe/ixgbe_mbx.c  optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_vf.c   optional ix ixv inet \
 +dev/ixgbe/ixgbe_vf.c   optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_82598.coptional ix ixv inet \
 +dev/ixgbe/ixgbe_82598.coptional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_82599.coptional ix ixv inet \
 +dev/ixgbe/ixgbe_82599.coptional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_x540.c optional ix ixv inet \
 +dev/ixgbe/ixgbe_x540.c optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_x550.c optional ix ixv inet \
 +dev/ixgbe/ixgbe_x550.c optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
  dev/ixgbe/ixgbe_dcb.c  optional ix ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe

 cheers,
 Stefano

 --
 *Stefano Garzarella*
 Software Engineer

 e-mail: stefano.garzare...@gmail.com
 github: http://github.com/stefano-garzarella
 linkedin: http://it.linkedin.com/pub/stefano-garzarella




-- 
*Stefano Garzarella*
Software Engineer

e-mail: stefano.garzare...@gmail.com
github: http://github.com/stefano-garzarella
linkedin: http://it.linkedin.com/pub/stefano-garzarella
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


FreeBSD-head ixgbe build failed

2015-06-22 Thread Stefano Garzarella
Hi all,
I tried to compile FreeBSD-head with only device ix (without device
ixv) but the build failed.

I fixed this behavior using this patch:
diff --git a/sys/conf/files b/sys/conf/files
index 65606b0..279b161 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1774,25 +1774,25 @@ dev/ixgbe/if_ix.c   optional ix inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
 dev/ixgbe/if_ixv.c optional ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
-dev/ixgbe/ix_txrx.coptional ix ixv inet \
+dev/ixgbe/ix_txrx.coptional ix | ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
-dev/ixgbe/ixgbe_phy.c  optional ix ixv inet \
+dev/ixgbe/ixgbe_phy.c  optional ix | ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe
-dev/ixgbe/ixgbe_api.c  optional ix ixv inet \
+dev/ixgbe/ixgbe_api.c  optional ix | ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe
-dev/ixgbe/ixgbe_common.c   optional ix ixv inet \
+dev/ixgbe/ixgbe_common.c   optional ix | ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe
-dev/ixgbe/ixgbe_mbx.c  optional ix ixv inet \
+dev/ixgbe/ixgbe_mbx.c  optional ix | ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe
-dev/ixgbe/ixgbe_vf.c   optional ix ixv inet \
+dev/ixgbe/ixgbe_vf.c   optional ix | ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe
-dev/ixgbe/ixgbe_82598.coptional ix ixv inet \
+dev/ixgbe/ixgbe_82598.coptional ix | ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe
-dev/ixgbe/ixgbe_82599.coptional ix ixv inet \
+dev/ixgbe/ixgbe_82599.coptional ix | ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe
-dev/ixgbe/ixgbe_x540.c optional ix ixv inet \
+dev/ixgbe/ixgbe_x540.c optional ix | ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe
-dev/ixgbe/ixgbe_x550.c optional ix ixv inet \
+dev/ixgbe/ixgbe_x550.c optional ix | ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe
 dev/ixgbe/ixgbe_dcb.c  optional ix ixv inet \
compile-with ${NORMAL_C} -I$S/dev/ixgbe

cheers,
Stefano

-- 
*Stefano Garzarella*
Software Engineer

e-mail: stefano.garzare...@gmail.com
github: http://github.com/stefano-garzarella
linkedin: http://it.linkedin.com/pub/stefano-garzarella


freebsd_fix_ix.patch
Description: Binary data
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: FreeBSD-head ixgbe build failed

2015-06-22 Thread Eric Joyner
I guess I could reverse-MFC r283668, then, to make that work on HEAD.

On Mon, Jun 22, 2015, 12:07 PM Stefano Garzarella 
stefanogarzare...@gmail.com wrote:

 Hi all,
 I tried to compile FreeBSD-head with only device ix (without device
 ixv) but the build failed.

 I fixed this behavior using this patch:
 diff --git a/sys/conf/files b/sys/conf/files
 index 65606b0..279b161 100644
 --- a/sys/conf/files
 +++ b/sys/conf/files
 @@ -1774,25 +1774,25 @@ dev/ixgbe/if_ix.c   optional ix inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
  dev/ixgbe/if_ixv.c optional ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
 -dev/ixgbe/ix_txrx.coptional ix ixv inet \
 +dev/ixgbe/ix_txrx.coptional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe -DSMP
 -dev/ixgbe/ixgbe_phy.c  optional ix ixv inet \
 +dev/ixgbe/ixgbe_phy.c  optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_api.c  optional ix ixv inet \
 +dev/ixgbe/ixgbe_api.c  optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_common.c   optional ix ixv inet \
 +dev/ixgbe/ixgbe_common.c   optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_mbx.c  optional ix ixv inet \
 +dev/ixgbe/ixgbe_mbx.c  optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_vf.c   optional ix ixv inet \
 +dev/ixgbe/ixgbe_vf.c   optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_82598.coptional ix ixv inet \
 +dev/ixgbe/ixgbe_82598.coptional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_82599.coptional ix ixv inet \
 +dev/ixgbe/ixgbe_82599.coptional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_x540.c optional ix ixv inet \
 +dev/ixgbe/ixgbe_x540.c optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
 -dev/ixgbe/ixgbe_x550.c optional ix ixv inet \
 +dev/ixgbe/ixgbe_x550.c optional ix | ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe
  dev/ixgbe/ixgbe_dcb.c  optional ix ixv inet \
 compile-with ${NORMAL_C} -I$S/dev/ixgbe

 cheers,
 Stefano

 --
 *Stefano Garzarella*
 Software Engineer

 e-mail: stefano.garzare...@gmail.com
 github: http://github.com/stefano-garzarella
 linkedin: http://it.linkedin.com/pub/stefano-garzarella

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org