Page MenuHomeFreeBSD

networkUmbrella
ActivePublic

Recent Activity

Yesterday

yura.tkachenko_gmail.com added a member for network: yura.tkachenko_gmail.com.
Thu, Oct 8, 3:07 AM

Wed, Sep 30

pi removed a reviewer for D58557: netipsec: Refactor TCP-MD5 shim to use ip6_hdr_pseudo{} for brevity.: bms.

Sorry, did not meant to add bms@ as reviewer.

Wed, Sep 30, 11:35 AM · network
pi commandeered D58557: netipsec: Refactor TCP-MD5 shim to use ip6_hdr_pseudo{} for brevity..

While the comment was LLM-aided, the issue itself is indeed of relevance for both frr-based routing infra as well as for automation aspects of networking.

Wed, Sep 30, 11:33 AM · network

Mon, Sep 28

paulo_nlink.com.br added a comment to D59160: netinet6: add per-interface MLD report suppression (ifconfig no_mld).
Sorry for the noise: that comment was meant for D60083, and I removed it here.
Mon, Sep 28, 2:42 PM · network
paulo_nlink.com.br added a comment to D59160: netinet6: add per-interface MLD report suppression (ifconfig no_mld).
Mon, Sep 28, 2:25 PM · network

Sun, Sep 27

yarshure_gmail.com updated the diff for D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

Reworked along the lines @bz asked for, and split into a stack so each piece can
be read on its own. This revision is now only the consumer -- the SIOCGI2C
handler -- and the tunables are gone.

Sun, Sep 27, 1:38 PM · network, drivers, arm64

Tue, Sep 22

acesp25 removed a member for network: acesp25.
Tue, Sep 22, 2:24 PM
acesp25 added a watcher for network: acesp25.
Tue, Sep 22, 2:24 PM
acesp25 added a member for network: acesp25.
Tue, Sep 22, 2:22 PM

Fri, Sep 18

glebius added a comment to D58557: netipsec: Refactor TCP-MD5 shim to use ip6_hdr_pseudo{} for brevity..

Why did you abandon? Sorry for not reviewing in timely manner. From a quick look change doesn't look bad.

Fri, Sep 18, 9:03 PM · network
bms abandoned D58556: netinet6: Add a definition of struct ip6_hdr_pseudo{} for OCF compatibility..
Fri, Sep 18, 7:47 AM · network

Thu, Sep 17

bms abandoned D58557: netipsec: Refactor TCP-MD5 shim to use ip6_hdr_pseudo{} for brevity..
Thu, Sep 17, 9:33 PM · network
bms added a comment to D58557: netipsec: Refactor TCP-MD5 shim to use ip6_hdr_pseudo{} for brevity..

Sorry, I do not support FRR, and I do not use LLM driven tools in my development work, nor do I accept submissions which use them.

Thu, Sep 17, 9:14 PM · network
janowski.m_gmail.com added a comment to D58557: netipsec: Refactor TCP-MD5 shim to use ip6_hdr_pseudo{} for brevity..

Hi Bruce,

Thu, Sep 17, 5:45 PM · network

Sat, Sep 12

yarshure_gmail.com added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

@dsl @adrian — I took D58258#1368055 literally and built MACLINK, then ran it on
an LX2160A (SolidRun CEX7, UEFI/ACPI; dpni0 = dpmac.17 RGMII, dpni1 = dpmac.8 and
dpni2 = dpmac.9, both 10G SFP+ with modules in).

Sat, Sep 12, 9:17 PM · network, drivers, arm64
adrian added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.
In D58258#1367937, @dsl wrote:
In D58258#1367549, @dsl wrote:

@adrian well, I'm not sure that the contributor actually understands the code. It seems AI/ML generated to me and isn't aligned with the idea of mine about maclink. I'm against the changes.

What do you mean by "maclink" ? They said they used AI assistance in developing it, but it seems mostly simple enough:

  • sfp is an i2c device on a bus;
  • the i2c bus doesn't HAVE to be hooked up to the MAC in any way; it in theory could be hanging off of some other i2c controller in the system;
  • there's information about where said bus is linked to in FDT;
  • some simple shenanigans are required to be able to talk to it and fetch configuration parameters.

What doesn't quite jive with your assumptions of stuff?

MACLINK is supposed to be an abstraction which hides possibly complex topology of the devices and their interconnections which constitute a multi-gigabit link between the MAC (which is a part of a SoC usually) and a PHY/SFP+ on a PCB. This is the best explanation I've to date: https://github.com/mcusim/freebsd-src/blob/dpaa2/sys/dev/maclink/maclink.c#L31. All of the existing MACLINK bits live in https://github.com/mcusim/freebsd-src/tree/dpaa2/sys/dev/maclink, but haven't been tested yet.

Personally, I'd like a proper abstraction to be introduced first with a clear understanding how a maclink_bus can be attached by the network interface drivers and introduce new (specific?) maclink adapters which will be incapsulating all of the complex logic to discover PHYs, SFF/SFPs, PCSs, etc. and let the maclink bus (and the attaching network interface) know about high-level events, e.g. state changes, link's up/down, etc.

