diff options
| author | Mikhail Kshevetskiy <[email protected]> | 2025-10-08 10:31:38 +0300 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2025-10-22 14:28:33 +0200 |
| commit | ec127937199d7ec7116f07bb1642565ab6671a36 (patch) | |
| tree | e91449cb4b4196b93c585b8f67927d42a47453f7 /doc/develop | |
| parent | 4b8e78585171787794611205d661b97bc5f4dd83 (diff) | |
net: airoha: simplify rx/free packet logic a bit
The commit 997786bbf473 ("drivers/net/airoha_eth: fix stalling in package
receiving") can be improved. Instead of returning previous descriptor
it's possible:
* do nothing in even descriptor case
* return 2 descriptor to the queue (current and previous) in the odd
descriptor case.
This patch:
* implements above approach
* remove logic not required within new approach
* adds note that PKTBUFSRX must be even and larger than 7
for reliable driver operations
Signed-off-by: Mikhail Kshevetskiy <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
