Page MenuHomeFreeBSD
Feed Advanced Search

Mar 7 2023

jhibbits closed D38597: Mechanically convert if_cxgb(4) and if_cxgbe(4) to IfAPI.

Committed as 954712e8f6.

Mar 7 2023, 8:47 PM
jhibbits committed rG954712e8f622: Mechanically convert cxgb(4) and cxgbe(4) to IfAPI (authored by jhibbits).
Mechanically convert cxgb(4) and cxgbe(4) to IfAPI
Mar 7 2023, 8:29 PM
jhibbits committed rG64c618ed7dbb: Mechanically convert qlxge(4) to IfAPI (authored by jhibbits).
Mechanically convert qlxge(4) to IfAPI
Mar 7 2023, 8:29 PM
jhibbits committed rG54ab3b4a03f0: Mechanically convert qlxgbe(4) to IfAPI (authored by jhibbits).
Mechanically convert qlxgbe(4) to IfAPI
Mar 7 2023, 8:29 PM
jhibbits committed rG5b587352a23e: Mechanically convert qlxgb(4) to IfAPI (authored by jhibbits).
Mechanically convert qlxgb(4) to IfAPI
Mar 7 2023, 8:29 PM
jhibbits closed D37821: Mechanically convert qlxgbe(4) to DrvAPI.
Mar 7 2023, 8:29 PM
jhibbits closed D37819: Mechanically convert qlxge(4) to DrvAPI.
Mar 7 2023, 8:29 PM
jhibbits closed D37820: Mechanically convert qlxgb(4) to DrvAPI.
Mar 7 2023, 8:29 PM
jhibbits requested review of D38955: al_eth: Finish conversion to IfAPI.
Mar 7 2023, 7:19 PM
jhibbits committed rG343c112dfea5: altera: Fix build from 068f2c0e10 (authored by jhibbits).
altera: Fix build from 068f2c0e10
Mar 7 2023, 4:58 PM
jhibbits committed rG068f2c0e10d5: Mechanically convert dwc(4) to IfAPI (authored by jhibbits).
Mechanically convert dwc(4) to IfAPI
Mar 7 2023, 2:47 PM
jhibbits committed rG6d18b481f276: cpsw(4): Finish conversion to IfAPI (authored by jhibbits).
cpsw(4): Finish conversion to IfAPI
Mar 7 2023, 2:47 PM
jhibbits committed rG56928500eceb: linux: Use the if_name() accessor to get loopback name (authored by jhibbits).
linux: Use the if_name() accessor to get loopback name
Mar 7 2023, 2:47 PM
jhibbits committed rG084846271a75: ktls: Use IfAPI accessors to get capabilities (authored by jhibbits).
ktls: Use IfAPI accessors to get capabilities
Mar 7 2023, 2:47 PM
jhibbits committed rG25c92cd2f6d1: iflib: Further convert to use IfAPI accessors (authored by jhibbits).
iflib: Further convert to use IfAPI accessors
Mar 7 2023, 2:47 PM
jhibbits closed D37846: Mechanically convert dwc(4) to DrvAPI.
Mar 7 2023, 2:47 PM
jhibbits closed D38932: ktls: Use IfAPI accessors to get capabilities.
Mar 7 2023, 2:47 PM
jhibbits closed D38928: iflib: Further convert to use IfAPI accessors.
Mar 7 2023, 2:47 PM

Mar 6 2023

jhibbits requested review of D38932: ktls: Use IfAPI accessors to get capabilities.
Mar 6 2023, 6:26 PM
jhibbits added a comment to D38929: ice: Use IfAPI accessor in place of if_capenable reference.

@erj was the original change to this intended? Before the change it was:

Mar 6 2023, 4:59 PM
jhibbits requested review of D38929: ice: Use IfAPI accessor in place of if_capenable reference.
Mar 6 2023, 4:56 PM
jhibbits requested review of D38928: iflib: Further convert to use IfAPI accessors.
Mar 6 2023, 4:40 PM
jhibbits closed D38711: mlx5: Enter network epoch when using if_foreach().
Mar 6 2023, 4:25 PM
jhibbits committed rG935b194ded5d: Mechanically convert usb ethernet drivers to DrvAPI (authored by jhibbits).
Mechanically convert usb ethernet drivers to DrvAPI
Mar 6 2023, 4:25 PM
jhibbits committed rG70510800d1ad: mlx5: Enter network epoch when using if_foreach() (authored by jhibbits).
mlx5: Enter network epoch when using if_foreach()
Mar 6 2023, 4:25 PM
jhibbits closed D37812: Mechanically convert usb ethernet drivers to DrvAPI.
Mar 6 2023, 4:24 PM

Mar 1 2023

jhibbits updated the diff for D38597: Mechanically convert if_cxgb(4) and if_cxgbe(4) to IfAPI.

Address feedback from @zlei and @np.

Mar 1 2023, 9:55 PM
jhibbits abandoned D38609: linux: Enter network epoch before iterating over interfaces..

Replaced by D38735.

Mar 1 2023, 9:07 PM
jhibbits accepted D38735: linux(4): Migrate to IfAPI.
Mar 1 2023, 4:40 PM · Linux Emulation

Feb 28 2023

jhibbits added a reviewer for D37812: Mechanically convert usb ethernet drivers to DrvAPI: jmg.

Adding @jmg, since he made the change to ure(4) to change the drv queue length to 512.

Feb 28 2023, 5:57 PM

Feb 27 2023

jhibbits accepted D38792: linux(4): Rename struct l_ifreq members names to avoid conflicts with FreeBSD.

Thanks!

Feb 27 2023, 12:40 AM · Linux Emulation
jhibbits accepted D38735: linux(4): Migrate to IfAPI.
Feb 27 2023, 12:38 AM · Linux Emulation

Feb 24 2023

jhibbits added inline comments to D37812: Mechanically convert usb ethernet drivers to DrvAPI.
Feb 24 2023, 4:15 PM

Feb 23 2023

jhibbits updated subscribers of D37812: Mechanically convert usb ethernet drivers to DrvAPI.
Feb 23 2023, 9:17 PM
jhibbits abandoned D38703: linuxulator: Fix SIOCGIFNAME after IfAPI conversion.

Code was rewritten.

Feb 23 2023, 8:08 PM

Feb 21 2023

jhibbits added a reverting change for rG5243598927a9: linprocfs: Migrate to IfAPI: rG19850ee07363: Revert "linprocfs: Migrate to IfAPI".
Feb 21 2023, 11:17 PM
jhibbits committed rG19850ee07363: Revert "linprocfs: Migrate to IfAPI" (authored by jhibbits).
Revert "linprocfs: Migrate to IfAPI"
Feb 21 2023, 11:17 PM
jhibbits added a comment to D38714: linux(4): Consolidate a FreeBSD interface names translation code.

@jhibbits, I also reverted 52435989, as linprocfs code also needed to update

Feb 21 2023, 11:17 PM
jhibbits added a reverting change for D38358: linprocfs: Migrate to IfAPI: rG19850ee07363: Revert "linprocfs: Migrate to IfAPI".
Feb 21 2023, 11:17 PM
jhibbits requested review of D38711: mlx5: Enter network epoch when using if_foreach().
Feb 21 2023, 9:10 PM
jhibbits added a reverting change for rG52d984831d82: Port Linuxulator to IfAPI: rGe9e637bf243c: Revert "Port Linuxulator to IfAPI".
Feb 21 2023, 5:21 PM
jhibbits committed rGe9e637bf243c: Revert "Port Linuxulator to IfAPI" (authored by jhibbits).
Revert "Port Linuxulator to IfAPI"
Feb 21 2023, 5:21 PM
jhibbits added a reverting change for D38349: Port Linuxulator to IfAPI: rGe9e637bf243c: Revert "Port Linuxulator to IfAPI".
Feb 21 2023, 5:20 PM
jhibbits added a comment to D38609: linux: Enter network epoch before iterating over interfaces..

With two last patches the kernel paniced: Feb 21 19:27:01 mordor savecore[1488]: reboot after panic: Assertion in_epoch(net_epoch_preempt) failed at /home/dchagin/freebsd/sys/net/if.c:4520

As we found some problem in Linuxulator netlink which is merged to stable/13 branch and requires simple change to the code modified by a 52d98483 commit, I propose to revert 52d98483 until it addressed, and on a weekend I’ll help to fix it.

Feb 21 2023, 5:17 PM
jhibbits updated the diff for D38609: linux: Enter network epoch before iterating over interfaces..

Rebase, now based on fix in D38703, too.

Feb 21 2023, 2:33 PM
jhibbits requested review of D38703: linuxulator: Fix SIOCGIFNAME after IfAPI conversion.
Feb 21 2023, 2:32 PM
jhibbits added a comment to D38609: linux: Enter network epoch before iterating over interfaces..

latest diff is not cleanly applies:

Feb 21 2023, 2:26 PM

Feb 18 2023

jhibbits updated the diff for D38609: linux: Enter network epoch before iterating over interfaces..

