netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Fastabend <john.fastabend@gmail.com>
To: Tariq Toukan <tariqt@mellanox.com>,
	"David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, Eran Ben Elisha <eranbe@mellanox.com>,
	Moshe Shemesh <moshe@mellanox.com>
Subject: Re: [PATCH net-next V2 5/5] net/mlx4: Add VST QinQ support
Date: Mon, 25 Jul 2016 10:12:46 -0700	[thread overview]
Message-ID: <5796488E.7080401@gmail.com> (raw)
In-Reply-To: <1469445336-21952-6-git-send-email-tariqt@mellanox.com>

On 16-07-25 04:15 AM, Tariq Toukan wrote:
> From: Moshe Shemesh <moshe@mellanox.com>
> 
> Move the vf to VST QinQ mode by setting vf vlan protocol to 802.1ad.
> Read current vlan protocol as part of the vf configuration state.
> Upon setting VST QinQ, we use a mechanism of handshake to verify that
> both the vf and the pf driver version support it.
> 
> Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
> Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
> ---

A typical use case I would expect is the administrator on the PF wants
to set both the outer tag (S-VLAN) and inner tag (C-VLAN) of a VM.

It seems this only allows the administrator to set the outer tag but
does allow select type of the tag.

I am mostly interested because this is establishing a UAPI and we should
be sure it can handle future use cases. What about making the
ifla_vf_vlan struct handle multiple layers of headers, by passing a
nested list of {qos + vlan + vlan_proto} tuples for each vf.

Just curious does the hardware support the above S-VLAN + C-VLAN use
case as well?

Thanks,
John

  reply	other threads:[~2016-07-25 17:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-25 11:15 [PATCH net-next V2 0/5] mlx4 VST QinQ support Tariq Toukan
2016-07-25 11:15 ` [PATCH net-next V2 1/5] net/mlx4_core: Fix QUERY FUNC CAP flags Tariq Toukan
2016-07-25 11:15 ` [PATCH net-next V2 2/5] net/mlx4_core: Preparation for VST QinQ Tariq Toukan
2016-07-25 11:15 ` [PATCH net-next V2 3/5] net/mlx4_en: " Tariq Toukan
2016-07-25 11:15 ` [PATCH net-next V2 4/5] net: Update API for VST QinQ support Tariq Toukan
2016-07-25 11:15 ` [PATCH net-next V2 5/5] net/mlx4: Add " Tariq Toukan
2016-07-25 17:12   ` John Fastabend [this message]
     [not found]     ` <653875ea-f06b-e850-d5d2-1c248b2341a6@gmail.com>
2016-07-27 18:05       ` John Fastabend

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=5796488E.7080401@gmail.com \
    --to=john.fastabend@gmail.com \
    --cc=davem@davemloft.net \
    --cc=eranbe@mellanox.com \
    --cc=moshe@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=tariqt@mellanox.com \
    /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).