Skip to content

ethernetif 中 tx rx线程优化 #11154

@sakumisu

Description

@sakumisu

Describe problem solved by the proposed feature

当前 eth tx rx采用了消息+线程的形式,但是,当使用多网卡的时候,如果前一个网卡在阻塞,会影响下一个网卡的通信。
此外,lwip 在 2.0以后,增加了 LWIP_TCPIP_CORE_LOCKING,表示不使用 lwip 内置的tcpip线程,而是直接由 output 函数控制,省去消息带来的延迟,提高性能,但是 rtt eth 适配中,又加回了这种模式,应该考虑删除。
最后,rx线程也应该每个网卡一个线程

Describe your preferred solution

No response

Describe possible alternatives

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions