This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, next has been updated
discards 66bc236b2059f554c378b90d5291ca4a8aecf5b4 (commit)
discards 22a659377f3b181e351428708708971c819582f7 (commit)
discards 458bc7ddf290806f0a95c76da6f6d4f3c8a07737 (commit)
discards 12229e66492f7947c180cf540aecd53096431bc8 (commit)
discards 7378c0ddeb8c34a38d0021230a65bccfc21a6f1b (commit)
via 332d48c9c25504b3cbb9451e292a98c15df17ccb (commit)
via 0d3ee95d0fb3712631d81c5e6f4fb5f176617c5e (commit)
via 0c3ee63ae7b133defa2e74d2573f541d68dae040 (commit)
via 8f517b3a278d3742b182b67d6b50f9452dd3e519 (commit)
via 2afd00967b751ef3a9fe45d2f966f35956c93520 (commit)
via 969d1c74ef21b77df01b120297d4156b87183894 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (66bc236b2059f554c378b90d5291ca4a8aecf5b4)
\
N -- N -- N (332d48c9c25504b3cbb9451e292a98c15df17ccb)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 332d48c9c25504b3cbb9451e292a98c15df17ccb (commit)
from 0d3ee95d0fb3712631d81c5e6f4fb5f176617c5e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 332d48c9c25504b3cbb9451e292a98c15df17ccb
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Thu Feb 9 00:50:53 2017 +0300
travis: add code style checks
run checkpatch.pl to check code style for applied patches.
Do not check spelling now. Will check it only on merge requests.
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-by: Mike Holmes <mike.holmes(a)linaro.org>
diff --git a/.travis.yml b/.travis.yml
index 5b9a29a..9544ec8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -95,6 +95,21 @@ before_install:
- popd
script:
+ - echo $TRAVIS_COMMIT_RANGE
+ - ODP_PACHES=`echo $TRAVIS_COMMIT_RANGE | sed 's/\.//'`
+# Generate patches provided with $TRAVIS_COMMIT_RANGE.
+# In case of force push and range is broken validate only the latest commit if it's not merge commit.
+ - git format-patch $ODP_PACHES;
+ if [ $? -ne 0 ]; then
+ git show --summary HEAD| grep -q '^Merge:';
+ if [ $? -ne 0 ]; then
+ git format-patch HEAD^;
+ perl ./scripts/checkpatch.pl *.patch;
+ fi;
+ else
+ perl ./scripts/checkpatch.pl *.patch;
+ fi
+
- ./bootstrap
- ./configure
- make doxygen-doc
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, api-next has been updated
via 2961df923de0b3034c09a288b28394c1a2ea1a9d (commit)
from 9fbdbe9a6a86705339858a906ea66f076cc66785 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2961df923de0b3034c09a288b28394c1a2ea1a9d
Author: Yi He <yi.he(a)linaro.org>
Date: Tue Feb 7 02:35:17 2017 +0000
linux-gen: fix odp_schedule.m4
Fixed configure script when enables schedule option
schedule-iquery=yes or schedule-sp=yes: command not found
Signed-off-by: Yi He <yi.he(a)linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/platform/linux-generic/m4/odp_schedule.m4 b/platform/linux-generic/m4/odp_schedule.m4
index 2dcc9a7..91c19f2 100644
--- a/platform/linux-generic/m4/odp_schedule.m4
+++ b/platform/linux-generic/m4/odp_schedule.m4
@@ -1,13 +1,13 @@
AC_ARG_ENABLE([schedule-sp],
[ --enable-schedule-sp enable strict priority scheduler],
[if test x$enableval = xyes; then
- schedule-sp=yes
+ schedule_sp_enabled=yes
ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_SP"
fi])
AC_ARG_ENABLE([schedule-iquery],
[ --enable-schedule-iquery enable interests query (sparse bitmap) scheduler],
[if test x$enableval = xyes; then
- schedule-iquery=yes
+ schedule_iquery_enabled=yes
ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_IQUERY"
fi])
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/m4/odp_schedule.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via b8867b0a5ea5eeb8b0b7a95e36025c95738f48b3 (commit)
from 6ad530311e9cbd5fd77b958e78921e80fbbfa943 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b8867b0a5ea5eeb8b0b7a95e36025c95738f48b3
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Tue Feb 7 16:48:12 2017 +0300
codecov: add code coverage integrated to github
Results for code coverage will be available in https://codecov.io.
On each successful run in github automatic code coverage will
be run under travis ci. And at the end of travis log there will
be link to code coverage for specific commit which you push. Also
github merge requests will post automatically status of code coverage
and update it if you changed merge request to new version.
This patch also adds matrix to test both gcc and clang due to gcov
is broken Travis CI shipment. Coverage done only for gcc tests.
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-by: Mike Holmes <mike.holmes(a)linaro.org>
diff --git a/.codecov.yml b/.codecov.yml
new file mode 100644
index 0000000..86bcd1d
--- /dev/null
+++ b/.codecov.yml
@@ -0,0 +1,25 @@
+codecov:
+ notify:
+ require_ci_to_pass: yes
+
+coverage:
+ precision: 3
+ round: down
+ range: "50...75"
+ status:
+ project: yes
+ patch: yes
+ changes: yes
+
+parsers:
+ gcov:
+ branch_detection:
+ conditional: yes
+ loop: yes
+ method: no
+ macro: no
+
+comment:
+ layout: "header, diff, files"
+ behavior: default
+ require_changes: no
diff --git a/.travis.yml b/.travis.yml
index f12242c..5b9a29a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,8 @@
# pushing to github/coverity_scan will also launch a static analysis
# See https://scan.coverity.com/travis_ci
+language: c
+sudo: required
env:
global:
# COVERITY_SCAN_TOKEN
@@ -24,10 +26,27 @@ env:
# copy the secure:<key> below
#
- secure: "xxxx"
+ #
+ # By default Linaro CODECOV_TOKEN token is used. It's ok to use it to see
+ # for individual commit validation. But you you want to track tests history
+ # you need generated new one at https://codecov.io specific for your repo.
+ - CODECOV_TOKEN=8e1c0fd8-62ff-411e-a79f-5839f6662c11
-language: c
-compiler: clang
-sudo: required
+matrix:
+ include:
+ - compiler: gcc-4.8
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - gcc-4.8
+ env: MY_CF="-O0 -coverage" MY_LDF="--coverage" DOCOV=1
+ - compiler: clang
+ addons:
+ apt:
+ packages:
+ - clang
before_install:
- echo 1000 | sudo tee /proc/sys/vm/nr_hugepages
@@ -37,7 +56,9 @@ before_install:
- sudo apt-get -qq update
- sudo apt-get install automake autoconf libtool libssl-dev graphviz mscgen doxygen
- sudo apt-get install libpcap-dev linux-headers-`uname -r`
+ - sudo pip install coverage
- gem install asciidoctor
+ - PATH=${PATH//:\.\/node_modules\/\.bin/}
# Install cunit for the validation tests because distro version is too old and fails C99 compile
- export CUNIT_VERSION=2.1-3
@@ -74,17 +95,21 @@ before_install:
- popd
script:
+ - ./bootstrap
+ - ./configure
+ - make doxygen-doc
+ - make distcheck
- ./bootstrap
- - ./configure --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap
+ - ./configure --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="$MY_CF" CXXFLAGS="$MY_CF" LDFLAGS="$MY_LDF"
- make -j 4
- sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make check
- - sudo git clean -f -d -x && rm -rf dpdk && rm -rf netmap && rm -rf $KSRC
+ - sudo rm -rf dpdk
+ - sudo rm -rf netmap
+ - sudo rm -rf $KSRC
- - ./bootstrap
- - ./configure
- - make doxygen-doc
- - make distcheck
+after_success:
+ - if [ -n "$DOCOV" ]; then find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov-4.8 {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy; fi
addons:
coverity_scan:
-----------------------------------------------------------------------
Summary of changes:
.codecov.yml | 25 +++++++++++++++++++++++++
.travis.yml | 43 ++++++++++++++++++++++++++++++++++---------
2 files changed, 59 insertions(+), 9 deletions(-)
create mode 100644 .codecov.yml
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 022cf4a7136c7369ee5f29f5d245ac8d052135e6 (commit)
from c87d5cc8d70e6e4291d18b101882ea2ddded236e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 022cf4a7136c7369ee5f29f5d245ac8d052135e6
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Sat Feb 4 23:33:24 2017 +0300
linux-gen: fix dpdk pktio init
struct rte_eth_dev_info should be initialized before
usage with strcmp(dev_info.driver_name, "rte_ixgbe_pmd").
Patch fixes segfault on that compare.
CC: Elo Matias <matias.elo(a)nokia.com>
Reviewed-and-tested-by: Matias Elo <matias.elo(a)nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/platform/linux-generic/pktio/dpdk.c b/platform/linux-generic/pktio/dpdk.c
index 0eb025a..9a9f7a4 100644
--- a/platform/linux-generic/pktio/dpdk.c
+++ b/platform/linux-generic/pktio/dpdk.c
@@ -560,19 +560,19 @@ static int dpdk_output_queues_config(pktio_entry_t *pktio_entry,
return 0;
}
-static void dpdk_init_capability(pktio_entry_t *pktio_entry)
+static void dpdk_init_capability(pktio_entry_t *pktio_entry,
+ struct rte_eth_dev_info *dev_info)
{
pkt_dpdk_t *pkt_dpdk = &pktio_entry->s.pkt_dpdk;
odp_pktio_capability_t *capa = &pkt_dpdk->capa;
- struct rte_eth_dev_info dev_info;
- memset(&dev_info, 0, sizeof(struct rte_eth_dev_info));
+ memset(dev_info, 0, sizeof(struct rte_eth_dev_info));
memset(capa, 0, sizeof(odp_pktio_capability_t));
- rte_eth_dev_info_get(pkt_dpdk->port_id, &dev_info);
- capa->max_input_queues = RTE_MIN(dev_info.max_rx_queues,
+ rte_eth_dev_info_get(pkt_dpdk->port_id, dev_info);
+ capa->max_input_queues = RTE_MIN(dev_info->max_rx_queues,
PKTIO_MAX_QUEUES);
- capa->max_output_queues = RTE_MIN(dev_info.max_tx_queues,
+ capa->max_output_queues = RTE_MIN(dev_info->max_tx_queues,
PKTIO_MAX_QUEUES);
capa->set_op.op.promisc_mode = 1;
@@ -631,7 +631,7 @@ static int dpdk_open(odp_pktio_t id ODP_UNUSED,
return -1;
}
- dpdk_init_capability(pktio_entry);
+ dpdk_init_capability(pktio_entry, &dev_info);
mtu = dpdk_mtu_get(pktio_entry);
if (mtu == 0) {
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/pktio/dpdk.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
hooks/post-receive
--