All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Jastrzebski <michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: [PATCH v3 0/6] Link Bonding mode 6 support (ALB)
Date: Thu, 19 Feb 2015 18:26:13 +0100	[thread overview]
Message-ID: <1424366779-14256-1-git-send-email-michalx.k.jastrzebski@intel.com> (raw)
In-Reply-To: <1423840570-6452-1-git-send-email-michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

v3 changes:
- completed description for mode 5 unit tests patch
- fixed errors required by checkpatch.pl
- moved patch version changes from patches to cover-letter

v2 changes:
in mode 6 patch 2/6:
- add VLAN support
- fixed sending duplicated ARPupdates
- fixed assigning slaves for next clients
- fixed TLB mode

in debug patch 3/6:
- add IPv4 RX/TX information
- add mode6_debug(..) function

in the example application patch 4/6:
- remove count parameter from send command
- fixed quit command to use cmdline_quit(cl)
- add echo function - all IPv4 packets will be retransmitted. Bonding
	driver will use TLB policy - this will show how TX works in mode 6
- remove unused structures rx_conf_default and tx_conf_default
- add VLAN support
- remove unnecessary comments
- nodify show command in term of printing DEBUG informations

This patchset add support for link bonding mode 6.
Additionally it changes an arp_header structure definition.
Also a basic example is introduced. Using this example,
Bonding will configure each client ARP table,
that packets from each client will be received on different slave,
mode 6 uses round-robin policy to assign slave to client IP address.

Daniel Mrzyglod (1):
  bond: modify TLB unit tests

Maciej Gajdzica (3):
  net: changed arp_hdr struct declaration
  bond: add link bonding mode 6 implementation
  bond: add unit tests for link bonding mode 6.

Michal Jastrzebski (2):
  bond: add debug info for mode 6 link bonding
  bond: add example application for link bonding mode 6

 app/test-pmd/icmpecho.c                    |   27 +-
 app/test/packet_burst_generator.c          |   41 +-
 app/test/packet_burst_generator.h          |   11 +-
 app/test/test_link_bonding.c               |  450 +++++++++++++++-
 app/test/test_pmd_perf.c                   |    3 +-
 app/test/virtual_pmd.c                     |  109 ++--
 app/test/virtual_pmd.h                     |    5 +-
 config/common_linuxapp                     |    3 +-
 examples/bond/Makefile                     |   57 ++
 examples/bond/main.c                       |  796 ++++++++++++++++++++++++++++
 examples/bond/main.h                       |   46 ++
 lib/librte_net/rte_arp.h                   |   13 +-
 lib/librte_pmd_bond/Makefile               |    1 +
 lib/librte_pmd_bond/rte_eth_bond.h         |   11 +-
 lib/librte_pmd_bond/rte_eth_bond_alb.c     |  256 +++++++++
 lib/librte_pmd_bond/rte_eth_bond_alb.h     |  109 ++++
 lib/librte_pmd_bond/rte_eth_bond_api.c     |   28 +-
 lib/librte_pmd_bond/rte_eth_bond_args.c    |    3 +-
 lib/librte_pmd_bond/rte_eth_bond_pmd.c     |  460 ++++++++++++++--
 lib/librte_pmd_bond/rte_eth_bond_private.h |   12 +
 20 files changed, 2295 insertions(+), 146 deletions(-)
 create mode 100644 examples/bond/Makefile
 create mode 100644 examples/bond/main.c
 create mode 100644 examples/bond/main.h
 create mode 100644 lib/librte_pmd_bond/rte_eth_bond_alb.c
 create mode 100644 lib/librte_pmd_bond/rte_eth_bond_alb.h

