Skip to content

Commit

Permalink
dpdk - update DEFAULT_MBUF_BURST_SIZE to 64 which is default value fo…
Browse files Browse the repository at this point in the history
…r input packet queue
  • Loading branch information
TheSableCZ committed Jun 11, 2024
1 parent b1eaf0e commit 21df54a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion input/dpdk-ring.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
namespace ipxp {
class DpdkRingOptParser : public OptionsParser {
private:
static constexpr size_t DEFAULT_MBUF_BURST_SIZE = 256;
static constexpr size_t DEFAULT_MBUF_BURST_SIZE = 64;
size_t pkt_buffer_size_;

std::string ring_name_;
Expand Down
2 changes: 1 addition & 1 deletion input/dpdk.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace ipxp {

class DpdkOptParser : public OptionsParser {
private:
static constexpr size_t DEFAULT_MBUF_BURST_SIZE = 256;
static constexpr size_t DEFAULT_MBUF_BURST_SIZE = 64;
static constexpr size_t DEFAULT_MBUF_POOL_SIZE = 16384;
size_t pkt_buffer_size_;
size_t pkt_mempool_size_;
Expand Down

0 comments on commit 21df54a

Please # to comment.