<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6668&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / How handle network interface naming for SOME interfaces (VF/SR-IOV)]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6668</link>
		<description><![CDATA[The most recent posts in How handle network interface naming for SOME interfaces (VF/SR-IOV).]]></description>
		<lastBuildDate>Thu, 13 Jun 2024 19:03:58 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[How handle network interface naming for SOME interfaces (VF/SR-IOV)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50510#p50510</link>
			<description><![CDATA[<p>Hi!<br />As long as I was on debian (bullseye so far), virtual functions<br />(VF) from SR-IOV interfaces have had a relation to its physical<br />part (PF), like here from an Intel X710:</p><div class="codebox"><pre><code>enp66s0f0	PF
enp66s10f80v0   VF
enp66s10f81v1	VF
....</code></pre></div><p>This seems no longer the case, at least for my daedalus setup<br />and even the &quot;80/81&quot; (in the names above) are really ugly.<br />If I have 5 physical inferfaces, they are named from eth0 to eth4.<br />If I issue &quot;echo 8 cat /sys/class/net/&lt;IFACE&gt;/device/sriov_numvfs&quot;<br />this generates a sequence of new interfaces (VFS), just as numbered<br />as eth&lt;N&gt; and after my existing ifaces, so starting with eth5 ....<br />Then I repeat this for the second NIC and the chaos<br />is complete and they should be applied to QEMU and LCC without<br />pooling, I must be able to map a VF to a PF (for example, to end up<br />on a 10GbE port/VF).</p><p>I made a script for this (the same, the sets the sriov_numvfs<br />value). So, if eth5 is my 10GbE port0 (in 0-1), then&#160; I create<br />the names for the new IFs like:<br />eth5-00 - eth5-07 and the same for the second NIC.</p><p>I have not tried it in &quot;rc.local&quot; just now, but this is,<br />what I di on my debian (rename not done).<br />But is there a better place, I am not just en par with<br />sysv-int? And other hint about the interface naming<br />are reallay welcome!</p><p>Thanks,<br />Manfred</p>]]></description>
			<author><![CDATA[dummy@example.com (webman)]]></author>
			<pubDate>Thu, 13 Jun 2024 19:03:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50510#p50510</guid>
		</item>
	</channel>
</rss>
