[23/24] ovs-dpdk: Upgrade 2.10 -> 2.11

Submitted by C.R. Guo on July 5, 2019, 8:44 a.m. | Patch ID: 162810

Details

Message ID 1562316188-16744-23-git-send-email-chunrong.guo@nxp.com
State New
Headers show

Commit Message

C.R. Guo July 5, 2019, 8:44 a.m.
From: Chunrong Guo <chunrong.guo@nxp.com>

*Update to lsdk 1906 tag
include the following changes:
abc80ef - netdev-dpdk: have env based configurable number of packet buffers
2410fad - rhel: Use PIDFile on forking systemd service files
a631ef7 - dpif-netdev: fix meter at high packet rate.
6b14ed0 - dpif-netdev: Fix double parsing of packets when EMC disabled.
0118706 - dpif-netdev: Update comment about flow installation race.
3c54cf1 - netlink linux: fix to append the netnsid netlink attr.
9a72286 - conntrack: Fix minimum connections to clean.
9b2e4ff - datapath: Revert "datapath: Fix template leak in error cases."
62c7a9d - compiler: Fix compilation when using VStudio 2015/2017
2560908 - datapath: fix flow actions reallocation
fae3311 - Docs: fix conntrack flow ct_state input
daeab19 - netdev-dpdk: Fix printing masks with wrong byte order.
24909e6 - Prepare for 2.11.2.
022c173 - Set release date for 2.11.1.
044a61d - netdev-tc-offloads: Fix probe tc block support
434ffa9 - rhel: Include all header files in the Fedora's devel package
359a7d2 - reconnect.c: Don't transition back to ACTIVE when forced to RECONNECT.
2924b48 - OVN: Make periodic RAs consistent with RA responder.
54f2d11 - OVN: Always send prefix option in RAs
76f2c3b - OVN: Use offset instead of pointer into ofpbuf
6ffb917 - ofproto: fix the bug of bucket counter is not updated
b1f9b4e - netdev-dpdk: Print netdev name for txq mapping.
9068a55 - dpif-netdev-perf: Fix millisecond stats precision with slower TSC.
3c440c2 - ifupdown.sh: Add missing "--may-exist" option
b88dafd - dpif-netdev-perf: Fix double update of perf histograms.
a55b827 - dpdk: Stop dumping memzones to stdout.
68b2304 - dpctl: Drop parser debug information.
5dea53a - netdev-tc-offloads: Properly get the block id on flow del/get
4c26dfd - netdev-tc-offloads: Improve log message for icmpv6 offload not supported
d8bb89f - conntrack: Replace structure copy by memcpy().

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 recipes-extended/ovs-dpdk/ovs-dpdk_2.10.bb | 49 ------------------------------
 recipes-extended/ovs-dpdk/ovs-dpdk_2.11.bb | 49 ++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 49 deletions(-)
 delete mode 100644 recipes-extended/ovs-dpdk/ovs-dpdk_2.10.bb
 create mode 100644 recipes-extended/ovs-dpdk/ovs-dpdk_2.11.bb

Patch hide | download patch | download mbox

diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_2.10.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_2.10.bb
deleted file mode 100644
index 3ffa9a0..0000000
--- a/recipes-extended/ovs-dpdk/ovs-dpdk_2.10.bb
+++ /dev/null
@@ -1,49 +0,0 @@ 
-DESCRIPTION = "OVS DPDK"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab"
-
-DEPENDS = "dpdk python-six-native coreutils-native"
-RDEPENDS_${PN} = "bash libcrypto libssl python"
-
-inherit pythonnative
-
-SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ovs-dpdk;nobranch=1 \
-"
-SRCREV = "4d82df36993ca502d33afa305fbd2a41a950106d"
-
-S = "${WORKDIR}/git"
-
-DPAA_VER ?= "dpaa"
-export RTE_TARGET = "${ARCH}-${DPAA_VER}-linuxapp-gcc"
-
-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}" \
-    RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" \
-'
-
-do_configure() {
-	export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR}
-	${S}/boot.sh
-	${S}/configure --host aarch64-fsl-linux --with-dpdk=${SYSROOT_DPDK}/usr/share/${RTE_TARGET} --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast" 
-}
-
-do_compile() {
-	oe_runmake O="${RTE_TARGET}" T="${RTE_TARGET}" 
-}
-
-do_install() {
-	install -d ${D}${bindir}/ovs-dpdk
-	cp -rf  ${S}/ovsdb/ovsdb-tool ${D}${bindir}/ovs-dpdk
-	cp -rf  ${S}/ovsdb/ovsdb-server ${D}${bindir}/ovs-dpdk
-	cp -rf  ${S}/vswitchd/vswitch.ovsschema ${D}${bindir}/ovs-dpdk
-	cp -rf  ${S}/vswitchd/ovs-vswitchd ${D}${bindir}/ovs-dpdk
-	cp -rf  ${S}/utilities/ovs-vsctl ${D}${bindir}/ovs-dpdk
-	cp -rf  ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk
-	chmod 777 -R ${D}${bindir}/ovs-dpdk/*
-}
-
-ALLOW_EMPTY_${PN} = "1"
-INHIBIT_PACKAGE_STRIP = "1"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "(qoriq-arm64)"
diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_2.11.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_2.11.bb
new file mode 100644
index 0000000..fd9d3a6
--- /dev/null
+++ b/recipes-extended/ovs-dpdk/ovs-dpdk_2.11.bb
@@ -0,0 +1,49 @@ 
+DESCRIPTION = "OVS DPDK"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab"
+
+DEPENDS = "dpdk python-six-native coreutils-native"
+RDEPENDS_${PN} = "bash libcrypto libssl python"
+
+inherit pythonnative
+
+SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ovs-dpdk;nobranch=1 \
+"
+SRCREV = "abc80ef87a8786050f27afb2a797cadd14e2a6bd"
+
+S = "${WORKDIR}/git"
+
+DPAA_VER ?= "dpaa"
+export RTE_TARGET = "${ARCH}-${DPAA_VER}-linuxapp-gcc"
+
+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}" \
+    RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" \
+'
+
+do_configure() {
+	export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR}
+	${S}/boot.sh
+	${S}/configure --host aarch64-fsl-linux --with-dpdk=${SYSROOT_DPDK}/usr/share/${RTE_TARGET} --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast" 
+}
+
+do_compile() {
+	oe_runmake O="${RTE_TARGET}" T="${RTE_TARGET}" 
+}
+
+do_install() {
+	install -d ${D}${bindir}/ovs-dpdk
+	cp -rf  ${S}/ovsdb/ovsdb-tool ${D}${bindir}/ovs-dpdk
+	cp -rf  ${S}/ovsdb/ovsdb-server ${D}${bindir}/ovs-dpdk
+	cp -rf  ${S}/vswitchd/vswitch.ovsschema ${D}${bindir}/ovs-dpdk
+	cp -rf  ${S}/vswitchd/ovs-vswitchd ${D}${bindir}/ovs-dpdk
+	cp -rf  ${S}/utilities/ovs-vsctl ${D}${bindir}/ovs-dpdk
+	cp -rf  ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk
+	chmod 777 -R ${D}${bindir}/ovs-dpdk/*
+}
+
+ALLOW_EMPTY_${PN} = "1"
+INHIBIT_PACKAGE_STRIP = "1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(qoriq-arm64)"