-- 
1.7.9.5

  parent reply	other threads:[~2015-02-19 17:26 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13 15:16 [PATCH v2 0/6] Link Bonding mode 6 support (ALB) Michal Jastrzebski
     [not found] ` <1423840570-6452-1-git-send-email-michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 15:16   ` [PATCH v2 1/6] net: changed arp_hdr struct declaration Michal Jastrzebski
2015-02-13 15:16   ` [PATCH v2 2/6] bond: add link bonding mode 6 implementation Michal Jastrzebski
2015-02-13 15:16   ` [PATCH v2 3/6] bond: add debug info for mode 6 link bonding Michal Jastrzebski
2015-02-13 15:16   ` [PATCH v2 4/6] bond: add example application for link bonding mode 6 Michal Jastrzebski
2015-02-13 15:16   ` [PATCH v2 5/6] bond: modify TLB unit tests Michal Jastrzebski
2015-02-13 15:16   ` [PATCH v2 6/6] bond: add unit tests for link bonding mode 6 Michal Jastrzebski
2015-02-13 16:12   ` [PATCH v2 0/6] Link Bonding mode 6 support (ALB) Declan Doherty
     [not found]     ` <54DE2285.8000507-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-18 19:10       ` Thomas Monjalon
2015-02-19  9:18         ` Jastrzebski, MichalX K
     [not found]           ` <60ABE07DBB3A454EB7FAD707B4BB1582138EA984-kPTMFJFq+rHjxeytcECX8bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-19  9:39             ` Thomas Monjalon
2015-02-19 10:14               ` Jastrzebski, MichalX K
     [not found]                 ` <60ABE07DBB3A454EB7FAD707B4BB1582138EAA30-kPTMFJFq+rHjxeytcECX8bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-19 10:27                   ` Thomas Monjalon
2015-02-19 17:26   ` Michal Jastrzebski [this message]
     [not found]     ` <1424366779-14256-1-git-send-email-michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-19 17:26       ` [PATCH v3 1/6] net: changed arp_hdr struct declaration Michal Jastrzebski
     [not found]         ` <1424366779-14256-2-git-send-email-michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-20 14:30           ` Thomas Monjalon
2015-02-20 14:54             ` Gajdzica, MaciejX T
     [not found]               ` <9CC680510C0AC140A846FED2EF7F962812E5F82E-kPTMFJFq+rFP9JyJpTNKArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-20 15:22                 ` Thomas Monjalon
2015-02-19 17:26       ` [PATCH v3 2/6] bond: add link bonding mode 6 implementation Michal Jastrzebski
2015-02-19 17:26       ` [PATCH v3 3/6] bond: add debug info for mode 6 link bonding Michal Jastrzebski
2015-02-19 17:26       ` [PATCH v3 4/6] bond: add example application for link bonding mode 6 Michal Jastrzebski
     [not found]         ` <1424366779-14256-5-git-send-email-michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-20 14:42           ` Thomas Monjalon
2015-02-20 16:12             ` Jastrzebski, MichalX K
2015-02-19 17:26       ` [PATCH v3 5/6] bond: modify TLB unit tests Michal Jastrzebski
2015-02-19 17:26       ` [PATCH v3 6/6] bond: add unit tests for link bonding mode 6 Michal Jastrzebski
2015-02-20 16:09   ` [PATCH v4 0/6] Link Bonding mode 6 support (ALB) Michal Jastrzebski
     [not found]     ` <1424448563-8680-1-git-send-email-michalx.k.jastrzebski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-20 16:09       ` [PATCH v4 1/6] net: changed arp_hdr struct declaration Michal Jastrzebski
2015-02-20 16:09       ` [PATCH v4 2/6] bond: add link bonding mode 6 implementation Michal Jastrzebski
2015-02-20 16:09       ` [PATCH v4 3/6] bond: add debug info for mode 6 link bonding Michal Jastrzebski
2015-02-20 16:09       ` [PATCH v4 4/6] bond: add example application for link bonding mode 6 Michal Jastrzebski
2015-02-20 16:09       ` [PATCH v4 5/6] bond: modify TLB unit tests Michal Jastrzebski
2015-02-20 16:09       ` [PATCH v4 6/6] bond: add unit tests for link bonding mode 6 Michal Jastrzebski
2015-02-20 17:44       ` [PATCH v4 0/6] Link Bonding mode 6 support (ALB) Declan Doherty
     [not found]         ` <54E7728E.3090208-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-20 21:58           ` Thomas Monjalon
2015-03-04  3:53           ` Jiajia, SunX

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=1424366779-14256-1-git-send-email-michalx.k.jastrzebski@intel.com \
    --to=michalx.k.jastrzebski-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@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.