Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for New DLT_TYPE for PLDM Protocol #1439

Open
manojkiraneda opened this issue Jan 16, 2025 · 2 comments
Open

Request for New DLT_TYPE for PLDM Protocol #1439

manojkiraneda opened this issue Jan 16, 2025 · 2 comments

Comments

@manojkiraneda
Copy link

Requesting the assignment of a new DLT_TYPE for the Platform Level Data Model (PLDM) protocol. Below, I have provided the
necessary details for this request.

Background :
PLDM is a family of standardized protocols defined by the Distributed Management Task Force (DMTF) to enable efficient communication between platform components. PLDM is not a single specification but a consortium of specifications, each addressing specific management domains, including:

  • PLDM Base specification 1
  • PLDM for BIOS Control and Configuration 2
  • PLDM for Firmware Update 3
  • PLDM for FRU Data 4
  • PLDM for Platform Monitoring and control 5
  • PLDM for SMBIOS Transfer 6
  • PLDM for File Transfer 7

These specifications enable the unified management of various platform functionalities such as firmware updates, hardware inventory, monitoring and diagnostics.

Encapsulation Details:
PLDM packets are typically transmitted over Management Component Transport Protocol (MCTP), which itself can be encapsulated in various transport mechanisms such as SMBus, PCIe VDM or I2C. The encapsulation format for PLDM data follows the structure defined by the DMTF specifications.

PLDM Packet details:
PLDM Message Header : Contains fields such as message type, instance ID, and header version details.
Payload : This includes the command and its associated data.

For additional details , refer to the PLDM base specification 1

Use case for a new DLT_TYPE:
Currently, there is no dedicated DLT_TYPE for capturing and analyzing PLDM data in tools like tcpdump or wireshark 8. Assigning a DLT_TYPE for PLDM would enable tools to differentiate PLDM packets from other protocols, and it also facilitates the development and use of protocol dissectors (without its underlying transport) enabling detailed parsing and display of PLDM packets.

Proposed Name:
I propose naming the new DLT_TYPE as DLT_PLDM to reflect its purpose.

Please let me know if any additional technical details, packet capture examples or further clarification to process this request.

@guyharris
Copy link
Member

PLDM packets are typically transmitted over Management Component Transport Protocol (MCTP), which itself can be encapsulated in various transport mechanisms such as SMBus, PCIe VDM or I2C.

So are there existing mechanisms to capture this traffic? If so, do they capture at one or more of the link layers over which it can be transported, at the MCTP layer, or at the PLDM layer?

@manojkiraneda
Copy link
Author

PLDM packets are typically transmitted over Management Component Transport Protocol (MCTP), which itself can be encapsulated in various transport mechanisms such as SMBus, PCIe VDM or I2C.

So are there existing mechanisms to capture this traffic? If so, do they capture at one or more of the link layers over which it can be transported, at the MCTP layer, or at the PLDM layer?

Yes, there are MCTP implementations like libmctp and its linux in-kernel implementation which supports packet capture at the MCTP layer. Yes, when mctp packet is captured , it would also have the PLDM packet as its payload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants