Page MenuHomeFreeBSD
Feed Advanced Search

Oct 9 2023

jhibbits added inline comments to D41837: ossl: Add support for powerpc64/powerpc64le.
Oct 9 2023, 3:36 PM

Oct 4 2023

jhibbits requested review of D42082: bpf: Add IfAPI analogue for bpf_peers_present().
Oct 4 2023, 8:57 PM

Sep 30 2023

jhibbits accepted D42027: netlink: fix accessing freed memory.
Sep 30 2023, 3:24 PM

Sep 19 2023

jhibbits accepted D39200: ifnet: add iterator functions for the if/ifa/ifma..
Sep 19 2023, 2:41 AM
jhibbits added inline comments to D41905: ObsoleteFiles.inc: do not remove ofwdump.8 on powerpc64le.
Sep 19 2023, 2:37 AM

Sep 17 2023

jhibbits committed rGa6662c37b6ff: powerpc: Implement fpu_kern_enter/fpu_kern_leave (authored by sanastasio_raptorengineering.com).
powerpc: Implement fpu_kern_enter/fpu_kern_leave
Sep 17 2023, 5:22 PM
jhibbits added a reverting change for rG6a47fa697ace: powerpc: Implement fpu_kern_enter/fpu_kern_leave: rG67a27733d1f4: Revert "powerpc: Implement fpu_kern_enter/fpu_kern_leave".
Sep 17 2023, 5:22 PM
jhibbits committed rG67a27733d1f4: Revert "powerpc: Implement fpu_kern_enter/fpu_kern_leave" (authored by jhibbits).
Revert "powerpc: Implement fpu_kern_enter/fpu_kern_leave"
Sep 17 2023, 5:22 PM
jhibbits added a reverting change for D41540: powerpc: Implement fpu_kern_enter/fpu_kern_leave: rG67a27733d1f4: Revert "powerpc: Implement fpu_kern_enter/fpu_kern_leave".
Sep 17 2023, 5:22 PM
jhibbits committed rG6a47fa697ace: powerpc: Implement fpu_kern_enter/fpu_kern_leave (authored by jhibbits).
powerpc: Implement fpu_kern_enter/fpu_kern_leave
Sep 17 2023, 3:45 PM
jhibbits closed D41540: powerpc: Implement fpu_kern_enter/fpu_kern_leave.
Sep 17 2023, 3:44 PM

Sep 15 2023

jhibbits closed D41146: IfAPI: Retire if_etherbpfmtap() and if_bpfmtap().

Closed by 2a3716432d

Sep 15 2023, 7:50 PM

Sep 14 2023

jhibbits added a comment to D41540: powerpc: Implement fpu_kern_enter/fpu_kern_leave.

Also, thank you @jhibbits for approving the patch. I'm not super familiar with the FreeBSD contribution work flow yet, so excuse the question, but is there anything that I need to do at this point to have this patch committed? I presume the patch must now be merged by someone other than me with commit privileges.

Sep 14 2023, 1:39 PM

Sep 13 2023

jhibbits accepted D41846: powerpc pmap: initialize kernel pmap radix trie.
Sep 13 2023, 5:59 PM

Sep 12 2023

jhibbits accepted D41540: powerpc: Implement fpu_kern_enter/fpu_kern_leave.

As long as it doesn't require VSX (able to run on PowerMac G5), I think it's good.

Sep 12 2023, 4:54 PM

Sep 7 2023

Herald added a reviewer for D38046: ifnet/API: Move struct ifnet definition to a <net/if_private.h>: melifaro.
Sep 7 2023, 12:35 PM

Sep 2 2023

jhibbits committed rGac77837ca758: dtsec(4): Restore IFCAP_JUMBO_MTU lost in IfAPI conversion (authored by jhibbits).
dtsec(4): Restore IFCAP_JUMBO_MTU lost in IfAPI conversion
Sep 2 2023, 8:58 PM

Aug 31 2023

jhibbits added a comment to D41540: powerpc: Implement fpu_kern_enter/fpu_kern_leave.

Overall this looks good, just the one comment on SPE. Can you also test with powerpc64 BE to avoid surprises?

Aug 31 2023, 3:31 AM

Aug 28 2023

jhibbits committed rG570688f0a5c2: spibus: Make ofw_spibus probe just a little more favored (authored by jhibbits).
spibus: Make ofw_spibus probe just a little more favored
Aug 28 2023, 11:33 PM

