From: Declan Doherty <declan.doherty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Tomasz Kulasek
<tomaszx.kulasek-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH v3 2/3] test: Unit tests for mode 4
Date: Thu, 12 Feb 2015 11:49:39 +0000 [thread overview]
Message-ID: <54DC9353.2060209@intel.com> (raw)
In-Reply-To: <1422521516-780-3-git-send-email-tomaszx.kulasek-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
On 29/01/15 08:51, Tomasz Kulasek wrote:
> This patch adds unit tests for mode 4. It is split into separate
> file to avoid problems with other modes that does not need to
> look into packets payload.
> This patch includes also a modification of maximum number of ports
> used in their tests for bonding modes 0-3 from 16 to 6.
>
> v3 changes
> - Patch re-created for current release to maintain consistency
>
>
> Signed-off-by: Pawel Wodkowski <pawelx.wodkowski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> Signed-off-by: Tomasz Kulasek <tomaszx.kulasek-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> ---
> app/test/Makefile | 1 +
> app/test/test_link_bonding.c | 2 +-
> app/test/test_link_bonding_mode4.c | 1412 ++++++++++++++++++++++++++++++++++++
> 3 files changed, 1414 insertions(+), 1 deletion(-)
> create mode 100644 app/test/test_link_bonding_mode4.c
>
>....
>
Hey Tomasz,
due to commit # ecd9d5193b85f22ff3d5fa76fb26d1363b293d94 which modified
the initialize_eth_header API you need to make the following
modification for a clean compilation.
diff --git a/app/test/test_link_bonding_mode4.c
b/app/test/test_link_bonding_mode4.c
index f8d0955..c35129f 100644
--- a/app/test/test_link_bonding_mode4.c
+++ b/app/test/test_link_bonding_mode4.c
@@ -684,7 +684,8 @@ generate_packets(struct ether_addr *src_mac,
int retval;
- initialize_eth_header(&pkt_eth_hdr, src_mac, dst_mac,
vlan_enable, vlan_id);
+ initialize_eth_header(&pkt_eth_hdr, src_mac, dst_mac, ip4_type,
+ vlan_enable, vlan_id);
if (ip4_type)
initialize_ipv4_header(&pkt_ip_hdr.v4, ip_src[3],
ip_dst[3], pktlen);
next prev parent reply other threads:[~2015-02-12 11:49 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-12 9:14 [PATCH 0/3] bond mode 4: add unit tests Michal Jastrzebski
[not found] ` <1418375682-4703-1-git-send-email-michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-12-12 9:14 ` [PATCH 1/3] bond change warning Michal Jastrzebski
[not found] ` <1418375682-4703-2-git-send-email-michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-18 18:06 ` Thomas Monjalon
2014-12-12 9:14 ` [PATCH 2/3] PMD ring MAC management, fix initialization, link up/down Michal Jastrzebski
[not found] ` <1418375682-4703-3-git-send-email-michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-15 10:53 ` Thomas Monjalon
2015-01-19 11:56 ` [PATCH v2 0/3] " Tomasz Kulasek
[not found] ` <1421668601-156-1-git-send-email-tomaszx.kulasek-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-19 11:56 ` [PATCH v2 1/3] PMD Ring - Add link up/down functions Tomasz Kulasek
2015-01-19 11:56 ` [PATCH v2 2/3] PMD Ring - Add MAC addr add/remove functions Tomasz Kulasek
2015-01-19 11:56 ` [PATCH v2 3/3] PMD Ring - Fix for MAC per device management Tomasz Kulasek
2015-01-28 11:56 ` [PATCH v2 0/3] PMD ring MAC management, fix initialization, link up/down Doherty, Declan
[not found] ` <345C63BAECC1AD42A2EC8C63AFFC3ADC2748DDDC-kPTMFJFq+rF9qrmMLTLiibfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-18 17:33 ` Thomas Monjalon
2014-12-12 9:14 ` [PATCH 3/3] unit tests add mode 4 unit test Michal Jastrzebski
[not found] ` <1418375682-4703-4-git-send-email-michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-15 10:55 ` Thomas Monjalon
2015-01-19 12:43 ` [PATCH v2 0/2] " Tomasz Kulasek
[not found] ` <1421671390-8560-1-git-send-email-tomaszx.kulasek-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-19 12:43 ` [PATCH v2 1/2] Unit tests - test.h rework Tomasz Kulasek
2015-01-19 12:43 ` [PATCH v2 2/2] Unit tests for mode 4 Tomasz Kulasek
2015-01-29 8:51 ` [PATCH v3 0/3] " Tomasz Kulasek
[not found] ` <1422521516-780-1-git-send-email-tomaszx.kulasek-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-29 8:51 ` [PATCH v3 1/3] test: test.h rework Tomasz Kulasek
2015-01-29 8:51 ` [PATCH v3 2/3] test: Unit tests for mode 4 Tomasz Kulasek
[not found] ` <1422521516-780-3-git-send-email-tomaszx.kulasek-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-12 11:49 ` Declan Doherty [this message]
2015-01-29 8:51 ` [PATCH v3] mk: Link test app against librte_pmd_ring when needed Tomasz Kulasek
[not found] ` <1422521516-780-4-git-send-email-tomaszx.kulasek-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-12 11:50 ` Declan Doherty
2015-02-13 10:38 ` [PATCH v4 0/4] Unit tests for mode 4 Tomasz Kulasek
[not found] ` <1423823896-4620-1-git-send-email-tomaszx.kulasek-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 10:38 ` [PATCH v4 1/4] test: test.h rework Tomasz Kulasek
2015-02-13 10:38 ` [PATCH v4 2/4] test: Unit tests for mode 4 Tomasz Kulasek
2015-02-13 10:38 ` [PATCH v4 3/4] mk: Link test app against librte_pmd_ring when needed Tomasz Kulasek
2015-02-13 10:38 ` [PATCH v4 4/4] pmd_bond: Set routines required by test app global Tomasz Kulasek
2015-02-13 11:08 ` [PATCH v4 0/4] Unit tests for mode 4 Declan Doherty
[not found] ` <54DDDB10.2070307-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-18 18:00 ` Thomas Monjalon
2014-12-12 15:27 ` [PATCH 0/3] bond mode 4: add unit tests Doherty, Declan
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=54DC9353.2060209@intel.com \
--to=declan.doherty-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=tomaszx.kulasek-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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.