diff options
Diffstat (limited to 'platform/linux-generic/test/packet_align.conf')
-rw-r--r-- | platform/linux-generic/test/packet_align.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/platform/linux-generic/test/packet_align.conf b/platform/linux-generic/test/packet_align.conf new file mode 100644 index 000000000..fb1418348 --- /dev/null +++ b/platform/linux-generic/test/packet_align.conf @@ -0,0 +1,21 @@ +# Mandatory fields +odp_implementation = "linux-generic" +config_file_version = "0.1.28" + +pool: { + pkt: { + # Non-zero, larger than cache line size, power of two value. + base_align = 128 + } + + buf: { + # Non-zero, larger than cache line size, power of two value. + min_align = 256 + } +} + +pktio: { + # Ethernet header offset is 2 bytes, so that Ethernet payload + # starts at 16 byte alignment. + pktin_frame_offset = 2 +} |