[P4-Apps] 1/12 meeting notes

4 views
Skip to first unread message

Lee, Jeongkeun

unread,
Jan 12, 2021, 8:28:17 PM1/12/21
to p4-...@lists.p4.org
Attendees: Rajshekhar B. (Arista), Ramesh S. (Cisco), Mukesh H. (VMware), Jonathan S. (Intel, Deep Insight), Mickey S. (Intel, Barefoot),  JK L. (Intel, E2E App).

Three topics were discussed today.

  *   Drop reason code
  *   Domain ID mgmt (cont'd)
  *   Report traffic load balancing

1. Drop reason
We agreed to use the SAI drop reasons as basis. 

It has two enums, one for ingress and the other for egress. Around 100 reasons in total.
It assumes a 32b or larger field to carry the reason code. INT and Report spec has 8 bits.

AIs:
- Raj will propose a structure to fit the drop reasons into 8 bits while keeping simple hierarchy and reserved space for future extension.
- Ramesh, Mukesh, Mickey to check with engineering for any potential issue in using SAI drop reasons.

2. Metadata library and instruction bitmap
Agreed to create a pool/library of metadata definitions (format and semantics). The library will be open for everyone in the WG to add a new definition.

For INT standard instructions, the INT spec will continue to define the bitmap for the set of standard metadata.
Each domain can do the same for domain-specific instruction.

AI:
- Mickey will propose a change to the Yang model to use it as the metadata library.

3. Report traffic load balancing
Problem: Report pkt carries SEQ number assigned to report pkts originated from each reporting HW entity (switch ID + HW ID combo).
For network load-balancing of the report traffic, some use case wants to add entropy into UDP src port of Report pkts. While this allows multi-path load balancing, the collector NIC RSS (Receiver Side Scaling) may spread the stream of report pkts to different threads, complicating the tracking of report SEQ number and detecting loss/reorder.

The WG agreed for the spec to recommend static UDP src port number by default, while allowing entropy or randomization in case the collector infra can handle varying UDP src port number. For example, some NICs can be configured to ignore UDP src port in RSS hash inputs.

AI:
- Jonathan will create a PR with necessary spec text change.

Meanwhile, there is a progress in hosting P4 open-source projects under P4.org. We will share updates via email or in the next WG meeting. 

Thanks,
JK
Mukesh
  

Rajshekhar Biradar

unread,
Feb 8, 2021, 5:59:55 AM2/8/21
to p4-...@lists.p4.org
Hi Team,

Please find below attached the proposal for P4 drop reason codes. Feel free to add/delete/modify the list. 

Drop reasons are divided into 6 categories:

  1. L2 reasons

  2. L3 reasons

  3. Tunnel reasons

  4. Policy reasons

  5. Congestion related reasons

  6. Vendor specific reasons

Reason codes will be allotted once the drop reasons are finalized.


Let me know if you have any questions.





_______________________________________________
P4-apps mailing list
P4-...@lists.p4.org
http://lists.p4.org/mailman/listinfo/p4-apps_lists.p4.org


--
Thanks,
Raj
Reply all
Reply to author
Forward
0 new messages