Draft AVBTP over IEEE 802.3

Similar documents
Draft AVBTP over IEEE 802.3

IEEE P1722 AVBTP. Version 0.01, Alan K. Bartky Bartky Networks Send comments to

Misc , 1394 and AVB info for tutorial, discussion, brainstorming, etc. for AVBTP working group.

Misc , 1394 and AVB info for tutorial, discussion, brainstorming, etc. for AVBTP working group.

P1722 Presentation Time

Command Transport Protocol (CTP)

IEEE P1722 enhanced fragmentation/reassembly

TA Document Specification of high-speed transmission of

AVBTP layering and data transfer processing study

TA Document SMPTE Time Code and Sample Count Transmission Protocol Ver.1.0

TA Document Transmission of Rec. ITU-R BO.1294 System B Transport 1.0

Draft Standard for Layer 2 Transport Protocol for Time Sensitive Applications in Bridged Local Area Networks

IEEE 1394 Link Core Specification

Comment A: Text for Sequencing sublayer

Draft Standard for Layer 2 Transport Protocol for Time Sensitive Applications in Bridged Local Area Networks

University of New Hampshire InterOperability Laboratory Ethernet in the First Mile Consortium

APG4 APG8 APG200 APG208

ETH. Ethernet MAC with Timestamp Extension. TCD30xx User Guide. Revision July 17, 2015

ECE4110 Internetwork Programming. Introduction and Overview

Detecting and Analyzing Network Threats With NetFlow

Detecting and Analyzing Network Threats With NetFlow

Understanding Basic 802.1ah Provider Backbone Bridge

Effects of Residential Ethernet Standard on other 802.1/ Yong Kim

Risanuri Hidayat. 13/03/2012 Jurusan Teknik Elektro dan Tekn Informasi UGM

Configuring Firewall Filters (J-Web Procedure)

Changes to 802.1Q necessary for 802.1Qbz (bridging media)

VLAN - SP6510P8 2013/4. Copyright 2011 Micronet Communications, INC

RBRIDGES/TRILL. Donald Eastlake 3 rd Stellar Switches AND IS-IS.

For further information, please contact. DKT A/S Fanoevej 6 DK-4060 Kirke Saaby

AN-135. Introduction. VLAN Overview IEEE 802.1Q VLAN Q Tag Based and Port Based VLAN Function and Setting in KSZ8995M/MA

Improving Bandwidth Efficiency When Bridging on RPR. November 2001

Time Sensitive Control Streams in IEEE P1722A v1.6

A PROPOSED REVISION TO IRIG 218 BASED ON REAL WORLD EXPERIENCE Gary A. Thom GDP Space Systems 300 Welsh Road, Horsham, PA

What LinkSec Should Know About Bridges Norman Finn

Monitoring Ports. Port State

Audio Video Bridging (AVB) Assumptions IEEE AVB Plenary Jan 28 & 29, 2008 Los Gatos

Enhancing Synchronous Ethernet Management with ESMC

Time Sensitive Control Streams in IEEE P1722A v1.3

DetNet. Flow Definition and Identification, Features and Mapping to/from TSN. DetNet TSN joint workshop IETF / IEEE 802, Bangkok

RBRIDGES LAYER 2 FORWARDING BASED ON LINK STATE ROUTING

AVDECC clarifications. Part 2 AEM commands. Revision 4 [WIP] 8/5/2016

Table of Contents 1 VLAN Configuration 1-1

Networked Audio: Current Developments & Perspectives for the Broadcast Market

IEEE C802.16maint-05/091. IEEE Broadband Wireless Access Working Group <

GE MDS, LLC. NETio Series. Protocol Communications Supplement. March 2013 Part No A01, Rev. C

Layering for the TSN Layer 2 Data Plane

IPv6. IPv6, MPLS. IPv6. IPv6 Addresses. IPv4 Packet Format. IPv6. History

WiMOD LR Base Host Controller Interface

ET4254 Communications and Networking 1

