Thanks Anoop for sharing the links.
There seems a good overlap btw this list and the SAI list. We will discuss them comparatively in the next meeting.
From: Anoop.Ghanwani@dell.com Anoop.Ghanwani@dell.com
Sent: Thursday, December 17, 2020 9:28:41 PM
To: Lee, Jeongkeun email@example.com; firstname.lastname@example.org email@example.com
Subject: Re: 12/10 meeting notes
The following spec contains the drop reasons used by sFlow.
It uses values defined by ICMP and Devlink Trap
In the case of sFlow, this annotation is typically done by software so it may not have the limitations that are being discussed for INT.
Attendees: Rajshekhar B. (Arista), Mukesh H. (VMware), Jonathan S. (Intel, Deep Insight), Mickey S. (Intel, Barefoot), JK L. (Intel, E2E App).
Three topics were discussed
RB proposed to start with a few categories to classify common drop reasons.
There was a consensus on having a list of common drop reasons (name strings and semantics), the group debated on having a standard mapping between drop reasons and their codepoints, or leaving it up to each domain.
AI for everyone: compare the SAI list with each vendor list and analyze if this is a good start to use and extend.
MS had a proposal to define a set of metadata semantics in the spec, while the mapping of metadata to a DS (Domain-specific) bitmap is under each domain control. Currently Yang model doesn’t assign bits but only specifies each metadata format or semantics. This concept can be applied even to standard metadata (JK). The Yang model defines a 'pool or library' of metadata (format + semantics), and no restriction on adding a new metadata or a variation of semantics. The spec determines a subset of metadata to form the "standard metadata" and their bit locations in the INT instruction.
There are 2 level mappings: DS ID => bitmap => metadata format + semantics.
Register service can maintain the DS ID => the rest mapping.
Each domain controls the bitmap allocation of metadata selected for each domain.
Even standard metadata has per-domain/vendor semantical variations in details such as timestamp unit, the meaning of virtual interface ID. The Yang model was introduced to capture the variations but is meant to be published by each device through mgmt channel. We can change it such that Domain ID in the INT header indicates the set semantics of standard metadata. We will continue the discussion in the next meeting.
AI: JS will open a PR on carving out DS IDs.
AI from the last meeting: JK to create a PR on domain ID role.
AI: JS and MS discuss first offline and propose in the next meeting.
The next WG meeting will be in early January.
Thank you and happy holidays to all!