Sat, Sep 12, 4:54 PM · network, drivers, arm64
dsl added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.
In D58258#1367549, @dsl wrote:

@adrian well, I'm not sure that the contributor actually understands the code. It seems AI/ML generated to me and isn't aligned with the idea of mine about maclink. I'm against the changes.

What do you mean by "maclink" ? They said they used AI assistance in developing it, but it seems mostly simple enough:

  • sfp is an i2c device on a bus;
  • the i2c bus doesn't HAVE to be hooked up to the MAC in any way; it in theory could be hanging off of some other i2c controller in the system;
  • there's information about where said bus is linked to in FDT;
  • some simple shenanigans are required to be able to talk to it and fetch configuration parameters.

What doesn't quite jive with your assumptions of stuff?

Sat, Sep 12, 1:59 PM · network, drivers, arm64
bz added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

.. My reading is that you have in mind a MAC-link layer
for dpaa2 along the lines of Linux's phylink: one place that owns link state for a
DPMAC and drives it from whatever is attached - a PHY via MDIO, a fixed-link, or an
SFP cage - so that module presence/LOS, TX_DISABLE and rate selection are handled
there rather than in each consumer. If that is roughly it, please correct the
details and I will work to it.

Sat, Sep 12, 1:56 AM · network, drivers, arm64
bz added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

I believe the ACPI path was never tested on main - or we haven't flipped the defaults yet -- but for sure it'll fail to link modules due to unresolved symbols (in the future).

Sat, Sep 12, 1:27 AM · network, drivers, arm64
yarshure_gmail.com added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

@dsl - on maclink: I want to make sure I am answering the right objection, because
I cannot find maclink in the tree (only enum dpaa2_mac_link_type in dpaa2_mac.h),
so I am guessing at its shape. My reading is that you have in mind a MAC-link layer
for dpaa2 along the lines of Linux's phylink: one place that owns link state for a
DPMAC and drives it from whatever is attached - a PHY via MDIO, a fixed-link, or an
SFP cage - so that module presence/LOS, TX_DISABLE and rate selection are handled
there rather than in each consumer. If that is roughly it, please correct the
details and I will work to it.

Sat, Sep 12, 12:18 AM · network, drivers, arm64
yarshure_gmail.com updated the diff for D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

v3 addresses @adrian's two points:

Sat, Sep 12, 12:18 AM · network, drivers, arm64

Fri, Sep 11

adrian added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.
In D58258#1367549, @dsl wrote:

@adrian well, I'm not sure that the contributor actually understands the code. It seems AI/ML generated to me and isn't aligned with the idea of mine about maclink. I'm against the changes.

Fri, Sep 11, 9:38 PM · network, drivers, arm64
dsl added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

@adrian well, I'm not sure that the contributor actually understands the code. It seems AI/ML generated to me and isn't aligned with the idea of mine about maclink. I'm against the changes.

Fri, Sep 11, 8:16 PM · network, drivers, arm64
adrian added inline comments to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.
Fri, Sep 11, 6:40 PM · network, drivers, arm64
adrian added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

this looks fine; please just remove teh BSD copyright text itself as the SPDX + your copyright name/email is enough. Then we should be fine for landing it!

Fri, Sep 11, 6:39 PM · network, drivers, arm64
yarshure_gmail.com updated the diff for D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.
Fri, Sep 11, 4:59 AM · network, drivers, arm64
adrian edited projects for D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C, added: drivers, network; removed ARM.
Fri, Sep 11, 4:22 AM · network, drivers, arm64

Aug 31 2026

nick_spun.io closed D58587: bxe(4): don't feed a zero page size to ilog2 during ILT init.
Aug 31 2026, 11:19 PM · network
nick_spun.io added a comment to D58587: bxe(4): don't feed a zero page size to ilog2 during ILT init.

merged in 742c5498aca9a9a31a68eb9d5888edf36b7034dd

Aug 31 2026, 11:19 PM · network
adrian accepted D58587: bxe(4): don't feed a zero page size to ilog2 during ILT init.
Aug 31 2026, 6:41 PM · network

Aug 25 2026

paulo_nlink.com.br planned changes to D59160: netinet6: add per-interface MLD report suppression (ifconfig no_mld).

@pouria — you're right that this is solvable in the firewall, and I should have checked before offering the boot-window argument. One detail worth recording: on a stock system rcorder puts netif well before rc.d/ipfw, and net.inet.ip.fw.default_to_accept reads 1 on my hosts — so with ipfw loaded from rc.conf the window is real. It closes with ipfw_load="YES" and net.inet.ip.fw.default_to_accept=0 in loader.conf, which makes the default deny active before any interface is configured. That's the correct answer to my objection, and it belongs in documentation.

Aug 25 2026, 4:47 PM · network
pouria added a comment to D59160: netinet6: add per-interface MLD report suppression (ifconfig no_mld).

@pouria MLD's role is informing snooping switches and multicast routers where to forward group traffic so they can prune instead of flooding (RFC 4541). So "ND relies on MLD" holds on fabrics whose switches prune by snooping

Aug 25 2026, 2:33 PM · network
paulo_nlink.com.br added a comment to D59160: netinet6: add per-interface MLD report suppression (ifconfig no_mld).

