Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2024 14:55:27 -0400
From:      Paul Procacci <pprocacci@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   ixl(4) bhyve(8) SR-IOV with Transparent VLAN associated w/ VF's
Message-ID:  <CAFbbPuhcKFO=%2B8-y_aQibmu4U00G6Y%2BJ8_WTOHs_oanhHH8EKA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000005f8f9906164f662d
Content-Type: text/plain; charset="UTF-8"

Hey all,

Strange one here.  Not much on the internet that I could find.

I'm assigning VF's to bhyve with pci passthru.
Doing this allows the bhyve instance maintainer to set their own vlan and
I'd like that not to be the case for various reasons.  One being I don't
need/want their traffic to potentially hit/sniff other traffic on any other
vlan than the one assigned to them.

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.

Unless I misreading ixl(4) which is a real possibility, it supports 'VLAN
tag insertion/extraction'.

Has anyone done this?  Does anyone have any pointers to accomplish this?

Thanks,
Paul

-- 
__________________

:(){ :|:& };:

--0000000000005f8f9906164f662d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hey all,<br><br></div><div>Strange one here.=C2=A0 No=
t much on the internet that I could find.<br><br></div><div>I&#39;m assigni=
ng VF&#39;s to bhyve with pci passthru.<br></div><div>Doing this allows the=
 bhyve instance maintainer to set their own vlan and I&#39;d like that not =
to be the case for various reasons.=C2=A0 One being I don&#39;t need/want t=
heir traffic to potentially hit/sniff other traffic on any other vlan than =
the one assigned to them.<br></div><div><br></div><div>Given this, I figure=
d the best option would be to set the VLAN on the VF on the host prior to h=
anding it off to the bhyve instance effectively enabling transparent vlans.=
<br><br></div><div>Unless I misreading ixl(4) which is a real possibility, =
it supports &#39;VLAN tag insertion/extraction&#39;.<br><br></div><div>Has =
anyone done this?=C2=A0 Does anyone have any pointers to accomplish this?<b=
r><br></div><div>Thanks,</div><div>Paul<br></div><div><div><br><span class=
=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s=
ignature" data-smartmail=3D"gmail_signature">__________________<br><br>:(){=
 :|:&amp; };:</div></div></div></div>

--0000000000005f8f9906164f662d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFbbPuhcKFO=%2B8-y_aQibmu4U00G6Y%2BJ8_WTOHs_oanhHH8EKA>