From nobody Wed Oct 9 04:33:06 2024 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 4XQMRv3d2Zz5YJff for ; Fri, 11 Oct 2024 22:56:11 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from webmail5.jnielsen.net (webmail5.jnielsen.net [69.87.218.172]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.freebsdsolutions.net", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XQMRt25Srz4bSB; Fri, 11 Oct 2024 22:56:10 +0000 (UTC) (envelope-from lists@jnielsen.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of lists@jnielsen.net designates 69.87.218.172 as permitted sender) smtp.mailfrom=lists@jnielsen.net; dmarc=none Received: from smtpclient.apple ([IPv6:2607:fa18:e2fe:2d6a:b039:d30d:5847:9e0d]) (authenticated bits=0) by webmail5.jnielsen.net (8.17.2/8.17.1) with ESMTPSA id 4994XJsC094370 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 8 Oct 2024 22:33:21 -0600 (MDT) (envelope-from lists@jnielsen.net) X-Authentication-Warning: webmail5.jnielsen.net: Host [IPv6:2607:fa18:e2fe:2d6a:b039:d30d:5847:9e0d] claimed to be smtpclient.apple From: John Nielsen Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Traffic between cxgbe VFs and/or PF on a host Message-Id: <6BC00399-9D4C-4893-9FE4-4F99BD295909@jnielsen.net> Date: Tue, 8 Oct 2024 22:33:06 -0600 Cc: np@freebsd.org To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.3776.700.51.11.1) X-Spamd-Result: default: False [-1.80 / 15.00]; DATE_IN_PAST(1.00)[66]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_ALL(0.00)[]; ASN(0.00)[asn:6364, ipnet:69.87.218.0/24, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[jnielsen.net]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4XQMRt25Srz4bSB X-Spamd-Bar: - Hi- I=E2=80=99m running a FreeBSD 14-STABLE host with a Chelstio T520. I = have a bhyve VM (also running 14-STABLE) to which I have assigned a VF = of the NIC. That is all working as expected; the host can pass traffic = using the PF cxl0 and the guest can pass traffic using the VF cxlv0. = However the host cannot communicate with the guest. I am looking in to = the possibility of enabling 802.1qbg / VEPA / reflective relay on the = switch port but I=E2=80=99d like to know if the T5 can do that switching = itself without sending the packets over the wire. The marketing material = says the card "integrates a high performance packet switch=E2=80=9D but = I don=E2=80=99t know how to configure that functionality on FreeBSD or = if this use case is supported. Can anyone shed some light on that? The other alternative would be to wire up the second port but if I can = get away with not needing to use another SFP+ port on the switch for = this that would be ideal. Thanks! JN