@pouria — thanks for the reasoning chain, but I believe step 4 conflates two mechanisms. What limits NS processing to the right nodes on a flat L2 is the solicited-node-to-33:33:xx MAC mapping: NICs filter in hardware, no MLD involved. MLD's role is informing snooping switches and multicast routers where to forward group traffic so they can prune instead of flooding (RFC 4541). So "ND relies on MLD" holds on fabrics whose switches prune by snooping — and IXP peering LANs are the opposite case: they flood link-local multicast, which is why their operators can and do forbid MLD (IX.br PRT, Euro-IX). Your step 2 is actually the argument: exchanges permit ARP because IPv4 can't work without it, and they permit NS/NA while forbidding MLD because, on their fabric, ND works without it. That analysis was done by the people who run the switches.

Aug 25 2026, 1:20 PM · network
bms added a comment to D59160: netinet6: add per-interface MLD report suppression (ifconfig no_mld).

I'm the original author of this code. I have run into exactly the same issue you have called out, but at COMEX/CME in Chicago with IGMPv3 being seen upstream of a demarc boundary where only PIM traffic was expected. This was on Linux, and we ended up filtering outgoing IGMP traffic with iptables; ~2010.

Aug 25 2026, 9:09 AM · network
pouria requested changes to D59160: netinet6: add per-interface MLD report suppression (ifconfig no_mld).

Thank you for your contribution.
I understand your concern.
I've encountered similar policies at multiple IXPs as well. (ofc not for MLD)

Aug 25 2026, 8:11 AM · network

Aug 24 2026

paulo_nlink.com.br requested review of D59160: netinet6: add per-interface MLD report suppression (ifconfig no_mld).
Aug 24 2026, 7:38 PM · network

Aug 17 2026

adrian added a comment to D58587: bxe(4): don't feed a zero page size to ilog2 during ILT init.

oh and I just hit this myself on a power8 box that /has/ bxe in it!

Aug 17 2026, 5:08 PM · network

Aug 15 2026

nick_spun.io abandoned D58376: iflib: clean up correctly when device attach fails.

Superseded by D58721, which covers both fixes here on a rewritten common unwind path and adds the SR-IOV schema and core-offset refcount cases. Abandoning in favor of that.

Aug 15 2026, 1:09 AM · iflib, network

Aug 8 2026

kbowling added a comment to D58376: iflib: clean up correctly when device attach fails.

I was independently dealing with similar issues while testing SR-IOV. Can you have a look at https://reviews.freebsd.org/D58721 and the linked fail(9) commit.

Aug 8 2026, 6:31 AM · iflib, network

Aug 5 2026

Kevin Bowling <kbowling@FreeBSD.org> closed D58629: igc: defer sysctl-driven reinit to the admin task.
Aug 5 2026, 4:44 AM · iflib, Intel Networking, network
Kevin Bowling <kbowling@FreeBSD.org> closed D58628: e1000: defer sysctl-driven reinit to the admin task.
Aug 5 2026, 4:44 AM · iflib, Intel Networking, network

Aug 4 2026

kbowling added a comment to D58629: igc: defer sysctl-driven reinit to the admin task.

igc already does not panic per your own statement, so I'm not sure what you are arguing. My request is to unify lifecycle management as one commit. But now looking and iflib.c I think the igc_if_init should simply be dropped from resume and media_change so please do that instead.

Aug 4 2026, 9:40 PM · iflib, Intel Networking, network
seuros added a comment to D58629: igc: defer sysctl-driven reinit to the admin task.

@kbowling resume and media_change are not the same. They already inside a CTX_LOCK already, no panic.

Aug 4 2026, 9:31 PM · iflib, Intel Networking, network
kbowling added a comment to D58629: igc: defer sysctl-driven reinit to the admin task.

It's one unit of work unifying a lifecycle issue

Aug 4 2026, 9:13 PM · iflib, Intel Networking, network
seuros added a comment to D58629: igc: defer sysctl-driven reinit to the admin task.

Can you do the same for media_change and if_resume?

Aug 4 2026, 9:10 PM · iflib, Intel Networking, network
kbowling requested changes to D58629: igc: defer sysctl-driven reinit to the admin task.

Can you do the same for media_change and if_resume?

Aug 4 2026, 9:06 PM · iflib, Intel Networking, network
kbowling requested changes to D58628: e1000: defer sysctl-driven reinit to the admin task.

Can you do the same for media_change and if_resume?

Aug 4 2026, 9:05 PM · iflib, Intel Networking, network

Aug 3 2026

adrian added a reviewer for D58628: e1000: defer sysctl-driven reinit to the admin task: kbowling.
Aug 3 2026, 11:36 PM · iflib, Intel Networking, network
adrian added a reviewer for D58629: igc: defer sysctl-driven reinit to the admin task: kbowling.
Aug 3 2026, 11:35 PM · iflib, Intel Networking, network
adrian added projects to D58629: igc: defer sysctl-driven reinit to the admin task: network, Intel Networking, iflib.
Aug 3 2026, 11:35 PM · iflib, Intel Networking, network