Subjects, overview. DKT A/S Fanoevej 6 DK-4060 Kirke Saaby

GENERATION OF GRAPH FOR ETHERNET VERIFICATION USING TREK M.Vinodhini* 1, P.D. Rathika 2, J.U.Nambi 2, V.Kanmani 1

Question 7: What are Asynchronous links?

IN THE FIRST MILE CONSORTIUM. Clause 65 Test Suite v1.1 Technical Document. Last Updated: March 23, :43pm

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

P802.1Qat status. Craig Gunther 14 January 2009

webinar series

Network Working Group. Obsoletes: RFC 1103 October 1990

Information Elements for Data Link Layer Traffic Measurement (draft-kashima-ipfix-data-link-layer-monitoring-04)

Grandstream Networks, Inc. VLAN (Virtual Local Area Network) Guide

IEEE C802.16maint-05/091r1. IEEE Broadband Wireless Access Working Group <

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

SEN366 (SEN374) (Introduction to) Computer Networks

Chapter 6 Addressing the Network- IPv4

Transparent Bridging and VLAN

Configuring Tap Aggregation and MPLS Stripping

IPv6 is Internet protocol version 6. Following are its distinctive features as compared to IPv4. Header format simplification Expanded routing and

Configuration and Management of Networks. Pedro Amaral

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

IEEE 1722 AVB L2 Transport Protocol

Providing Interoperability of, and Control over, Quality of Service Networks for Real-time Audio and Video Devices

Technical Specification. Ethernet Services Attributes for Subscriber Services. 13 July 2017

Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling

UM Software user manual for SJA1105EL. Document information

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Streaming Video and Throughput Uplink and Downlink

Introduction to Ethernet. Guy Hutchison 8/30/2006

K2289: Using advanced tcpdump filters

Lecture 7: Ethernet Hardware Addressing and Frame Format. Dr. Mohammed Hawa. Electrical Engineering Department, University of Jordan.

Bridge Functions Consortium

Michael Johas Teener. April 11, 2008

Network Myths and Mysteries. Radia Perlman Intel Labs

Don Pannell Marvell IEEE AVB. May 7, 2008

Routing Between VLANs Overview

Network Security Fundamentals. Network Security Fundamentals. Roadmap. Security Training Course. Module 2 Network Fundamentals

AN-1482 APPLICATION NOTE

On the Scalability of RTCP Based Network Tomography for IPTV Services. Ali C. Begen Colin Perkins Joerg Ott

AVB/AVBTP layering, management objects and data. Draft 0.01 Alan K. Bartky, Bartky Networks

IPv6 over MS/TP Networks

Computer Networks Principles LAN - Ethernet

Secure RTP Library API Documentation. David A. McGrew Cisco Systems, Inc.

8.3. Advanced Functionality Overview

WiMOD LR Base Host Controller Interface

BRIDGE COMPONENTS. Panagiotis Saltsidis

Internet Protocols (chapter 18)

Streamware Workbench Release

Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling

Configuring Ethernet Virtual Connections on the Cisco ASR 1000 Series Router

Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling

QoS Setup Guide. Application Note 306 QoS Setup Procedure. QoS Set-up Guide

To access the web page for Cisco Desktop Collaboration Experience, perform these steps.

Transcription:

Draft AVBTP over IEEE 802.3 AVB stream data format Version 0.02, 2007-03-27 Alan K. Bartky alan@bartky.net Send comments to AVBTP@listserv.ieee.org March 27, 2007 AVB transport SG working paper 1

Revision History Rev Date Comments 0.0 2007-03-20 First version for comments 0.1 2007-03-21 Added 61883-4 and -7 FDF change proposal and misc. minor edits 0.2 2007-03-27 Edited based on comments from email and call on Monday 2007-03-26. Changed acronyms and names based on same from relevant standards (802.1Q, 1394, 61883-1) Put new AVBTP fields in lower case. Added info from other standards. Added 1 st draft proposal for IIDC encapsulation. Added subtype field Exchanged positions of packet header and timestamp fields (to make if friendly with systems with 1394 OHCI type controllers and/or SW used to supporting them) Removed upper tick marks from fields in packet diagrams March 27, 2007 AVB transport SG working paper 2

