public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <ordex@autistici.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <antonio@open-mesh.com>
Subject: Re: [B.A.T.M.A.N.] [PATCHv3 12/12] batman-adv: make the TT CRC logic VLAN specific
Date: Tue, 4 Jun 2013 09:18:17 +0200	[thread overview]
Message-ID: <20130604071817.GL1226@ritirata.org> (raw)
In-Reply-To: <1369683792-531-13-git-send-email-ordex@autistici.org>

[-- Attachment #1: Type: text/plain, Size: 1220 bytes --]

On Mon, May 27, 2013 at 09:43:12PM +0200, Antonio Quartulli wrote:
> From: Antonio Quartulli <antonio@open-mesh.com>
> 
> Nodes may need to handle the TT table on a per-VLAN basis,
> meaning that a node may want to filter a received table and
> get only entries belonging to certain VLANs.
> 
> When doing so, such node would re-create only a partial
> global table and would not be able to compute a correct CRC
> anymore.
> 
> This patch splits the logic and introduces one CRC per VLAN.
> In this way a node fetching only some entries belonging to
> some VLANs is still able to compute the specific CRCs and
> check table correctness.
> 
> With this patch the shape of the TVLV-TT is changed too
> because now a node needs to advertise all the CRCs of all
> the VLANs that it is wired to.
> 
> To make the code simpler, also the normal LAN (bat0) is now
> considered to be a VLAN having no tag.
> 
> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>

For the next round I separated this patch in two:

1) introduces the VLAN generalisation
2) introduces the per-VLAN crc logic.


Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2013-06-04  7:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-27 19:43 [B.A.T.M.A.N.] [PATCHv3 00/12] make the Translation Table component VLAN-aware Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 01/12] batman-adv: implement batadv_tt_entries Antonio Quartulli
2013-05-28  7:25   ` Marek Lindner
2013-05-28  7:49     ` Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 02/12] batman-adv: make batadv_tt_save_orig_buffer() generic Antonio Quartulli
2013-05-28  7:30   ` Marek Lindner
2013-05-28  7:49     ` Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 03/12] batman-adv: add the VLAN ID attribute to the TT entry Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 04/12] batman-adv: use vid when computing local and global TT CRC Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 05/12] batman-adv: print the VID together with the TT entries Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 06/12] batman-adv: make the GW module correctly talk to the new VLAN-TT Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 07/12] batman-adv: make the Distributed ARP Table vlan aware Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 08/12] batman-adv: add per VLAN interface attribute framework Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 09/12] batman-adv: make the AP isolation attribute VLAN specific Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 10/12] batman-adv: make the backbone gw check " Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 11/12] batman-adv: make the TT global purge routine " Antonio Quartulli
2013-05-27 19:43 ` [B.A.T.M.A.N.] [PATCHv3 12/12] batman-adv: make the TT CRC logic " Antonio Quartulli
2013-06-04  7:18   ` Antonio Quartulli [this message]

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=20130604071817.GL1226@ritirata.org \
    --to=ordex@autistici.org \
    --cc=antonio@open-mesh.com \
    --cc=b.a.t.m.a.n@lists.open-mesh.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox