- Factor out queue selection (epair_select_queue()) and mbuf preparation (epair_prepare_mbuf()) from epair_menq(). It simplifies epair_menq() implementation and reduces the amount of dependencies on the neighbouring epair.
- Use dedicated epair_set_state() instead of 2-lines copy-paste
- Factor out unit selection code (epair_handle_unit()) from epair_clone_create(). It simplifies the clone creation logic.
Details
Details
- Reviewers
kp - Group Reviewers
network - Commits
- rG04a32b802ec7: if_epair: refactor interface creation and enqueue code.
20:23 [0] m@devel1 s kyua test -k /usr/tests/sys/net/Kyuafile 125/126 passed (1 failed)
- The failing one is if_lagg_test:witness
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable