Page MenuHomeFreeBSD

Convert iflib(4) and iflib-based drivers to the DrvAPI
ClosedPublic

Authored by jhibbits on Dec 20 2022, 10:01 PM.
Tags
None
Referenced Files
F102803882: D37768.id114786.diff
Sun, Nov 17, 9:44 AM
Unknown Object (File)
Thu, Nov 7, 7:45 AM
Unknown Object (File)
Sun, Oct 27, 7:45 AM
Unknown Object (File)
Sat, Oct 26, 9:00 AM
Unknown Object (File)
Oct 12 2024, 2:12 PM
Unknown Object (File)
Oct 3 2024, 5:16 AM
Unknown Object (File)
Sep 30 2024, 12:23 PM
Unknown Object (File)
Sep 14 2024, 3:50 AM

Details

Reviewers
gallatin
mmacy
kbowling
shurd
Group Reviewers
network
Restricted Owners Package(Owns No Changed Paths)
iflib
Commits
rG402810d32e5f: Convert iflib(4) and iflib-based drivers to the DrvAPI
Summary

Convert iflib(4) and the following drivers:

  • axgbe
  • em
  • ice
  • ixl
  • vmxnet

Sponsored by: Juniper Networks, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Dec 20 2022, 10:01 PM
erj added inline comments.
sys/dev/ixl/ixl_iw.c
168

I think this needs to be adjusted

sys/dev/ixl/ixl_pf_main.c
621

Is it if_getname, or if_getxname? You use the former function in other places.

sys/dev/ixl/ixl_iw.c
168

How did this even pass the build?

I see why now, because the file is not even compiled.

sys/dev/ixl/ixl_pf_main.c
621

It should be if_name() instead. That's the KPI @melifaro likes, and I thought my sed fixed all of them.

sys/dev/ixl/ixl_iw.c
168

This file/functionality should probably be removed for 14, anyway.

sys/dev/ixl/ixl_pf_main.c
621

Ok, yeah, I see it's if_name() everywhere else; I think I just transposed the "get" there because most of these accessors use "get".

Hmm... this should've been closed already, but I can't close it without abandoning.

Was already pushed as 402810d32e5f7525c61ef70c6af24817227e1649.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 6 2023, 1:32 AM
This revision was automatically updated to reflect the committed changes.