tcpdump mailing list archives

Re: Request to add MCTP and PCI_DOE to PCAP link type


From: Michael Richardson via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Mon, 25 Jan 2021 10:21:07 -0500

--- Begin Message --- From: Michael Richardson <mcr () sandelman ca>
Date: Mon, 25 Jan 2021 10:21:07 -0500
Yao, Jiewen via tcpdump-workers <tcpdump-workers () lists tcpdump org> wrote:
    > Hello Any response ?

    > Thank you Yao Jiewen

...
Hi, sorry abotu that.

    > Hi I write this email to request to below 2 link types.


    >   1.  MCTP

    > Management Component Transport Protocol (MCTP) is an industry standard
    > defined by Distributed Management Task Force (DMTF) Platform Management
    > Communication Interface (PMCI) working group
    > (https://www.dmtf.org/standards/pmci)

    > DSP0236
    > (https://www.dmtf.org/sites/default/files/standards/documents/DSP0236_1.3.1.pdf)
    > is the Management Component Transport Protocol (MCTP) Base
    > Specification. It defines the MCTP transport header.  DSP0239
    > (https://www.dmtf.org/sites/default/files/standards/documents/DSP0239_1.7.0.pdf)
    > defines the Management Component Transport Protocol (MCTP) IDs and
    > Codes. It defines the MCTP message type in a MCTP packet payload.

    > Proposal:

    > LINKTYPE_ name LINKTYPE_ value Corresponding DLT_ name Description
    > LINKTYPE_MCTP XXX DLT_MCTP MCTP packet is defined in DMTF PMCI working
    > group Management Component Transport Protocol (MCTP) Base
    > Specification(https://www.dmtf.org/sites/default/files/standards/documents/DSP0236_1.3.1.pdf)
    > 8.1 MCTP packet fields. It starts with MCTP transport header in Figure
    > 4 - Generic message fields.

These descriptions look great.
Why not follow https://github.com/the-tcpdump-group/libpcap/blob/master/doc/DLT_ALLOCATE_HOWTO.md
and send a pull request?

    >   1.  PCI_DOE

    > PCI Data Object Exchange (DOE) is an industry standard defined by
    > PCI-SIG (https://pcisig.com/) Data Object Exchange (DOE)
    > ECN<https://members.pcisig.com/wg/PCI-SIG/document/14143>
    > (https://members.pcisig.com/wg/PCI-SIG/document/14143).

This link is behind some kind of paywall.
Maybe there is a public definition we can refer to?

    > Proposal:

    > LINKTYPE_ name LINKTYPE_ value Corresponding DLT_ name Description
    > LINKTYPE_PCI_DOE XXX DLT_PCI_DOE PCI Data Object Exchange (DOE) is
    > defined in PCI-SIG Data Object Exchange (DOE) ECN
    > (https://members.pcisig.com/wg/PCI-SIG/document/14143) 6.xx.1 Data
    > Objects. It starts with DOE Data Object Header 1 in Figure 6-x1: DOE
    > Data Object Format.



    > The reason I submit this request is because we are implementing a
    > "SpdmDump" tool to dump the SPDM message defined in DMTF PMCI Security
    > Protocol and Data Model (SPDM) Specification DSP0274
    > (https://www.dmtf.org/sites/default/files/standards/documents/DSP0274_1.1.0.pdf).
    > SPDM is similar to network Transport Layer Security (TLS) protocol. It
    > is a transport layer protocol.  The MCTP and the PCI_DOE are the
    > transport layer binding to send message to hardware device (MCTP
    > capable device or PCI_DOE capable device).

    > We did a prototype for the SpdmDump tool
    > (https://github.com/jyao1/openspdm/blob/master/Doc/SpdmDump.md). We can
    > generate a PCAP file and parse it offline.  In our prototype, we use
    > below definition: #define LINKTYPE_MCTP 290 // 0x0122 #define
    > LINKTYPE_PCI_DOE 291 // 0x0123 If you can assign same number, it will
    > be great.  If different number is assigned, we will change our
    > implementation accordingly.

    > Thank you Yao Jiewen



    > _______________________________________________ tcpdump-workers mailing
    > list tcpdump-workers () lists tcpdump org
    > https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: