File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ struct BasicDPDKConfig {
44
44
// static constexpr uint16_t kMaxBurstSize = 32;
45
45
46
46
// The number of RX/TX descriptors in each queue.
47
- static constexpr uint16_t kRXDescCount = 256 ;
47
+ static constexpr uint16_t kRXDescCount = 128 ;
48
48
static constexpr uint16_t kTXDescCount = 512 ;
49
49
50
50
// The number of spare packet buffer count per queue.
51
51
static constexpr uint16_t kSpareMBufCount =
52
- 6144 - kRXDescCount - kTXDescCount ;
52
+ 4096 - kRXDescCount - kTXDescCount ;
53
53
54
54
// The minimum required link speed (Gbps).
55
55
static constexpr uint32_t kMinLinkSpeed = 10 ;
Original file line number Diff line number Diff line change 4
4
5
5
struct DPDKConfig : public ::mica::network::BasicDPDKConfig {
6
6
static constexpr bool kVerbose = true ;
7
+ static constexpr uint16_t kRXDescCount = 256 ;
8
+ static constexpr uint16_t kSpareMBufCount = 6144 - kRXDescCount - kTXDescCount ;
7
9
};
8
10
9
11
struct PartitionsConfig : public ::mica::processor::BasicPartitionsConfig {
You can’t perform that action at this time.
0 commit comments