Aug 26 2023

jhibbits committed rGdb5505172906: dtsec: Support multicast receive. (authored by jhibbits).
dtsec: Support multicast receive.
Aug 26 2023, 2:33 PM

Aug 25 2023

jhibbits committed rGb820820ece09: mac_ipacl: Use IfAPI (authored by jhibbits).
mac_ipacl: Use IfAPI
Aug 25 2023, 4:53 PM
jhibbits committed rG2a3716432d20: IfAPI: Retire if_etherbpfmtap() and if_bpfmtap() (authored by jhibbits).
IfAPI: Retire if_etherbpfmtap() and if_bpfmtap()
Aug 25 2023, 4:53 PM

Aug 17 2023

jhibbits resigned from D41425: irdma(4): upgrade to 1.2.17-k.

I'm not familiar enough to comment at all. My only role was mechanically converting to IfAPI.

Aug 17 2023, 3:58 PM

Aug 11 2023

jhibbits accepted D41426: ofed: fix roce gid insertion for vlan interfaces.

Big "Oops", sorry.

Aug 11 2023, 1:19 PM

Aug 2 2023

jhibbits committed rG0c783a37d5d5: mii: Add the Broadcom BCM54616S ID to the list (authored by jhibbits).
mii: Add the Broadcom BCM54616S ID to the list
Aug 2 2023, 2:48 PM

Jul 21 2023

jhibbits requested review of D41146: IfAPI: Retire if_etherbpfmtap() and if_bpfmtap().
Jul 21 2023, 6:18 PM

Jun 24 2023

jhibbits accepted D40589: share/mk/bsd.cpu.mk: drop -mno-powerpc64.
Jun 24 2023, 8:00 PM

Jun 16 2023

jhibbits accepted D40577: netlink: convert to IfAPI..

I agree with option 1, moving the LLE insertion code to if_llatbl.c

Jun 16 2023, 3:37 PM

May 17 2023

jhibbits accepted D40125: net/if_var.h: consistently use if_t over struct ifnet *.
May 17 2023, 3:10 AM

May 2 2023

jhibbits closed D39493: IfAPI: Add if_maddr_empty() to check for any maddrs.
May 2 2023, 6:48 PM
jhibbits committed rG0785c323f31c: Convert nfs bootp/diskless to use IfAPI (authored by jhibbits).
Convert nfs bootp/diskless to use IfAPI
May 2 2023, 6:48 PM
jhibbits committed rG4db5958a0691: Mechanically convert if_hn(4) to IfAPI (authored by jhibbits).
Mechanically convert if_hn(4) to IfAPI
May 2 2023, 6:48 PM
jhibbits committed rGf766d1d5a7c6: IfAPI: Add if_maddr_empty() to check for any maddrs (authored by jhibbits).
IfAPI: Add if_maddr_empty() to check for any maddrs
May 2 2023, 6:47 PM
jhibbits closed D38962: Convert nfs to use the IfAPI.
May 2 2023, 6:47 PM
jhibbits closed D37855: Mechanically convert if_hn(4) to DrvAPI.
May 2 2023, 6:47 PM
jhibbits updated the diff for D39493: IfAPI: Add if_maddr_empty() to check for any maddrs.

Switch to a boolean, if_maddr_empty() instead.

May 2 2023, 2:56 PM

May 1 2023

jhibbits added a comment to D39621: IfAPI: Remove temporary inclusion of if_private.h.

If it builds, I'm all up for it!

May 1 2023, 6:00 PM

Apr 25 2023

jhibbits committed rGf46a05b5d3db: al_eth: Finish conversion to IfAPI (authored by jhibbits).
al_eth: Finish conversion to IfAPI
Apr 25 2023, 6:23 PM
jhibbits committed rGcfaab41c950f: irdma: Convert to IfAPI (authored by jhibbits).
irdma: Convert to IfAPI
Apr 25 2023, 6:23 PM
jhibbits closed D38955: al_eth: Finish conversion to IfAPI.
Apr 25 2023, 6:22 PM
jhibbits closed D38960: irdma: Convert to IfAPI.
Apr 25 2023, 6:22 PM
jhibbits added inline comments to D38955: al_eth: Finish conversion to IfAPI.
Apr 25 2023, 3:49 PM
jhibbits added a comment to D38960: irdma: Convert to IfAPI.

@mateusz.moga_intel.com Thanks for validation, I'll push it today.

