<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
  ]>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<?rfc toc="yes" ?>
<?rfc symrefs="yes" ?>
<?rfc sortrefs="yes"?>
<?rfc iprnotified="no" ?>
<?rfc strict="yes" ?>
<rfc category="std" ipr="trust200902"
     docName="draft-ietf-manet-dlep-ether-credit-extension-01">

  <front>
    <title abbrev="DLEP Ethernet Credit Extension">DLEP IEEE 802.1Q Aware Credit Window
    Extension</title>
    <author initials='D.' surname="Wiggins" fullname='David Wiggins'>
      <organization>MIT Lincoln Laboratory</organization>
      <address>
        <postal>
          <street>Massachusetts Institute of Technology</street>
          <street>244 Wood Street</street>
          <city>Lexington</city>
          <region>MA</region>
          <code>02421-6426</code>
        </postal>
        <email>David.Wiggins@ll.mit.edu</email>
      </address>
    </author>
    <author initials='L.' surname="Berger" fullname='Lou Berger'>
      <organization>LabN Consulting, L.L.C.</organization>
      <address>
        <email>lberger@labn.net</email>
      </address>
    </author>

    <date/>
    <abstract>
      <t>
        This document defines an extension to the Dynamic Link Exchange Protocol (DLEP) that
        enables a Ethernet IEEE 802.1Q aware credit-window scheme for
        destination-specific and shared flow control.
      </t>
    </abstract>
  </front>

  <middle>
    <section anchor="sec-1" title="Introduction">
      <t>
        The Dynamic Link Exchange Protocol (DLEP) is defined in <xref
        target="RFC8175"/>.  It provides the exchange of link related
        control information between DLEP peers.  DLEP peers are
        comprised of a modem and a router.  DLEP defines a base set of
        mechanisms as well as support for possible extensions.  This
        document defines one such extension.
      </t>
      <t>
        The base DLEP specification does not include any flow control
        capability.  There are various flow control techniques
        theoretically possible with DLEP.
        This document defines a DLEP extension which provides an Ethernet-based flow
        control mechanism for traffic sent from a router to a
        modem. Flow control is provided using one or more logical
        "Credit Windows", each of which will typically be supported by
        an associated virtual or physical queue.  A
        router will use traffic flow classification information provided
        by the modem to identify which traffic is associated with each
        credit window.
        Credit windows may be shared or dedicated on a per flow
        basis.
        See <xref
        target="I-D.ietf-manet-dlep-da-credit-extension"/> for a
        DiffServ-based version of credit window flow control.
      </t>
      <t>
        This document uses the traffic classification and credit window
        control mechanisms defined in <xref
        target="I-D.ietf-manet-dlep-traffic-classification"/> and <xref
        target="I-D.ietf-manet-dlep-credit-flow-control"/> to provide credit
        window based flow control based on DLEP destinations and
        Ethernet VLANs and Priority Code Points.  Ethernet Priority Code
        Point support is defined as part of the IEEE 802.1Q <xref
        target="IEEE.802.1Q_2014"/> tag format and includes a 3 bit
        "PCP" field.  The tag format also includes a 12 bit VLAN
        identifier (VID) field.  The defined mechanism allows for credit
        windows to be shared across traffic sent to multiple DLEP
        destinations, VLANs, and PCPs, or used exclusively for traffic
        sent to a particular destination and/or VLAN and/or PCP.  The
        extension also supports the "wildcard" matching of any PCP or
        VID.
      </t>
      <t>
        The extension defined in this document is referred to as "IEEE
        802.1Q Aware Credit Window" or, more simply, the "Ethernet
        Credit" extension. The reader should be familiar with both the
        traffic classification and credit window control mechanisms
        defined in <xref
        target="I-D.ietf-manet-dlep-traffic-classification"/> and <xref
        target="I-D.ietf-manet-dlep-credit-flow-control"/>.
      </t>
      <t>
        This document defines a new DLEP Extension Type Value in <xref
        target="sec-ext-type"/> which is used to indicate support for
        the extension.
      </t>
      <section anchor="sec-1.1" title="Key Words">
        <t>
          The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
          NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT
          RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
          interpreted as described in BCP 14 <xref target="RFC2119"/>
          <xref target="RFC8174"/> when, and only when, they appear in
          all capitals, as shown here.
        </t>
      </section>
    </section>

    <section anchor="sec-ext-type" title="Extension Usage and Identification">
      <t>
        The extension defined in this document is composed of the
        mechanisms and processing defined in <xref
        target="I-D.ietf-manet-dlep-traffic-classification"/> and <xref
        target="I-D.ietf-manet-dlep-credit-flow-control"/>.  To indicate that
        the IEEE 802.1Q Aware Credit Window Extension is to be used, an
        implementation MUST include the IEEE 802.1Q Aware Credit Window
        Type Value in the Extensions Supported Data Item.  The
        Extensions Supported Data Item is sent and processed according
        to <xref target="RFC8175"/>.  Any implementation that indicates
        use of the IEEE 802.1Q Aware Credit Window Extension MUST
        support all Messages, Data Items, the Ethernet Traffic
        Classification Sub-Data Item, and all related processing defined
        in <xref
        target="I-D.ietf-manet-dlep-traffic-classification"/> and <xref
        target="I-D.ietf-manet-dlep-credit-flow-control"/>.
      </t>
      <t>
        The IEEE 802.1Q Aware Credit Window Extension Type Value is
        TBA1, see <xref target="sec-iana"/>.
      </t>
    </section>

    <section anchor="sec-mgmnt" title="Management Considerations">
      <t>
        This section provides several network management guidelines to
        implementations supporting the IEEE 802.1Q Aware Credit Window
        Extension.
      </t>
      <t>
        The use of the extension defined in this document SHOULD be
        configurable on both modems and routers.
      </t>
      <t>
        Modems SHOULD support the configuration of PCP to credit window
        (queue) mapping.
      </t>
      <t>
        Modems MAY support the configuration of PCP to credit window
        (queue) mapping on a per VLAN basis. Note that VID value of zero
        (0) is used by <xref
  target="I-D.ietf-manet-dlep-traffic-classification"/> to indicate that
        VID is ignored and any VID value is used in traffic
        classification.
      </t>
      <t>
        When VLANs are supported by a modem without support from PCPs,
the modem SHOULD support the configuration of VLAN to credit window
        (queue) mapping.
      </t>
      <t>
        Modems MAY support the configuration of the number of credit
        windows (queues) to advertise to a router.
      </t>
      <t>
        Routers may have limits on the number of queues that they can
        support and, perhaps, even limits in supported credit window
        combinations, e.g., if per destination queues can even be
        supported at all.  When modem-provided credit window information
        exceeds the capabilities of a router, the router MAY use a
        subset of the provided credit windows.  Alternatively, a router
        MAY reset the session and indicate that the extension is not
        supported.  In either case, the mismatch of capabilities SHOULD
        be reported to the user via normal network management
        mechanisms, e.g., user interface or error logging.
      </t>
    </section>

    <section anchor="sec-sec" title="Security Considerations">
      <t>
        This document defines a DLEP extension that uses base DLEP
        mechanisms and the credit window control and flow mechanisms
        defined in <xref
        target="I-D.ietf-manet-dlep-traffic-classification"/> and <xref
        target="I-D.ietf-manet-dlep-credit-flow-control"/>.
        The use of those mechanisms, and the introduction of a new
        extension, do not inherently introduce any additional vulnerabilities
        above those documented in <xref target="RFC8175"/>.  The
        approach taken to Security in that document applies equally to
        the mechanism defined in this document.
      </t>
    </section>
    <section anchor="sec-iana" title="IANA Considerations">
      <t>
        This document requests one assignment by IANA.  All assignments
        are to registries defined by <xref target="RFC8175"/>.
      </t>
      <section anchor="sec-iana-ext" title="Extension Type Value">
        <t>
          This document requests 1 new assignment to the DLEP Extensions
          Registry named "Extension Type Values" in the range with the
          "Specification Required" policy.  The requested value is as
          follows:
        </t>
        <texttable anchor="table_et" title="Requested Extension Type Value">
          <preamble></preamble>
          <ttcol>Code</ttcol> <ttcol>Description</ttcol>
          <c>TBA1</c> <c>IEEE 802.1Q Aware Credit Window</c>
          <postamble></postamble>
        </texttable>
      </section>
    </section>
  </middle>

  <?rfc needLines="20"?>
  <back>
    <references title="Normative References">

      <reference anchor="IEEE.802.1Q_2014" target="http://ieeexplore.ieee.org/servlet/opac?punumber=6991460">
        <front>
          <title>
            IEEE Standard for Local and metropolitan area
            networks--Bridges and Bridged Networks
          </title>
          <author>
            <organization>IEEE</organization>
          </author>
          <date day="18" month="December" year="2014"/>
          <abstract>
            <t>
              This standard specifies how the Media Access Control (MAC)
              Service is supported by Bridged Networks, the principles
              of operation of those networks, and the operation of MAC
              Bridges and VLAN Bridges, including management, protocols,
              and algorithms
            </t>
          </abstract>
        </front>
        <seriesInfo name="IEEE" value="802.1Q-2014"/>
        <seriesInfo name="DOI" value="10.1109/ieeestd.2014.6991462"/>
      </reference>
      <?rfc include="reference.RFC.2119"?>
      <?rfc include="reference.RFC.8174"?>
      <?rfc include="reference.RFC.8175"?>
      <?rfc include="reference.I-D.ietf-manet-dlep-credit-flow-control"?>
      <?rfc include="reference.I-D.ietf-manet-dlep-traffic-classification"?>
    </references>

    <references title="Informative References">
      <?rfc include="reference.I-D.ietf-manet-dlep-da-credit-extension"?>
    </references>

    <?rfc needLines="100"?>
    <section title="Acknowledgments">
      <t>
        The document was motivated by discussions in the MANET working
        group. Many useful comments were received from contributors to
        the MANET working group, notably Ronald in't Velt.
      </t>
    </section>
  </back>
</rfc>

<!-- Local Variables: -->
<!-- fill-column:72 -->
<!-- End: -->
