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
Unknown Object (File)
Mar 14 2024, 11:00 PM
Unknown Object (File)
Jan 24 2024, 7:23 PM
Unknown Object (File)
Jan 23 2024, 7:22 PM
Unknown Object (File)
Dec 29 2023, 3:33 PM
Unknown Object (File)
Dec 20 2023, 8:10 AM
Unknown Object (File)
Dec 15 2023, 5:13 PM
Unknown Object (File)
Dec 6 2023, 7:40 AM
Unknown Object (File)
Oct 11 2023, 1:16 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.