Change summary to 'linux' instead of 'IfAPI'

Feb 18 2023, 8:56 PM
jhibbits updated the diff for D38609: linux: Enter network epoch before iterating over interfaces..

Address feedback from @dchagin and @melifaro

Feb 18 2023, 8:54 PM

Feb 16 2023

jhibbits added inline comments to D38609: linux: Enter network epoch before iterating over interfaces..
Feb 16 2023, 8:07 PM
jhibbits added inline comments to D38609: linux: Enter network epoch before iterating over interfaces..
Feb 16 2023, 6:46 PM
jhibbits added inline comments to D38609: linux: Enter network epoch before iterating over interfaces..
Feb 16 2023, 4:06 PM
jhibbits added inline comments to D38609: linux: Enter network epoch before iterating over interfaces..
Feb 16 2023, 3:01 PM
jhibbits added a comment to D38609: linux: Enter network epoch before iterating over interfaces..

Wait a second... Are we sure that IFNET_RLOCK() isn't enough for that access? Maybe we need to adjust the assertion that we recently added? That it asserts epoch OR the lock. @melifaro What do you think?

Feb 16 2023, 2:59 PM

Feb 15 2023

jhibbits added a comment to D38597: Mechanically convert if_cxgb(4) and if_cxgbe(4) to IfAPI.

Not coccinelle, but there's a script that'll get "most of the way" at tools/ifnet/convert_ifapi.sh . Coccinelle would probably be better, less error-prone, but I don't know enough, and the script has been in the tree since 2014 (as convert_drvapi.sh)

Feb 15 2023, 6:01 PM
jhibbits added a comment to D38609: linux: Enter network epoch before iterating over interfaces..

The revision header needs to be changed s/IfAPI:/linux:/

Feb 15 2023, 4:50 PM
jhibbits requested review of D38609: linux: Enter network epoch before iterating over interfaces..
Feb 15 2023, 4:30 PM
jhibbits closed D38595: Mechanically convert mlx5en(4) to IfAPI.
Feb 15 2023, 2:44 PM
jhibbits committed rG5dc00f00b747: Mechanically convert mlx5en(4) to IfAPI (authored by jhibbits).
Mechanically convert mlx5en(4) to IfAPI
Feb 15 2023, 2:43 PM
jhibbits accepted D38494: powerpc: remove nexus_get_cpus().
Feb 15 2023, 2:24 PM
jhibbits added inline comments to D38597: Mechanically convert if_cxgb(4) and if_cxgbe(4) to IfAPI.
Feb 15 2023, 2:18 PM

Feb 14 2023

jhibbits requested review of D38597: Mechanically convert if_cxgb(4) and if_cxgbe(4) to IfAPI.
Feb 14 2023, 10:01 PM
jhibbits updated the diff for D37812: Mechanically convert usb ethernet drivers to DrvAPI.

Address @zlei's feedback.

Feb 14 2023, 9:53 PM
jhibbits requested review of D38595: Mechanically convert mlx5en(4) to IfAPI.
Feb 14 2023, 9:31 PM
jhibbits updated the diff for D37856: Mechanically convert qlnx(4) to DrvAPI.

Address @zlei's feedback.

Feb 14 2023, 8:51 PM
jhibbits added inline comments to D37856: Mechanically convert qlnx(4) to DrvAPI.
Feb 14 2023, 7:56 PM
jhibbits added inline comments to D37855: Mechanically convert if_hn(4) to DrvAPI.
Feb 14 2023, 7:51 PM
jhibbits closed D38423: IfAPI: Finish changes of ice(4)..
Feb 14 2023, 3:38 PM
jhibbits committed rG52d984831d82: Port Linuxulator to IfAPI (authored by jhibbits).
Port Linuxulator to IfAPI
Feb 14 2023, 3:38 PM
jhibbits committed rG68b47dcbe3de: Finish mechanical conversion of axgbe(4) to IfAPI. (authored by jhibbits).
Finish mechanical conversion of axgbe(4) to IfAPI.
Feb 14 2023, 3:38 PM
jhibbits committed rGaac2d19d9385: IfAPI: Style cleanup (authored by jhibbits).
IfAPI: Style cleanup
Feb 14 2023, 3:38 PM
jhibbits committed rGa3a76c3d9031: IfAPI: Add capabilities2/capenable2 accessors (authored by jhibbits).
IfAPI: Add capabilities2/capenable2 accessors
Feb 14 2023, 3:38 PM
jhibbits committed rG189c3729d84f: IfAPI: More accessors (authored by jhibbits).
IfAPI: More accessors
Feb 14 2023, 3:38 PM
jhibbits committed rG8d5feede40b4: IfAPI: Finish changes of ice(4). (authored by jhibbits).
IfAPI: Finish changes of ice(4).
Feb 14 2023, 3:38 PM
jhibbits closed D38349: Port Linuxulator to IfAPI.
Feb 14 2023, 3:38 PM
jhibbits closed D38499: IfAPI: Style cleanup.
Feb 14 2023, 3:38 PM
jhibbits committed rGe330262f34fc: Mechanically convert netmap(4) to IfAPI (authored by jhibbits).
Mechanically convert netmap(4) to IfAPI
Feb 14 2023, 3:38 PM
jhibbits closed D38487: IfAPI: Add capabilities2/capenable2 accessors.
Feb 14 2023, 3:37 PM
jhibbits closed D38488: IfAPI: More accessors.
Feb 14 2023, 3:37 PM
jhibbits committed rG4366ea339ddb: mlx4: Finish conversion to IfAPI (authored by jhibbits).
mlx4: Finish conversion to IfAPI
Feb 14 2023, 3:37 PM
jhibbits closed D37814: Mechanically convert netmap(4) to DrvAPI.
Feb 14 2023, 3:37 PM
jhibbits committed rGb29549c7f939: etherswitch: Fix leftovers from IfAPI conversion (authored by jhibbits).
etherswitch: Fix leftovers from IfAPI conversion
Feb 14 2023, 3:37 PM
jhibbits updated the diff for D38499: IfAPI: Style cleanup.

One more whitespace bug.

Feb 14 2023, 1:33 AM
jhibbits updated the diff for D38499: IfAPI: Style cleanup.

Address more feedback from @kib.

Feb 14 2023, 1:32 AM
jhibbits added inline comments to D38499: IfAPI: Style cleanup.
Feb 14 2023, 1:31 AM
jhibbits added a comment to D38499: IfAPI: Style cleanup.

Didn't mean to override your comments! I'm pretty sure @jhibbits will address them before checking in.

Feb 14 2023, 1:12 AM
jhibbits updated the diff for D38499: IfAPI: Style cleanup.

Address @kib's feedback. I think I got them all.

Feb 14 2023, 1:06 AM

Feb 13 2023

jhibbits requested review of D38560: ofed: Mechanically convert to IfAPI.
Feb 13 2023, 6:44 PM
jhibbits updated the diff for D38487: IfAPI: Add capabilities2/capenable2 accessors.

Address feedback from @kib.

Feb 13 2023, 3:52 PM
jhibbits added inline comments to D38487: IfAPI: Add capabilities2/capenable2 accessors.
Feb 13 2023, 3:49 PM

Feb 11 2023

jhibbits updated subscribers of D38499: IfAPI: Style cleanup.
In D38499#876078, @kib wrote:

A lot of functions return int and that boils down to return (0);. Do you intend to make the fail in some way in the future? If yes, could you please describe what are the expected failure modes?

Feb 11 2023, 6:46 PM

Feb 10 2023

jhibbits requested review of D38499: IfAPI: Style cleanup.
Feb 10 2023, 9:35 PM
jhibbits updated the diff for D38487: IfAPI: Add capabilities2/capenable2 accessors.

Address feedback. Clean up the pointless casts.

Feb 10 2023, 9:28 PM
jhibbits added inline comments to D38487: IfAPI: Add capabilities2/capenable2 accessors.
Feb 10 2023, 6:23 PM
jhibbits requested review of D38488: IfAPI: More accessors.
Feb 10 2023, 3:57 PM
jhibbits requested review of D38487: IfAPI: Add capabilities2/capenable2 accessors.
Feb 10 2023, 3:48 PM
jhibbits updated the diff for D37814: Mechanically convert netmap(4) to DrvAPI.

Address feedback. No more DRVAPI comments in the code.

Feb 10 2023, 3:00 PM

Feb 8 2023

jhibbits added a comment to D37814: Mechanically convert netmap(4) to DrvAPI.

I don't know how any of the issues you pointed out compiled in the first place. No errors on them. Will post an updated diff shortly.

Feb 8 2023, 9:25 PM
jhibbits accepted D38452: intr/powerpc: remove normal interrupts from intrcnt/intrnames.

I like the idea of doing less work in interrupt handlers. Especially when it could potentially share a cache line.

Feb 8 2023, 9:14 PM
jhibbits accepted D38432: bpf: Add missing NOP stubs.
Feb 8 2023, 4:55 AM