Page MenuHomeFreeBSD

epair: use serialize/restore m_pkthdr.rcvif when queueing mbufs
AbandonedPublic

Authored by glebius on Dec 4 2021, 9:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 14, 12:38 PM
Unknown Object (File)
Sep 29 2024, 11:50 PM
Unknown Object (File)
Sep 28 2024, 3:54 AM
Unknown Object (File)
Sep 5 2024, 7:15 PM
Unknown Object (File)
Aug 20 2024, 9:59 AM
Unknown Object (File)
Aug 15 2024, 4:53 AM
Unknown Object (File)
Aug 10 2024, 7:30 PM
Unknown Object (File)
Aug 9 2024, 3:17 AM
Subscribers

Details

Reviewers
bz
kp
Group Reviewers
network

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43148
Build 40036: arc lint + arc unit

Event Timeline

Is it worth doing that here? We're storing the mbuf in the context of a struct ifnet anyway. It might make more sense to just clear rcvif when we enqueue it and populate it again in epair_sintr().
That's sort of what we do in "real" network drivers as well. We populate rcvif in the receive path.

In D33269#752504, @kp wrote:

Is it worth doing that here? We're storing the mbuf in the context of a struct ifnet anyway. It might make more sense to just clear rcvif when we enqueue it and populate it again in epair_sintr().
That's sort of what we do in "real" network drivers as well. We populate rcvif in the receive path.

This makes a lot of sense. I will abandon this revision in favor of a different one.