Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2025 17:13:54 -0800
From:      Ravi Pokala <rpokala@freebsd.org>
To:        <freebsd-net@freebsd.org>, "Dance, Nick" <ndance@vdura.com>
Subject:   PR 1591: if_infiniband: Support BPF write for broadcast frames
Message-ID:  <2E2A77F8-C758-487A-AA80-6F4EB8BA4921@freebsd.org>

next in thread | raw e-mail | index | archive | help

Hi folks,

Vdura (you might know of us as Panasas; we renamed ourselves last year) is starting to use InfiniBand on our FreeBSD-based platforms. One of our first issues was getting DHCP to work with InfiniBand, because we use DHCP for not just assigning addresses, but also for passing other configuration information using the standard mechanism for optional data.

A Linux IP-over-IB client was able to send DHCDISCOVER, and our FreeBSD server was able to set up BPF and receive it. But when the server tried to send an ARP to make sure that the address it wanted to DHCPOFFER was available, nothing went over the wire. It turns out that if_infiniband interfaces don't transmit link-layer broadcasts.

My colleague Nick was able to solve this, and the rest of the bring-up went smoothly. The fix passes muster internally, but we were hoping to get some more eyes on it before committing it to the main repo.

If anyone wants to take a look: https://github.com/freebsd/freebsd-src/pull/1591

If I don't hear any objections by the end of the week, I'll go ahead and submit it.

Thanks,

Ravi (rpokala@ , wearing my Vdura hat)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2E2A77F8-C758-487A-AA80-6F4EB8BA4921>