Date: Thu, 18 Apr 2024 03:04:52 +0100 From: Lexi Winter <lexi@le-fay.org> To: Paul Procacci <pprocacci@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: ixl(4) bhyve(8) SR-IOV with Transparent VLAN associated w/ VF's Message-ID: <ZiB_xHXXN4M6Ud4P@ilythia.eden.le-fay.org> In-Reply-To: <CAFbbPuhcKFO=%2B8-y_aQibmu4U00G6Y%2BJ8_WTOHs_oanhHH8EKA@mail.gmail.com> References: <CAFbbPuhcKFO=%2B8-y_aQibmu4U00G6Y%2BJ8_WTOHs_oanhHH8EKA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--dIAJi8zKqwjG6fmU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Paul Procacci: > I'm assigning VF's to bhyve with pci passthru. [...] > Given this, I figured the best option would be to set the VLAN on the VF on > the host prior to handing it off to the bhyve instance effectively enabling > transparent vlans. [...] > Has anyone done this? Does anyone have any pointers to accomplish this? i looked into this a while ago and concluded that it's not supported, at least on Intel cards. my recollection is that someone was working on this at one point, but never finished it -- unfortunately, i can't remember who that was... you may be able to work around this by running vlan(4) on the VF on the host instead of passing the interface to the guest, but then you lose most of the benefits of using SR-IOV to begin with. i have run into some odd bugs with both SR-IOV and vlan(4) on ixgbe cards and would definitely recommend testing that thoroughly before deploying it. --dIAJi8zKqwjG6fmU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYgf8EACgkQDHqbqZ41 x5kuLwv+KyVUXfVr00o5HwDnvjGP8TOkqyVc69YtOierQyuZK2nr3tTkgfsYbV5B V742q0rzgvZojU9HTck/T+EHhWXMdqNytl+4fYJoU5cG8lkzNApQQvSL23RkSUNd iONKdKSmYHTMSuzHIRwJOMkPypSNU3WUZBUPt52LEC+qktq2HyztCEdadTBzaqh6 GhujleQnLhXUvTZPmuDLOWZKosfhBi2ElDS7eukVmkWI0x5HoF+in5Q7cpZv5UdP d0fN7oplw613vwslsOeTA45zLcCh6UynbaDwmEwfHz57wjzfg0onEEnQ47MyC+d9 3tdurlQ9ujTqeYa3YPzYX/EBcTArTgQJXO30Is7KnAj095TFQ8cjvtz4ap8y42us AlbS2z+0nN9Q6oOY4S5tS3Hlux7o/U0sA9P6mubxo3nrqFQSUUuY2HJMwIm3KogN tbQ9RLf/cPtauzBLERE4jzekUzNquOChpB/F6PjOHAeBwrsUug1SrglKTv1CJWeV Clv6Akx9 =bNny -----END PGP SIGNATURE----- --dIAJi8zKqwjG6fmU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZiB_xHXXN4M6Ud4P>