netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Veaceslav Falico <vfalico@redhat.com>
To: Ding Tianhong <dingtianhong@huawei.com>
Cc: fubar@us.ibm.com, andy@greyhouse.net, kaber@trash.net,
	davem@davemloft.net, netdev@vger.kernel.org
Subject: Re: [PATCH net-next 0/3] bonding: support 802.1ad vlan protocol
Date: Wed, 12 Mar 2014 07:13:53 +0100	[thread overview]
Message-ID: <20140312061353.GA2924@redhat.com> (raw)
In-Reply-To: <1394509422-8704-1-git-send-email-dingtianhong@huawei.com>

On Tue, Mar 11, 2014 at 11:43:39AM +0800, Ding Tianhong wrote:
>The bonding could only use vlan proto 802.1q regardless the vlan dev is
>802.1ad or 802.1q, so add new interface to get vlan proto by vlan dev and
>use it to send packages by correct vlan protocol.

It's not that easy. 802.1ad packets should be double-tagged, however you're
just changing the protocol (from 1q to 1ad) and tagging just once.

Have you actually tested this patchset, does it produce correct QinQ
packets?

>
>Ding Tianhong (3):
>  vlan: make a new function  vlan_dev_vlan_proto() and export
>  bonding: support different vlan proto for bond_arp_send()
>  bonding: choose the correct vlan proto for alb_send_learning_packets
>
> drivers/net/bonding/bond_alb.c  |  7 ++++---
> drivers/net/bonding/bond_main.c | 23 +++++++++++++++--------
> include/linux/if_vlan.h         |  7 +++++++
> net/8021q/vlan_core.c           |  6 ++++++
> 4 files changed, 32 insertions(+), 11 deletions(-)
>
>-- 
>1.8.0
>
>

  parent reply	other threads:[~2014-03-12  6:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11  3:43 [PATCH net-next 0/3] bonding: support 802.1ad vlan protocol Ding Tianhong
2014-03-11  3:43 ` [PATCH net-next 1/3] vlan: make a new function vlan_dev_vlan_proto() and export Ding Tianhong
2014-03-11  3:43 ` [PATCH net-next 2/3] bonding: support different vlan proto for bond_arp_send() Ding Tianhong
2014-03-11  3:43 ` [PATCH net-next 3/3] bonding: choose the correct vlan proto for alb_send_learning_packets Ding Tianhong
2014-03-12  6:13 ` Veaceslav Falico [this message]
2014-03-12  8:57   ` [PATCH net-next 0/3] bonding: support 802.1ad vlan protocol Ding Tianhong

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=20140312061353.GA2924@redhat.com \
    --to=vfalico@redhat.com \
    --cc=andy@greyhouse.net \
    --cc=davem@davemloft.net \
    --cc=dingtianhong@huawei.com \
    --cc=fubar@us.ibm.com \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).