Skip to content

Conversation

@mmaatuq
Copy link
Contributor

@mmaatuq mmaatuq commented Dec 27, 2025

Add test to verify Suricata correctly handles segmented (chained)
mbufs in DPDK mode. Uses large TLS packets that force mbuf
segmentation.

Ticket: 6012

Redmine ticket:https://redmine.openinfosecfoundation.org/issues/6012

@@ -0,0 +1,2317 @@
%YAML 1.1
---

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please provide minimal YAML file to test this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

requires:
min-version: 8
features:
- DPDK
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be HAVE_DPDK.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ha, ok, false. It is as it should be.

Perhaps a question for @jasonish -- I don't see DPDK in the "Features" list as noted at the bottom of the https://github.com/OISF/suricata-verify/ readme page. Does it now take this information from elsewhere as well?

Copy link
Member

Choose a reason for hiding this comment

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

This should work. run.py supports parsing --build-info lines like:

DPDK support:                            yes

This test runs for me when I use the linked Suricata PR with DPDK support enabled, however, it fails.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not sure why it fails, as it passes on my end, can you please run the test with verbose mode and share logs?

@lukashino
Copy link
Contributor

I would be happy to see a test that shows and confirms the failing linearization. After the YAML change is done, it is good for me.

  Add test to verify Suricata correctly handles segmented (chained)
  mbufs in DPDK mode. Uses large TLS packets that force mbuf
  segmentation.

  Ticket: 6012

Signed-off-by: mmaatuq <mmaatuq3@gatech.edu>
@mmaatuq mmaatuq force-pushed the dpdk-segmented-mbufs-6012 branch from 19c7576 to 310e34b Compare December 28, 2025 16:26
@catenacyber catenacyber added the requires suricata pr Depends on a PR in Suricata label Jan 2, 2026
@@ -0,0 +1,26 @@
requires:
min-version: 8
Copy link
Contributor

Choose a reason for hiding this comment

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

You also need to change this to:
min-version: 9

Copy link
Contributor

Choose a reason for hiding this comment

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

As / if it will be backported to 8 then we can lower the version

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

Labels

requires suricata pr Depends on a PR in Suricata

Development

Successfully merging this pull request may close these issues.

5 participants