Draft AVBTP CIP Stream Data packet, SPH(0) MAC addresses VLAN Tag field AVBTP type/cntl AVB Timestamp PKT hdr CIP #1 CIP #2 00 04 08 12 16 20 24 28 32 36 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 tq 0 0 1 0 DA (MAC destination address, always a multicast address) DA (lower 16 bits) SA (MAC source address upper 16 bits) SA (stream source MAC address, always a unicast address) TPID (802.1P/Q = 0x8100) etype (AVBTP = 0x????) tag CFI (0) VID (VLAN Identifier) subtype(0) AVBTP Other bits PCP (4 or 5) avbtp_timestamp (Presentation Timestamp in Nanoseconds (if SPH == 0)) data_length 0 1b channel (0-63) tcode (0xA) sy SPH SID (0-63) DBS (size in quadlets) FN QPC Rsv DBC FMT FDF SYT cyc # SYT Cycle Offset (0-3071) CIP Packet Data (all 61883 types except -4 and -7) (0) 60-15xx Ethernet_CRC Key: Ethernet New for AVBTP Used, from 1394/61883 Not used*, from 1394/61883 March 27, 2007 AVB transport SG working paper 3

MAC addresses VLAN Tag field AVBTP type/cntl AVB Timestamp PKT hdr CIP #1 CIP #2 Draft AVBTP CIP Stream Data packet, SPH(1) 00 04 08 12 16 20 24 28 32 36 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 tq (11b) 0 0 1 0 tq DA (MAC destination address, always a multicast address) DA (lower 16 bits) SA (MAC source address upper 16 bits) SA (stream source MAC address, always a unicast address) TPID (802.1P/Q = 0x8100) etype (AVBTP = 0x????) tag CFI (0) VID (VLAN Identifier) subtype(0) AVBTP Other bits PCP (4 or 5) avbtp_timestamp (always set to 3F-FF-FF-FF if SPH field is zero) data_length 0 1b channel (0-63) tcode (0xA) sy SPH SID (0-63) DBS (size in quadlets) FN QPC Rsv DBC FMT FDF SYT cyc # SYT Cycle Offset (0-3071) src_packet_timestamp (61883-4 or -7 Source Packet Timestamp in Nanoseconds) 1 st Source Packet Data + optional additional Source Packet s (Timestamps & Data) (Note: All timestamps in AVBTP nanosecond format, not current 61883 cycle/offset format) (1) 60-15xx Ethernet CRC Key: Ethernet New for AVBTP Used, from 1394/61883 Not used*, from 1394/61883 March 27, 2007 AVB transport SG working paper 4

Draft AVBTP IIDC Stream Data packet MAC addresses VLAN Tag field AVBTP type/cntl AVB Timestamp PKT hdr 00 04 08 12 16 20 24 28 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 tq DA (MAC destination address, always a multicast address) DA (lower 16 bits) SA (MAC source address upper 16 bits) SA (stream source MAC address, always a unicast address) TPID (802.1P/Q = 0x8100) etype (AVBTP = 0x????) tag CFI (0) VID (VLAN Identifier) subtype(0) AVBTP Other bits PCP (4 or 5) avbtp_timestamp (Presentation Timestamp in Nanoseconds (if SPH == 0)) data_length 0 0b channel (0-15) tcode (0xA) sy (0 or 1) Video data payload 60-15xx ethernet_crc Key: Ethernet New for AVBTP Used, from 1394/61883 Not used*, from 1394/61883 March 27, 2007 AVB transport SG working paper 5

Offset 0: MAC Destination Address (DA) For AVBTP over AVB, MAC Destination Addresses shall always be multicast addresses and shall be unique for the Layer 2 network. Offset 6: MAC Source Address (SA) MAC address of the unicast source MAC sending the stream Offset 12: Tagged Protocol Identifier (TPID) For AVBTP, the sender shall always send frames with 1 st Ethertype field set to 0x8100 for 802.1 P/Q type. For switches hooked up to listener, an AVB switch shall not strip this header i.e. We will specify in AVBTP and AVB standards that AVB switches never strip VLAN tags for AVBTP streams. March 27, 2007 AVB transport SG working paper 6

Offset 14: Priority-CFI-VLAN_ID Priority Code Point (PCP), 3 bits: For data streams, AVBTP shall always specify class 5 or class 4 traffic. Canonical Format Indicator (CFI), 1 bit AVBTP will only support CFI of zero. VLAN Identifier (VID), 12 bits: AVBTP stations must support VLAN ID of zero to send or receive. AVBTP stations are recommended to support other VLAN IDs, but it is not required. Receiving AVBTP stations not supporting or configured for a given VLAN shall discard any frames for which it is not a member of the specified VLAN. March 27, 2007 AVB transport SG working paper 7

Offset 16: AVBTP Ethertype AVBTP Shall use a unique Ethertype to identify an AVBTP stream Value of the Ethertype is TBD Offset 18, 8 bits: AVBTP subtype 0x00: 61883 stream type data (Editor s note: placeholder name, suggestions welcome) 0x01: 61883 stream type control (Editor s note: placeholder name, suggestions welcome) Editor s note: I d actually prefer that control data actually use a different Ethertype so main stream data requires less parsing and makes fast-path SW or HW easier to implement. There is however precedence in 61883-6 (audio) and BT.601 encapsulation (to become 61883-8) to embed control information in the data stream. 0x02-0xFF: Reserved for future use. Editor s note: We could use 0xFF for vendor specific formats. Offset 19: 8 bits: AVBTP Other Here are 8 bits for other use by AVBTP as we continue to define the format. Editor s note: May be useful if we need format differences between IEEE 802 and RTP/UDP/IP March 27, 2007 AVB transport SG working paper 8

Offset 20: AVBTP Presentation timestamp for packets with Source Packet Header (SPH) Filed of zero. Time-field Qualifier (tq) field, 2 bits 00 binary: Timestamp is valid presentation time in Nanoseconds Editor s note: AVBTP will not use cycle time / offset as does the 61883 over 1394 does. This will make AVBTP different, but compliant with the new way we are doing timing in 802.1AS 11 binary: Timestamp field contains no data If set to 11 binary, then the Timestamp field shall also be set to all ones» Editor s note: This is to mimic the behavior of 61883 timestamps. 01 and 10 binary are reserved for possible future use. Presentation time (avbtp_timestamp): 30 bits Global time subset from 802.1AS time TBD if Max value of 999,999,999 (i.e. using sub seconds from 802.1AS TimeStamp) or 0x3F-FF-FF-FF (i.e. using subset from 802.1AS TimeInterval (or other??))» HW folks tend to prefer modulo 2 N pure binary counters.» Seconds and sub seconds probably best for human understanding, protocol traces from sniffers, etc.» 1394 uses seconds (0-127), cycles (0-7999) and cycle offset (0-3071) 30 bits allows us for at least one second resolution» Editor s note: This actually may be two much. If we want the same restriction as currently used in 1394 for non MPEG traffic, then we should limit this field to 18 bits which would give us approximately 2 milliseconds max value which is the max for those types of streams in 61883. March 27, 2007 AVB transport SG working paper 9

Offset 24: data_length This is the exact same definition as used for isochronous packets in 1394. This specifies the length in bytes starting at offset 28 (CIP Header start) For AVBTP, minimum length shall be 8 (i.e. we will require the CIP header to always be present) March 27, 2007 AVB transport SG working paper 10

Offset 26: Other fields taken from 1394 isochronous packet format Isochronous Data Format (tag) field, 2 bits: Supported by AVBTP: 00 binary, data field unformatted (used by IIDC)» Editor s note: TBD if we support this, but there was interest expressed at the 2007-03-26 call. 01 binary, CIP header is present Not supported by AVBTP: 10 binary: Reserved by IEEE 1394 11 binary: Global asynchronous stream packet (GASP) format» Used in 1394 for Serial Bus to Serial Bus bridges Source Channel ID (channel), 6 bits: For 1394 to AVB interworking, this field shall contain channel ID from 1394 isochronous packet from the source 1394 bus. TBD if it has any use in AVBTP end stations March 27, 2007 AVB transport SG working paper 11

Offset 27: Other fields taken from 1394 isochronous packet format Type code (tcode), 4 bits: For AVBTP, Shall be fixed value of 1010 binary (same as 1394 Isochronous packet format) Editor s note: I m assuming for an interworking function, we should only interwork isochronous streams as 1394 asynchronous data should probably be out of scope for us (e.g. IP over 1394 to IP over Ethernet would be a typical 1394 asynchronous conversion) Editor s note: May re-use this field if we need to expand the bits needed for Digital Rights Management. Synchronization code (sy) field, 4 bits: 1394 specifies this field as follows: The synchronization code is an application-specific control field. The details of its use are beyond the scope of this standard. For 61883 in 1394, this is currently used by DTCP for DRM Editor s note: My proposal assumes we can convince the DRM folks that 1394 like DRM is good enough, at least as far as number of bits per packet, general use scenario, etc. At minimum I assume there will at least be pressure to use AES instead of an M6 cipher (M6 is the default for DTCP-1394, AES is the default for DTCP-IP) March 27, 2007 AVB transport SG working paper 12

Offset 28: CIP header quadlet #1, 1 st 2 octets CIP header 1 st quadlet indicator, 2 bits Fixed at 00 binary CIP header source ID (SID), 6 bits Source ID of stream talker TBD if useful in AVBTP end stations or 1394 to AVB interworking units.» Editor s note: Useful for debugging if nothing else, and in general the more we can keep fields as is for CIP headers in AVBTP, including ones not used for IEEE 802 or RTP, the more likely we are to succeed IMHO. Data Block Size (DBS), 8 bits Same definition as currently in 61883, size of Data Blocks in Quadlets 0: 256 quadlets 1-255: 1-255 quadlets Editor s note: Would like to change DBS values for -4 and -7 to size of source packet as I don t want to support FN field. This would give us better use/resolution of the DBC field. March 27, 2007 AVB transport SG working paper 13

Offset 30: CIP header quadlet #1, 3 rd octet Fraction Number (FN), 2 bits Same use as 61883, although it is only used today to fragment -4 and-7 source packets for low bandwidth streams. Editor s note: As discussed at Orlando, I and others believe we should drop support of stream fragmentation in IEEE 802 and RTP of MPEG type source packets. If necessary for 1394 to Ethernet interworking, then this should be done at the interworking function and only on the 1394 side. My recommendation for AVBTP is to only support FN == 0 (no fragments) Quadlet Padding Count (QPC), 3 bits For all types of 61883 as defined today, this field is always zero. Editor s note: For AVBTP, we may just want to specify it as such, or at least say that the value is zero and it is reserved for future use. Source Packet Header (SPH) indicator, 1 bit If one Then AVBTP packet contains 61883-4 or 61883-7 (or future) source packets. AVBTP timestamp at offset 24 shall be ignored and instead, timestamps with the source packet(s) shall be used instead. If zero Then AVBTP packet does not contain source packets (contains Data Blocks) AVBTP timestamp at offset 24 shall be parsed and processed (as specified above). Reserved (Rsv), 2 bits Reserved (not used by 61883), set to zero Editor s note: From what I can tell, there are no specified protocols I ve seen currently or in previous research that use or plan to use this field. Does anyone working closer to the 1394 community know of any planned use for these bits?? This is only a 2 bit field, so IMHO we probably should leave this field alone. March 27, 2007 AVB transport SG working paper 14

