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

Support pcap capture in teeio_validator #88

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

subrata-chatterjee-intel
Copy link
Contributor

This patch adds support to capture pcap file in teeio_validator application. The captured pcap file can be used for offline analysis by spdm-dump tool.

The pcap related implementation i.e. pcap.c is based on similar implementation in spdm-emu/spdm_emu/spdm_emu_common/pcap.c.

This feature is controlled by 'pcap_enable' field in [Main] section.

Currently the capture is done for PCI_DOE transport layer.

Separate option can be added later in [Main] section to control transport option i.e. PCIE_DOE or MCTP.

This patch adds support to capture pcap file in teeio_validator
application. The captured pcap file can be used for offline analysis
by spdm-dump tool.

The pcap related implementation i.e. pcap.c is based
on similar implementation in spdm-emu/spdm_emu/spdm_emu_common/pcap.c.

This feature is controlled by 'pcap_enable' field in [Main] section.

Currently the capture is done for PCI_DOE transport layer.

Separate option can be added later in [Main] section to control
transport option i.e. PCIE_DOE or MCTP.

Signed-off-by: Subrata Chatterjee <subrata.chatterjee@intel.com>
Copy link
Contributor

@mxu9 mxu9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@jyao1 jyao1 merged commit 7010ed6 into intel:main Jun 18, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants