[Feature Request] Separate RX network descriptors for TX network descriptors
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- c
- Área
- networking
Línea de trabajo
The request concerns the buffer allocation API for the TCP stack, and the proposed new file is BufferAllocation_3.c, which does not exist yet; the existing allocator behaviour is what needs reading first. The issue has no comments and no linked work, so a maintainer decision on the TX/RX split is needed before any code. Done would mean an agreed API design for separate TX and RX allocate and release functions, not an implementation.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
Some ethernet drivers have distinct memory pools for rx and tx DMA buffers. Implementing a zero-copy NetworkInterface is complicated by this library's assumption that all memory descriptors are homogenous.
Describe the solution you'd like
Have separate buffer allocators for tx and rx. For example: vNetworkInterfaceAllocateRAMTo[TX|RX]Buffers and vRelease[TX|RX]NetworkBufferAndDescriptor in a BufferAllocation_3.c.
Describe alternatives you've considered
Marking buffers as being tx or rx buffers may increase backwards compatibility for this change but it will also complicate implementations; introducing "if tx else" branching instructions in applications instead of just linking tx and rx buffer handling paths through the code at compile-time.
Additional context
This problem encountered when using newer NXP GMAC IP in the S32K family of MCUs.
- Lenguaje dominante
- C
- Estrellas
- 215
- Forks
- 222
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de FreeRTOS/FreeRTOS-Plus-TCP
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 63/100
FreeRTOS/FreeRTOS-Plus-TCP#1395 ·
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
FreeRTOS/FreeRTOS-Plus-TCP#1389 ·
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
FreeRTOS/FreeRTOS-Plus-TCP#1388 ·
-
[BUG] PhyHandling incorrectly lists LAN8742A as having 19 PHYCRPosiblemente ocupada @StitchLilo626 la tomó hace 41 días. Abiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
FreeRTOS/FreeRTOS-Plus-TCP#1361 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 66/100
FreeRTOS/FreeRTOS-Plus-TCP#1392 · 1 comentario ·
Todos los issues de FreeRTOS/FreeRTOS-Plus-TCP
Issues similares
-
RecompLauncher supportAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
shinyquagsire23/OpenJKDF2#540 ·
Los mantenedores suelen responder en 12 días
-
Prison work hall: laundry and kitchen stations stand at bare walls, the hatch has no counter or signAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Life-Framework/Life-Framework#5939 ·
Los mantenedores suelen responder en 1 día
-
autoconf failes to find libsodium even when present due to implicit function declarationPosiblemente ocupada @coderjoe la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 13 días
-
SessionInterfaceHandler is throwing a deprecation notice as a warning instead of a deprecationAbiertoBug Status: Needs Triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
enhancement_package: a site operand of another JSON type raises TypeError, not a named refusalAbiertobug python
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
Jstar269/nakagawa-recomp#3521 ·
Los mantenedores suelen responder en 1 día