Re: [nvo3] I-D Action: draft-xia-nvo3-vxlan-qosmarking-01.txt

Benson Schliesser <bensons@queuefull.net> Wed, 12 November 2014 19:34 UTC

Return-Path: <bensons@queuefull.net>
X-Original-To: nvo3@ietfa.amsl.com
Delivered-To: nvo3@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EEE391A701D for <nvo3@ietfa.amsl.com>; Wed, 12 Nov 2014 11:34:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VUDACcXMspA3 for <nvo3@ietfa.amsl.com>; Wed, 12 Nov 2014 11:34:49 -0800 (PST)
Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F17C41ACFD6 for <nvo3@ietf.org>; Wed, 12 Nov 2014 11:34:20 -0800 (PST)
Received: by mail-wi0-f180.google.com with SMTP id hi2so5986763wib.7 for <nvo3@ietf.org>; Wed, 12 Nov 2014 11:34:19 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=JmElpcbYCeGoXwxLU1Py49SoD6DBkSDFrL0CQ1Iua4A=; b=FTuYDvIMcJ0K968TP148cCAP74DvSQPRmYSBLoqtemmIaS3yZGlKwakCmNNKU3dRcb jqp99IX9q/CSPK09/IRYYO6oyiqY+whf2fP5RxxRwD25uJS45yDdPk4+7IRd89/lT+Xs +D4J2jccuoRnY6VsEvLPagwFUJBEJy9N9ivxdK01VhTNR2PlnXgT5Y3y0NABZ5mMTPFS 0KlI2JXgLoZhMydqhmH41xj6M6R4nOZyEHr0+y7Bh5A11psEH2eq2HxFSymiE5sv46Dn mr3ujg7BkSoTGhmgVkN14IHJLw4W98Q+VmpbltJelRjQESKUvqNj63z3UD1je4TuCDOo jU8Q==
X-Gm-Message-State: ALoCoQnc8DoxGASs7RR72ebdDLoyUNEflIxe95nROU71P3Xp9JAII97ucK7yjpff5IYnKN524YjQ
X-Received: by 10.180.104.234 with SMTP id gh10mr22528325wib.3.1415820859663; Wed, 12 Nov 2014 11:34:19 -0800 (PST)
Received: from dhcp-bbd0.meeting.ietf.org (dhcp-bbd0.meeting.ietf.org. [31.133.187.208]) by mx.google.com with ESMTPSA id cr6sm25199047wjb.44.2014.11.12.11.34.16 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Nov 2014 11:34:18 -0800 (PST)
Message-ID: <5463B636.9020501@queuefull.net>
Date: Wed, 12 Nov 2014 09:34:14 -1000
From: Benson Schliesser <bensons@queuefull.net>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: sarikaya@ieee.org
References: <20141110200919.27869.2915.idtracker@ietfa.amsl.com> <5461854F.3020305@gmail.com> <CAC8QAce9kWVp_3+MeMcNpFinhnTcCgk0k1eDtip2j47iCWAbpg@mail.gmail.com> <CAC8QAceh3xPsg-ADthB8WuO2YgLpvso9HAGc1jHnPQ6jBoFk7w@mail.gmail.com>
In-Reply-To: <CAC8QAceh3xPsg-ADthB8WuO2YgLpvso9HAGc1jHnPQ6jBoFk7w@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------030202070907080204090303"
Archived-At: http://mailarchive.ietf.org/arch/msg/nvo3/HvmY8vxXGcYz8G_qRnO-RDXWqXQ
Cc: "nvo3@ietf.org" <nvo3@ietf.org>, Dino Farinacci <farinacci@gmail.com>, draft-xia-nvo3-vxlan-qosmarking@tools.ietf.org
Subject: Re: [nvo3] I-D Action: draft-xia-nvo3-vxlan-qosmarking-01.txt
X-BeenThere: nvo3@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Network Virtualization Overlays \(NVO3\) Working Group" <nvo3.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nvo3>, <mailto:nvo3-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nvo3/>
List-Post: <mailto:nvo3@ietf.org>
List-Help: <mailto:nvo3-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nvo3>, <mailto:nvo3-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Nov 2014 19:34:53 -0000

Hi, Behcet -

Perhaps I'm confused about what comment (from Dino) that you are 
referring to... But in general, I think of it this way:

Assuming the encap stack looks something like: IP1 / Eth1 / VXLAN / UDP 
/ IP2 / Eth2  (progressing L->R as inner->outer)

Then e.g. tenant VMs can mark the IP1 and Eth1 headers with whatever 
appropriate markings they desire. The NVE can mark the IP2 and Eth2 
headers with whatever appropriate markings.

Specifically, one could imagine the NVE copying the IP1 DSCP codepoint 
into the IP2 header. Alternatively one could imagine the NVE imposing an 
underlay DSCP in IP2, e.g. to discriminate between tenants. Possibly, 
one could also imagine some kind of translation policy which maps IP1 
codepoints into IP2 codepoints. And that's not even considering 
mechanisms that leverage the Eth headers, use different encap stacks, etc.

Cheers,
-Benson

> Behcet Sarikaya <mailto:sarikaya2012@gmail.com>
> November 12, 2014 at 9:01 AM
> Hi Dino,
>
> Regarding your comment on copying IP header QoS bits into VXLAN header,
>
> note that IP packet is coming from the VMs.
>
> Yes for dynamic marking these bits can be copied.
> However, VMs may not be configured to mark these fields.
>
> For static marking these bits can not be used because VMs are not
> aware of the VNI. So NVE has to do the static marking.
>
> Hope this clarifies.
>
> Regards,
>
> Behcet
>
> _______________________________________________
> nvo3 mailing list
> nvo3@ietf.org
> https://www.ietf.org/mailman/listinfo/nvo3
> Behcet Sarikaya <mailto:sarikaya2012@gmail.com>
> November 10, 2014 at 5:47 PM
> On Mon, Nov 10, 2014 at 9:41 PM, Brian E Carpenter
> <brian.e.carpenter@gmail.com>  wrote:
>> [resend with corrected address, sorry]
>>
>> Hi,
>>
>>>   The first three bits (bits 5-7) are precedence bits. They are
>>>   assigned according to [RFC0791]. Precedence values '110' and '111'
>>>   are selected for routing traffic.
>>>
>>>   The last three bits (bits 8-10) are class selector bits. Thet are
>>>   assigned as follows:
>>>
>>> 001 - BK or background traffic
>> ...
>>> As can be seen the markings are the same as in IEEE 802.1p...
>> This is not in any way compatible with RFC 2474, which also made the
>> relevant part of RFC 791 obsolete.
>>
>> If you want to be compatible with RFC 2474 you should not specify the
>> bits at all - just say that they are exactly as defined in RFC 2474
>> and the various PHB definitions that have been published.
>
> I think that diffserv is less relevant in the context of VXLAN.
>
>>   If you
>> want to be compatible with IEEE 802.1p that is a different matter,
>
> Yes this is more relevant for VXLAN.
>
>> but you cannot mix the two up in this way.
>
> I now understand that we confused the two very different things.
>
> Regards,
>
> Behcet
>>      Brian
>>
>>
>>
>
> _______________________________________________
> nvo3 mailing list
> nvo3@ietf.org
> https://www.ietf.org/mailman/listinfo/nvo3