Re: VPP on FreeBSD Stable 14.3
- In reply to: Tom Jones: "Re: VPP on FreeBSD Stable 14.3"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Oct 2025 13:52:43 UTC
Hi folks Answers below, On Thu, 2 Oct 2025 at 13:51, Tom Jones <thj@freebsd.org> wrote: > > > > On Sat, Sep 27, 2025, at 15:40, Tom Smyth wrote: > > Folks, > > I was wondering folks who run vpp on FreeBSD, > > 1) when I run vpp ssh on the management nic becomes un responsive... > > Just to confirm, there isn't an "vpp ssh" command I'm not aware of and you are ssh'ing in? no its just that the box drops ssh sessions when I start vpp (even though vpp is not on the interface (vnet (virtio) (ssh / OS management via Virtio-nics and vpp is bound to the Intel Iavf virtual function nics... > > > > 2) is there a recommended freeBSD /etc/vpp/startup.conf file that > > works well for FreeBSD ? > > > > i have a virtio NIC for management > > > > virtio was my initial development environment, but with bhyve (and one very short test with vmware). > > > Im trying out FreeBSD with VPP inside a PRoxmox Hosted VM with Intel > > IOMMU (not virtio-iommu) 8GB RAM 2 sockets 1 core, assigned to the > > VM, > > > > Is that linux kvm? Is there a reproduction environment you could point me at that is a little less work than learning what proxmox is? sorry yes it is Linux KVM with Qemu and with intel iommu for SR-IOV > > > > > my /boot/loader.conf > > cat /boot/loader.conf > > boot_multicons=YES > > boot_serial=YES > > comconsole_speed=115200 > > console="comconsole,vidconsole" > > contigmem_load="YES" > > nic_uio_load="YES" > > hw.contigmem.num_buffers=4 > > hw.contigmem.buffer_size=1073741824 > > hw.nic_uio.bdfs="1:0:0,2:0:0" > > > > This seems fine from what I remember. > > Could you sketch a picture of how the interfaces are logically connected together/to the vm host? so a VM with 2 PCI Virtual Function Nics (for vppp) and a virtio-nic for management, when I run vpp with no config ssh connections to the management interface drop ... like a resource exhaustion thing... and it looks like the cpu of the machine (2 cores ) is at 100% ... > > I was looking in my git repos to find the documentation I was sure I wrote. Eventually I remembered this article: > https://freebsdfoundation.org/our-work/journal/browser-based-edition/kernel-development/porting-vpp-to-freebsd-basic-usage/ > > If you want to go into more detail, or have a more interactive conversation feel free to contact me off list happy days i will follow up off list (just want to reply on list for this email to help others that might run into the same issue or mistakes that I made > > Tom > -- Kindest regards, Tom Smyth.