From nobody Mon Feb 24 00:31:56 2025 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Z1MB84bcJz5pJ6w for ; Mon, 24 Feb 2025 00:32:00 +0000 (UTC) (envelope-from rpokala@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z1MB814GJz3hkP; Mon, 24 Feb 2025 00:32:00 +0000 (UTC) (envelope-from rpokala@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740357120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=O35OgBu+g9l/FsLP1tOyI05dfgDb5hHJ8iXv7VaMpl4=; b=j2AyDH8Eepdn+xMIi5PggmXq26WlVNGQto9aysoRaZ8G76gv2ddkwKY5oGRhlIjzQWKOOG /ZAsZAPzrlfq0vawg+xxuCxSFZUoS2iQTCshaGdB4QqGvB4wAHxLql2PMnsBtj2bDXwSgl tECj+clI1u+gU4J16F4LIQzW8VH8k7qR0kkSLp0GlWc8Xx2zvhDwZj6pwOpidJRSyZ4ZTr gKVIEJ/bHHBOHjNAthMWlJyD42yzRbxDvyxDdy5lKWn5dbob4ifQC1ZVpvUbiox7aejPUD CtRhzJF8mZgkScs3+k1h6hAKKmmFKpK0dugz/Q+qpg9iis2+IqReGAN1el8Gfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740357120; a=rsa-sha256; cv=none; b=kUK2rjyhRttjLbRRL9IGUrFDqOo0JDzK78322UfPFXxMFzwXmlBu5RKHr/rTezEPtGVhHj 8DJ5EM0g32cGxi48v/d19YDzK4HXsEuJnyYMsDSxfuNJ3kKsXSwARIrhE0gmySPznYwW2g PzUAIzCiO3ZXnqR5NLsnsNs7Mq5HQZBirVBNIe790ip/bftfkXTbkOE7bL6NbMqFQWbdLo +FPF6h52EUrfooeMkAE9FC+/E2LIjGie3smDT9XIx+2Cnuu414wYfaJhzJEAhi7kvS3aep 08MF3teH6xy65evbw3F3HJPh7EQv0CAHefq7uZFRc5WVWcD6uZ/dp5Hfl3G/mg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740357120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=O35OgBu+g9l/FsLP1tOyI05dfgDb5hHJ8iXv7VaMpl4=; b=JaafvMG2eoiaYjyTCJA1lJAysAc2ii3+0r6rNJAgE35VtGhF9HVMjP/u83vmP5O/Egi5S2 rYZJYaIwZiXKYFHwCg6fDnAxQsMc1dgk2FMt0Yws3EE73JBfH+tkQVB8jBTpxo3SvMXAjh 4pJdyF0z8bw0Zr0/IUIm6eR1/EZvoIm0805qm63auqcs2TxfbnTNXJx7rGlSCDkfFMr17v khuJMnN3+ULxTEAF0ZG8zlbDwBpeePcfdN4nKwdTOFCtLMEr/bSBJ1juXehklvRFSO0x// +nFrpr14iwHsXD/OyVjsqnRsgX/KheQUuMh3fiOqsKrV0UQLEZDioAvCzmrZMQ== Received: from [192.168.1.52] (c-73-231-46-254.hsd1.ca.comcast.net [73.231.46.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: rpokala) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Z1MB75H9szG97; Mon, 24 Feb 2025 00:31:59 +0000 (UTC) (envelope-from rpokala@freebsd.org) User-Agent: Microsoft-MacOutlook/16.94.25021618 Date: Sun, 23 Feb 2025 16:31:56 -0800 Subject: Re: PR 1591: if_infiniband: Support BPF write for broadcast frames From: Ravi Pokala To: , "Dance, Nick" Message-ID: <9C39C77D-39EF-4C74-AC4D-FB21AAFCF480@panasas.com> Thread-Topic: PR 1591: if_infiniband: Support BPF write for broadcast frames References: <2E2A77F8-C758-487A-AA80-6F4EB8BA4921@freebsd.org> In-Reply-To: <2E2A77F8-C758-487A-AA80-6F4EB8BA4921@freebsd.org> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: quoted-printable Having heard no objections, I went ahead and committed this fix: https://cgit.freebsd.org/src/commit/?id=3D8d079c6a9a5dfdc75adaf9bc31f2ee8111b= 849a1 Thanks, Ravi (rpokala@ , wearing my Vdura hat) =EF=BB=BF-----Original Message----- From: Ravi Pokala > Date: Monday, February 10, 2025 at 17:13 To: >, "Dance, Nic= k" > Subject: PR 1591: if_infiniband: Support BPF write for broadcast frames > Hi folks, >=20 > Vdura (you might know of us as Panasas; we renamed ourselves last year) i= s starting to use InfiniBand on our FreeBSD-based platforms. One of our firs= t issues was getting DHCP to work with InfiniBand, because we use DHCP for n= ot just assigning addresses, but also for passing other configuration inform= ation using the standard mechanism for optional data. >=20 > A Linux IP-over-IB client was able to send DHCDISCOVER, and our FreeBSD s= erver was able to set up BPF and receive it. But when the server tried to se= nd 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. >=20 > My colleague Nick was able to solve this, and the rest of the bring-up we= nt smoothly. The fix passes muster internally, but we were hoping to get som= e more eyes on it before committing it to the main repo. >=20 > If anyone wants to take a look: https://github.com/freebsd/freebsd-src/pu= ll/1591 >=20 > If I don't hear any objections by the end of the week, I'll go ahead and = submit it. >=20 > Thanks, >=20 > Ravi (rpokala@ , wearing my Vdura hat)