Skip to content

Commit a0b5c24

Browse files
author
Ian Seyler
committed
Increase Intel MAX_DESC to full 32KiB
1 parent 8e1f0f9 commit a0b5c24

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/drivers/net/i8254x.asm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,7 @@ net_i8254x_poll_end:
342342

343343

344344
; Constants
345-
i8254x_MAX_PKT_SIZE equ 16384
346-
i8254x_MAX_DESC equ 16 ; Must be 16, 32, 64, 128, etc.
345+
i8254x_MAX_DESC equ 2048 ; Must be 16, 32, 64, 128, etc. Each descriptor is 16 bytes
347346

348347
; Register list (13.2) (All registers should be accessed as 32-bit values)
349348

src/drivers/net/i8257x.asm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,7 @@ net_i8257x_poll_end:
328328

329329

330330
; Constants
331-
i8257x_MAX_PKT_SIZE equ 16384
332-
i8257x_MAX_DESC equ 16 ; Must be 16, 32, 64, 128, etc.
331+
i8257x_MAX_DESC equ 2048 ; Must be 16, 32, 64, 128, etc. Each descriptor is 16 bytes
333332

334333
; Register list (13.3) (All registers should be accessed as 32-bit values)
335334

src/drivers/net/i8259x.asm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,7 @@ net_i8259x_poll_end:
477477

478478

479479
; Constants
480-
i8259x_MAX_PKT_SIZE equ 16384
481-
i8259x_MAX_DESC equ 4096 ; Must be 16, 32, 64, 128, etc.
480+
i8259x_MAX_DESC equ 2048 ; Must be 16, 32, 64, 128, etc. Each descriptor is 16 bytes
482481

483482
; Register list (All registers should be accessed as 32-bit values)
484483

0 commit comments

Comments
 (0)