Offset 31: CIP header quadlet #1, 4 th octet Data Block Count, 8 bits Sequence number of 1 st Data Block in the packet Same meaning as in 61883 over 1394 Editor s note: The one change I d like to see for AVBTP is as I ve said before eliminate Fragmentation at the AVBTP layer. This would mean that MPEG Data Block Sizes are set equal to the Source Packet size and that Data Block Count now will also count packets instead of fragments.» This has the added side benefit of allowing higher bandwidth MPEG streams and still keeping an 8 bit sequence field useful (i.e. 61883 as defined for -4 and -7 has fixed data block sizes and in cases where you have full MPEG packets in an isochronous packets, the lower 3 bits of the DBC field basically become unused leaving only 5 bits for sequence number which wraps very fast). March 27, 2007 AVB transport SG working paper 15

Offset 32: CIP header quadlet #2 CIP header 2 nd quadlet indicator, 2 bits Fixed at 10 binary Stream Format, 6 bits Same values as currently defined for 61883 Format Dependent Field (FDF), 8 bits if SPH=0, 24 bits if SPH=1 Same values as currently defined for 61883 SYT field (1394 cycle time based presentation time) Not mandatory for use by AVBTP end stations Can be used by 1394 to AVB interworking units Should specify 1394 type presentation time as set by originating 1394 attached talker/source in AVB cloud» Adjusted if necessary on AVB to 1394 translation. Could be used to help transition existing 1394/61883 SW and HW to AVBTP On Egress, existing 61883 application could optionally specify 1394 time format and egress AVBTP layer could translate that to 802.1AS time On Ingress, AVBTP layer could optionally translate 802.1AS time from offset 24 to 1394 type cycle and cycle offset and insert it into the packet prior to sending to application. March 27, 2007 AVB transport SG working paper 16

Data Payload proposal For AVBTP (IEEE 802 and RTP) All data after the CIP header will be the same 61883 format used for payload except for a new Source Packet Header (1 st quadlet of the source packet) will be defined to use 802.1AS timing (nanoseconds) instead of 1394 timing (8 khz cycle and 24.576 MHz cycle offset). For AVBTP same format as used in offset 24 2 Bit Timestamp Qualifier 30 bit Timestamp in Nanoseconds Editor s note: For this case, we will need a full 30 bits if we do nanoseconds to get an equivalent 1 second resolution as is currently used by 1394/61883 March 27, 2007 AVB transport SG working paper 17

Current 61883-4 & -7 FDF field CIP #2 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 T 1 0 FMT S Res F FMT field: 100000 binary: 61883-4 FDF field 100001 binary: 61883-7 TSF (time shift flag) indicates a time-shifted data stream: 0 = the stream is not time-shifted. 1 = the stream is time-shifted. Res: reserved for future extension and shall be zeros. March 27, 2007 AVB transport SG working paper 18

Proposed new 61883-4 & -7 FDF field CIP #2 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 T G F 1 0 FMT S T Res I F I TSF Same as today Fragmentation Indicator (FI) 0: Fragmentation allowed FDF field Use DBS of 6 for 61883-4 and 9 for 61883-7 with associated FN and DBC values as currently specified. 1: Fragmentation not allowed Use DBS of 48 for 61883-4 and 36 for 61883-7, FN always 0, DBC counts full source packets including timestamp (192 bytes for -4, 144 bytes for -7) Global Time Indicator 0: 1394 local bus type time used Use source packet header as defined in current specification (7 bits reserved, 13 bit 8 khz cycle, 12 bit 24.576 MHz cycle offset) 1: IEEE 1588 / 802.1AS Global time used New for AVBTP and possible future use by other protocols (2 bit Time Qualifier, 30 bit global time subset in Nanoseconds (1 GHz)) Res: reserved for future extension and shall be zeros. March 27, 2007 AVB transport SG working paper 19