Apr 25 2023, 2:19 PM

Apr 24 2023

jhibbits added a reviewer for D38955: al_eth: Finish conversion to IfAPI: mw.

Add mw@ for review as well.

Apr 24 2023, 2:15 PM
jhibbits added a comment to D39493: IfAPI: Add if_maddr_empty() to check for any maddrs.

Ping? Would a simple boolean be better than a count?

Apr 24 2023, 2:14 PM
jhibbits added a comment to D38962: Convert nfs to use the IfAPI.

Ping anyone?

Apr 24 2023, 2:13 PM
jhibbits committed rG02f3b17fa596: Mechanically convert Xen netfront/netback(4) to IfAPI (authored by jhibbits).
Mechanically convert Xen netfront/netback(4) to IfAPI
Apr 24 2023, 2:12 PM
jhibbits committed rG7814374b7cd5: IfAPI: Hide the macros that touch ifnet members (authored by jhibbits).
IfAPI: Hide the macros that touch ifnet members
Apr 24 2023, 2:12 PM
jhibbits committed rG97583aa25675: linuxkpi: Migrate to IfAPI (authored by jhibbits).
linuxkpi: Migrate to IfAPI
Apr 24 2023, 2:12 PM
jhibbits closed D37800: Mechanically convert Xen netfront/netback(4) to DrvAPI.
Apr 24 2023, 2:12 PM
jhibbits closed D39491: linuxkpi: Migrate to IfAPI.
Apr 24 2023, 2:12 PM

Apr 22 2023

jhibbits committed rG0468e89cb359: zfs/powerpc64: Fix big-endian powerpc64 asm (authored by jhibbits).
zfs/powerpc64: Fix big-endian powerpc64 asm
Apr 22 2023, 3:25 PM

Apr 21 2023

jhibbits updated the diff for D37855: Mechanically convert if_hn(4) to DrvAPI.

Update diff after (several) rebases. Intended to do this 2 months ago. I hope I've addressed everything.

Apr 21 2023, 5:13 PM
jhibbits updated the diff for D38960: irdma: Convert to IfAPI.

Rebase and use @bartosz.sobczak_intel.com 's diff instead.

Apr 21 2023, 5:09 PM

Apr 20 2023

jhibbits added a comment to D38960: irdma: Convert to IfAPI.


Thanks for bearing with me @jhibbits !

I'm attaching current proposal which i rebased on top of 14-cur today and run quickly rping on roce/iwarp and it seems fine.

Apr 20 2023, 7:37 PM

Apr 19 2023

jhibbits added a comment to D38960: irdma: Convert to IfAPI.

Hi @bartosz.sobczak_intel.com the ofed fix has been committed as 12e99b63d2fa, thanks!

Apr 19 2023, 3:54 PM
jhibbits committed rG12e99b63d2fa: ofed: Fix a logic inversion from IfAPI conversion (authored by jhibbits).
ofed: Fix a logic inversion from IfAPI conversion
Apr 19 2023, 3:53 PM
jhibbits added a comment to D38960: irdma: Convert to IfAPI.

i still haven't had a chance to test this, because from what i can see the commit 3e142e07675be6d breaks iwarp for E810 devices. i'm trying to comprehend why this happens.

Crap. It should've been a purely mechanical change, with no functional changes. Unfortunately I have no way of testing. @hselasky are you able to test and debug? I hope I don't need to revert, I want to get D39621 in before the branch in May.

I know! right?
Ok, i think i found the change:

@@ -176,13 +176,13 @@ static inline int rdma_addr_gid_offset(struct rdma_dev_addr *dev_addr)
 	return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0;
 }
 
-static inline u16 rdma_vlan_dev_vlan_id(const struct ifnet *dev)
+static inline u16 rdma_vlan_dev_vlan_id(if_t dev)
 {
 	uint16_t tag;
 
-	if (dev->if_type == IFT_ETHER && dev->if_pcp != IFNET_PCP_NONE)
+	if (if_gettype(dev) != IFT_ETHER || if_getpcp(dev) == IFNET_PCP_NONE)
 		return 0x0000;	/* prio-tagged traffic */
-	if (VLAN_TAG(__DECONST(struct ifnet *, dev), &tag) != 0)
+	if (VLAN_TAG(__DECONST(if_t, dev), &tag) != 0)
 		return 0xffff;
 	return tag;
 }

So we have a change from:
A && !B
into:
!A || B

