mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
Kernel: Make number of RTL8168 rx/tx descriptors constexpr
This commit is contained in:
parent
e235c2e21c
commit
2548ee4149
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ public:
|
|||
|
||||
private:
|
||||
// FIXME: should this be increased? (maximum allowed here is 1024) - memory usage vs packet loss chance tradeoff
|
||||
static const size_t number_of_rx_descriptors = 64;
|
||||
static const size_t number_of_tx_descriptors = 16;
|
||||
static constexpr size_t number_of_rx_descriptors = 64;
|
||||
static constexpr size_t number_of_tx_descriptors = 16;
|
||||
|
||||
RTL8168NetworkAdapter(PCI::Address, u8 irq, NonnullOwnPtr<KString>);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue