Re: VPP on FreeBSD Stable 14.3

From: Tom Jones <thj_at_freebsd.org>
Date: Thu, 02 Oct 2025 12:50:06 UTC

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?


> 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?

>
> 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?

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

Tom