Do you know why this change? It clearly is a negative of what was before. The effect is that when no vlan is set, we get vlan_id 0 instead of 0xffff, and this is used by irdma driver.

Apr 19 2023, 3:15 PM

Apr 18 2023

jhibbits updated subscribers of D38960: irdma: Convert to IfAPI.

i still haven't had a chance to test this, because from what i can see the commit 3e142e07675be6d breaks iwarp for E810 devices. i'm trying to comprehend why this happens.

Apr 18 2023, 2:43 PM

Apr 17 2023

jhibbits requested review of D39621: IfAPI: Remove temporary inclusion of if_private.h.
Apr 17 2023, 5:57 PM

Apr 12 2023

jhibbits added a comment to D38960: irdma: Convert to IfAPI.

Ah I see now. Not sure what I actually downloaded to check yesterday, now I got the right diff to compare.

Apr 12 2023, 1:44 PM

Apr 11 2023

jhibbits accepted D39240: share/mk/bsd.cpu.mk: add AltiVec / VSX to powerpc*'s MACHINE_CPU.

powerpcspe can be done separately. I don't think there's currently any attribute used, but if there will be it would be "spe" or such.

Apr 11 2023, 6:05 PM
jhibbits added a comment to D38960: irdma: Convert to IfAPI.

Hi @bartosz.sobczak_intel.com I just checked, and the diffs are identical. I have no way of testing it, I've only compiled it for all targets.

Apr 11 2023, 3:41 PM

Apr 10 2023

jhibbits requested review of D39493: IfAPI: Add if_maddr_empty() to check for any maddrs.
Apr 10 2023, 7:14 PM
jhibbits added a comment to D39491: linuxkpi: Migrate to IfAPI.

When changing structure layouts you need to bump the FreeBSD version.

Apr 10 2023, 7:09 PM
jhibbits edited reviewers for D38962: Convert nfs to use the IfAPI, added: glebius, melifaro; removed: rmacklem.
Apr 10 2023, 6:45 PM
jhibbits requested review of D39491: linuxkpi: Migrate to IfAPI.
Apr 10 2023, 6:21 PM

Apr 6 2023

jhibbits updated the diff for D38960: irdma: Convert to IfAPI.

Rebase, address feedback.

Apr 6 2023, 4:15 PM

Mar 29 2023

jhibbits added inline comments to D39240: share/mk/bsd.cpu.mk: add AltiVec / VSX to powerpc*'s MACHINE_CPU.
Mar 29 2023, 3:49 PM
jhibbits accepted D39314: Add NETLINK to powerpc by default.
Mar 29 2023, 3:48 PM
jhibbits added a comment to D39314: Add NETLINK to powerpc by default.
Mar 29 2023, 3:46 PM

Mar 24 2023

jhibbits updated the diff for D38955: al_eth: Finish conversion to IfAPI.

Drop the initial link state. Nothing else sets initial link state.

Mar 24 2023, 7:14 PM
jhibbits committed rG79aa96f9ca4d: infiniband: Bring back M_ASSERTVALID() check in infiband_bpf_mtap() (authored by jhibbits).
infiniband: Bring back M_ASSERTVALID() check in infiband_bpf_mtap()
Mar 24 2023, 3:50 PM
jhibbits committed rGbb55bb1740d2: inet6: Include if_private.h in one more netstack file (authored by jhibbits).
inet6: Include if_private.h in one more netstack file
Mar 24 2023, 3:50 PM
jhibbits committed rG727bfe3894ab: Mechanically convert qlnx(4) to IfAPI (authored by jhibbits).
Mechanically convert qlnx(4) to IfAPI
Mar 24 2023, 3:50 PM
jhibbits closed D37856: Mechanically convert qlnx(4) to DrvAPI.
Mar 24 2023, 3:49 PM
jhibbits committed rG3e142e07675b: ofed: Mechanically convert to IfAPI (authored by jhibbits).
ofed: Mechanically convert to IfAPI
Mar 24 2023, 3:49 PM
jhibbits closed D38560: ofed: Mechanically convert to IfAPI.
Mar 24 2023, 3:49 PM
jhibbits abandoned D38929: ice: Use IfAPI accessor in place of if_capenable reference.
In D38929#893449, @erj wrote:
Mar 24 2023, 2:01 PM
jhibbits added a comment to D37856: Mechanically convert qlnx(4) to DrvAPI.
In D37856#893389, @zlei wrote:

