All of lore.kernel.org
 help / color / mirror / Atom feed
From: Otavio Salvador <otavio.salvador@ossystems.com.br>
To: Chunrong Guo <B40290@freescale.com>
Cc: "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>,
	Chunrong Guo <chunrong.guo@nxp.com>
Subject: Re: [[PATCH v2 14/34] dpdk: update recipes
Date: Mon, 16 Oct 2017 14:35:14 -0200	[thread overview]
Message-ID: <CAP9ODKpbeJBBFfTV5V95whXDXw-9pa--YRkzB2jQgSPg+e_zyA@mail.gmail.com> (raw)
In-Reply-To: <1508135616-17233-14-git-send-email-B40290@freescale.com>

On Mon, Oct 16, 2017 at 4:33 AM, Chunrong Guo <B40290@freescale.com> wrote:
> From: Chunrong Guo <chunrong.guo@nxp.com>
>
> *update to 3d7a6ae
>  include the following changes
>  3d7a6ae - license: fix legal review request comments
>  148e3dc - Revert "crypto/openssl: fix compilation break with openssl 1.1"
>  9845264 - crypto/openssl: fix compilation break with openssl 1.1
>  95e380c - net/dpaa2: set queues if reconfiguration is done
>  64578fa - bus/dpaa: fix port order shuffling
>  f58c470 - Merge pull request #451 in GITAM/dpdk from feature/DPDK-837 to 17.05-qoriq
>  7132562 - dpaa: Patch to fix coverity issue
>
> *remove 0001-fix-build-with-gcc-7.1.patch
>  patches have beed applyed
>
> *packaging share folder in binary package
>  fix the below error
>  |ERROR: dpdk-16.07-r0 do_package: QA Issue: dpdk: Files/directories were installed but not shipped in any package:
>  |  /usr/share/buildtools
>
> *remove load-devel-config.sh
>  fix the below error
>  |can't read load-devel-config.sh
>
> *Remove the commented code.
>
> Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>>
> ---
>  .../dpdk/dpdk/0001-fix-build-with-gcc-7.1.patch    | 119 ---------------------
>  recipes-extended/dpdk/dpdk_16.07.bb                |   8 +-
>  2 files changed, 2 insertions(+), 125 deletions(-)
>  delete mode 100644 recipes-extended/dpdk/dpdk/0001-fix-build-with-gcc-7.1.patch
>
> diff --git a/recipes-extended/dpdk/dpdk/0001-fix-build-with-gcc-7.1.patch b/recipes-extended/dpdk/dpdk/0001-fix-build-with-gcc-7.1.patch
> deleted file mode 100644
> index 399510a..0000000
> --- a/recipes-extended/dpdk/dpdk/0001-fix-build-with-gcc-7.1.patch
> +++ /dev/null
> @@ -1,119 +0,0 @@
> -From 03ee26cd708971a51f056e3f53482367aa38fcb1 Mon Sep 17 00:00:00 2001
> -From: Chunrong Guo <chunrong.guo@nxp.com>
> -Date: Wed, 12 Jul 2017 12:03:38 +0800
> -Subject: [PATCH] fix build with gcc 7.1
> -
> -Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
> ----
> - lib/librte_cmdline/cmdline_parse_num.c        |  4 ++--
> - lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h |  2 +-
> - lib/librte_hash/rte_crc_arm64.h               |  2 ++
> - lib/librte_ring/rte_ring.h                    | 18 ++++++++++++------
> - mk/toolchain/gcc/rte.vars.mk                  |  6 ++++++
> - 5 files changed, 23 insertions(+), 9 deletions(-)
> -
> -diff --git a/lib/librte_cmdline/cmdline_parse_num.c b/lib/librte_cmdline/cmdline_parse_num.c
> -index b0f9a35..e507ec4 100644
> ---- a/lib/librte_cmdline/cmdline_parse_num.c
> -+++ b/lib/librte_cmdline/cmdline_parse_num.c
> -@@ -250,7 +250,7 @@ cmdline_parse_num(cmdline_parse_token_hdr_t *tk, const char *srcbuf, void *res,
> -
> -               case HEX:
> -                       st = HEX_OK;
> --                      /* no break */
> -+                      /* fall-through no break */
> -               case HEX_OK:
> -                       if (c >= '0' && c <= '9') {
> -                               if (add_to_res(c - '0', &res1, 16) < 0)
> -@@ -282,7 +282,7 @@ cmdline_parse_num(cmdline_parse_token_hdr_t *tk, const char *srcbuf, void *res,
> -
> -               case BIN:
> -                       st = BIN_OK;
> --                      /* no break */
> -+                      /* fall-through */
> -               case BIN_OK:
> -                       if (c >= '0' && c <= '1') {
> -                               if (add_to_res(c - '0', &res1, 2) < 0)
> -diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h b/lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h
> -index e5554ca..8d76f32 100644
> ---- a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h
> -+++ b/lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h
> -@@ -607,7 +607,7 @@ struct igb_adapter {
> -       int int_mode;
> -       u32 rss_queues;
> -       u32 vmdq_pools;
> --      char fw_version[32];
> -+      char fw_version[43];
> -       u32 wvbr;
> -       struct igb_mac_addr *mac_table;
> - #ifdef CONFIG_IGB_VMDQ_NETDEV
> -diff --git a/lib/librte_hash/rte_crc_arm64.h b/lib/librte_hash/rte_crc_arm64.h
> -index 7dd6334..a17c0e4 100644
> ---- a/lib/librte_hash/rte_crc_arm64.h
> -+++ b/lib/librte_hash/rte_crc_arm64.h
> -@@ -110,8 +110,10 @@ rte_hash_crc_set_alg(uint8_t alg)
> -       case CRC32_ARM64:
> -               if (!rte_cpu_get_flag_enabled(RTE_CPUFLAG_CRC32))
> -                       alg = CRC32_SW;
> -+                /* fall-through */
> -       case CRC32_SW:
> -               crc32_alg = alg;
> -+                /* fall-through */
> -       default:
> -               break;
> -       }
> -diff --git a/lib/librte_ring/rte_ring.h b/lib/librte_ring/rte_ring.h
> -index 0e22e69..085f3fe 100644
> ---- a/lib/librte_ring/rte_ring.h
> -+++ b/lib/librte_ring/rte_ring.h
> -@@ -364,9 +364,12 @@ void rte_ring_dump(FILE *f, const struct rte_ring *r);
> -                       r->ring[idx+3] = obj_table[i+3]; \
> -               } \
> -               switch (n & 0x3) { \
> --                      case 3: r->ring[idx++] = obj_table[i++]; \
> --                      case 2: r->ring[idx++] = obj_table[i++]; \
> --                      case 1: r->ring[idx++] = obj_table[i++]; \
> -+              case 3: \
> -+                      r->ring[idx++] = obj_table[i++]; /* fallthrough */ \
> -+              case 2: \
> -+                      r->ring[idx++] = obj_table[i++]; /* fallthrough */ \
> -+              case 1: \
> -+                      r->ring[idx++] = obj_table[i++]; /* fallthrough */  \
> -               } \
> -       } else { \
> -               for (i = 0; idx < size; i++, idx++)\
> -@@ -390,9 +393,12 @@ void rte_ring_dump(FILE *f, const struct rte_ring *r);
> -                       obj_table[i+3] = r->ring[idx+3]; \
> -               } \
> -               switch (n & 0x3) { \
> --                      case 3: obj_table[i++] = r->ring[idx++]; \
> --                      case 2: obj_table[i++] = r->ring[idx++]; \
> --                      case 1: obj_table[i++] = r->ring[idx++]; \
> -+              case 3: \
> -+                      obj_table[i++] = r->ring[idx++]; /* fallthrough */ \
> -+              case 2: \
> -+                      obj_table[i++] = r->ring[idx++]; /* fallthrough */ \
> -+              case 1: \
> -+                      obj_table[i++] = r->ring[idx++]; /* fallthrough */ \
> -               } \
> -       } else { \
> -               for (i = 0; idx < size; i++, idx++) \
> -diff --git a/mk/toolchain/gcc/rte.vars.mk b/mk/toolchain/gcc/rte.vars.mk
> -index 94f6412..350c8bc 100644
> ---- a/mk/toolchain/gcc/rte.vars.mk
> -+++ b/mk/toolchain/gcc/rte.vars.mk
> -@@ -101,5 +101,11 @@ ifeq ($(shell test $(GCC_VERSION) -lt 47 && echo 1), 1)
> - WERROR_FLAGS += -Wno-uninitialized
> - endif
> -
> -+ifeq ($(shell test $(GCC_VERSION) -gt 70 && echo 1), 1)
> -+# Tell GCC only to error for switch fallthroughs without a suitable comment
> -+# Ignore errors for snprintf truncation
> -+WERROR_FLAGS += -Wno-format-truncation
> -+endif
> -+
> - export CC AS AR LD OBJCOPY OBJDUMP STRIP READELF
> - export TOOLCHAIN_CFLAGS TOOLCHAIN_LDFLAGS TOOLCHAIN_ASFLAGS
> ---
> -2.7.4
> -
> diff --git a/recipes-extended/dpdk/dpdk_16.07.bb b/recipes-extended/dpdk/dpdk_16.07.bb
> index b47d041..f35218c 100644
> --- a/recipes-extended/dpdk/dpdk_16.07.bb
> +++ b/recipes-extended/dpdk/dpdk_16.07.bb
> @@ -12,9 +12,8 @@ inherit module
>  SRC_URI = "git://github.com/qoriq-open-source/dpdk.git;nobranch=1 \
>      file://add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch \
>      file://0001-include-sys-sysmacros.h-for-major-minor-defintions.patch \
> -    file://0001-fix-build-with-gcc-7.1.patch \
>  "
> -SRCREV = "98f548c36b3c805a04d9963b8eb02e09340aa089"
> +SRCREV = "3d7a6ae1745a2f60f76afd3ad3ca57329388168c"
>
>  S = "${WORKDIR}/git"
>
> @@ -23,7 +22,6 @@ DPAA_VER_fsl-lsch2 = "dpaa"
>  export RTE_TARGET = "${ARCH}-${DPAA_VER}-linuxapp-gcc"
>  export ETHTOOL_LIB_PATH = "${S}/examples/ethtool/lib/${RTE_TARGET}/"
>
> -
>  EXTRA_OEMAKE += 'ARCH="${ARCH}" CROSS="${TARGET_PREFIX}" \
>      CPU_CFLAGS="--sysroot=${STAGING_DIR_HOST}" RTE_SDK="${S}" \
>      OPENSSL_PATH="${STAGING_DIR_HOST}" RTE_KERNELDIR="${STAGING_KERNEL_DIR}" \
> @@ -55,8 +53,6 @@ do_install() {
>      install -d ${D}/lib/modules/${KERNEL_VERSION}/dpdk
>      install -m 0755 ${S}/${RTE_TARGET}/kmod/rte_kni.ko ${D}/lib/modules/${KERNEL_VERSION}/dpdk/
>
> -    sed -i 's#/bin/echo#/bin/bash#' ${D}/${datadir}/scripts/load-devel-config.sh
> -   # rm ${S}/${RTE_TARGET}/app/dpdk-pmdinfogen
>      rm ${D}/${datadir}/${RTE_TARGET}/app/dpdk-pmdinfogen
>
>      chown root:root -R ${D}
> @@ -66,7 +62,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
>
>  PACKAGES += "${PN}-examples"
>
> -FILES_${PN} += "${datadir}/tools /usr/bin/* /usr/sbin/*"
> +FILES_${PN} += "${datadir}/tools /usr/bin/* /usr/sbin/* /usr/share/*"

Don't use /us/share or /usr/bin but the variables. Also I think
${datadir}/* will allow for removal of ${datadir}/tools.

>  FILES_${PN}-dbg += "${bindir}/dpdk-example/.debug \
>      ${datadir}/examples/kni/build/.debug \
>      ${datadir}/examples/kni/build/app/.debug \
> --
> 1.9.0
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


  reply	other threads:[~2017-10-16 16:35 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16  6:33 [[PATCH v2 01/34] qe-ucode: update SRC_URL Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 02/34] qe-ucode: update COMPATIBLE_MACHINE Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 03/34] uboot: update to upgrade to 2017.09 Chunrong Guo
2017-10-16 16:33   ` Otavio Salvador
2017-10-16  6:33 ` [[PATCH v2 04/34] cst :update to 1afb40c Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 05/34] eth-config: update SRC_URL and update to e3dcd11 Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 06/34] flib: update to 14489ee Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 07/34] fmlib: update SRC_URL and update to 9f20cab Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 08/34] fmlib: update FMLIB_TARGET and remove TARGET_ARCH_FMLIB Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 09/34] aiopsl: update to 2b7284f Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 10/34] gpp-aioptool: update to 43b842b Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 11/34] restool: update to 87c3abe Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 12/34] restool: add ls1043ardb and ls1046ardb as COMPATIBLE_MACHINE Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 13/34] cantest :update recipes for support Qoriq Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 14/34] dpdk: update recipes Chunrong Guo
2017-10-16 16:35   ` Otavio Salvador [this message]
2017-10-16  6:33 ` [[PATCH v2 15/34] odp:update recipes Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 16/34] ovs-dpdk: update recipes Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 17/34] ppa :update to 92b208b Chunrong Guo
2017-10-16 16:36   ` Otavio Salvador
2017-10-16  6:33 ` [[PATCH v2 18/34] uefi :update to a812f17 Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 19/34] dpl-examples: update to a6c8375 Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 20/34] mc:update to 10.3.2 Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 21/34] linux :update to 953d467 Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 22/34] ls2-phy : update recipe Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 23/34] ls2088ardb: update uboot config Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 24/34] linux-qoriq: Upgrade kernel to v4.9 Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 25/34] ls2-rcw: remove recipes Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 26/34] rcw :update recipe Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 27/34] ls1088ardb: rcw instead of ls2-rcw Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 28/34] ls2088ardb: " Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 29/34] ls1012ardb: " Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 30/34] ls1012afrdm : " Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 31/34] ls2080ardb: " Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 32/34] ls1012ardb-32: " Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 33/34] ls1012afrdm-32b: " Chunrong Guo
2017-10-16  6:33 ` [[PATCH v2 34/34] fmc: update recipes Chunrong Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP9ODKpbeJBBFfTV5V95whXDXw-9pa--YRkzB2jQgSPg+e_zyA@mail.gmail.com \
    --to=otavio.salvador@ossystems.com.br \
    --cc=B40290@freescale.com \
    --cc=chunrong.guo@nxp.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.