Skip to content

Commit

Permalink
Use less mbufs in pytest ifdef
Browse files Browse the repository at this point in the history
Signed-off-by: Guvenc Gulce <[email protected]>
  • Loading branch information
guvenc committed Nov 17, 2023
1 parent 44953c3 commit 2049848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/dpdk_layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extern "C" {
// 40Gb/s with 1500B packets means ~9M packets/s
// assuming 0.1s delay in processing means ~900k mbufs needed
#ifdef ENABLE_PYTEST
#define DP_MBUF_POOL_SIZE (200*1024)
#define DP_MBUF_POOL_SIZE (50*1024)
#else
#define DP_MBUF_POOL_SIZE (900*1024)
#endif
Expand Down

0 comments on commit 2049848

Please sign in to comment.