Looks good to me.

I admit that the diff https://reviews.freebsd.org/D37856?id=117248 frustrated me a lot.

Mar 24 2023, 1:44 AM

Mar 23 2023

jhibbits updated the diff for D38962: Convert nfs to use the IfAPI.

Update.

Mar 23 2023, 5:49 PM
jhibbits added a comment to D37856: Mechanically convert qlnx(4) to DrvAPI.

Any further comments on this?

Mar 23 2023, 5:48 PM
jhibbits updated the diff for D38560: ofed: Mechanically convert to IfAPI.

Update to use the new if_iter API. Remove rest of struct ifnet uses in the code.

Mar 23 2023, 5:48 PM
jhibbits added a comment to D38929: ice: Use IfAPI accessor in place of if_capenable reference.

@erj can you fix this the right way given what you also wrote in your now deleted comment? I could just revert the original change to the line if that's all that's needed.

Mar 23 2023, 2:25 PM
jhibbits committed rGe2427c6917dd: IfAPI: Add iterator to complement if_foreach() (authored by jhibbits).
IfAPI: Add iterator to complement if_foreach()
Mar 23 2023, 1:39 PM
jhibbits closed D39138: IfAPI: Add iterator to complement if_foreach().
Mar 23 2023, 1:38 PM

Mar 21 2023

jhibbits added a comment to D38960: irdma: Convert to IfAPI.

@bartosz.sobczak_intel.com I'm find holding off. When D39173 is committed I'll rebase on that and rework to also use the new iterator API which is cleaner than the callback API.

Mar 21 2023, 2:28 PM
jhibbits committed rG379e14ba6c61: powerpc/pmap: Account for a potential NULL pmap in pmap_sync_icache (authored by jhibbits).
powerpc/pmap: Account for a potential NULL pmap in pmap_sync_icache
Mar 21 2023, 2:02 PM

Mar 18 2023

jhibbits updated the diff for D39138: IfAPI: Add iterator to complement if_foreach().

Simplify things a bit, store only next pointer instead of both current and next.

Mar 18 2023, 6:59 PM
jhibbits added inline comments to D39138: IfAPI: Add iterator to complement if_foreach().
Mar 18 2023, 6:54 PM
jhibbits updated the diff for D39138: IfAPI: Add iterator to complement if_foreach().

Address feedback from @melifaro. Make the API 'safe', and change the cleanup function to 'finish'.

Mar 18 2023, 5:53 PM
jhibbits added inline comments to D39138: IfAPI: Add iterator to complement if_foreach().
Mar 18 2023, 5:50 PM

Mar 17 2023

jhibbits added inline comments to D39138: IfAPI: Add iterator to complement if_foreach().
Mar 17 2023, 5:51 PM

Mar 16 2023

jhibbits requested review of D39138: IfAPI: Add iterator to complement if_foreach().
Mar 16 2023, 8:30 PM
jhibbits added a comment to D38962: Convert nfs to use the IfAPI.

@melifaro I like that approach overall, but I think it's nicer to keep it all local on the stack using an opaque context struct, then a user can do something like:

Mar 16 2023, 1:43 AM

Mar 15 2023

jhibbits committed rGf2df50925ee9: powerpc/pmap: Add pmap_sync_icache() for radix pmap (authored by jhibbits).
powerpc/pmap: Add pmap_sync_icache() for radix pmap
Mar 15 2023, 8:48 PM
jhibbits committed rG72d1ee8d6d76: dtrace/powerpc: Adjust AFRAMES for fbt and profile (authored by jhibbits).
dtrace/powerpc: Adjust AFRAMES for fbt and profile
Mar 15 2023, 8:48 PM
jhibbits committed rGfcd94047f33b: dtrace/powerpc: "Fix" stack traces across trap frames (authored by jhibbits).
dtrace/powerpc: "Fix" stack traces across trap frames
Mar 15 2023, 8:47 PM
jhibbits committed rGed2c3bda43fb: powerpc/pmap: Add pmap_sync_icache() for radix pmap (authored by jhibbits).
powerpc/pmap: Add pmap_sync_icache() for radix pmap
Mar 15 2023, 8:08 PM
jhibbits committed rG1026d170f4f7: dtrace/powerpc: Adjust AFRAMES for fbt and profile (authored by jhibbits).
dtrace/powerpc: Adjust AFRAMES for fbt and profile
Mar 15 2023, 8:03 PM