Which dpdk version is suitable for --- Intel Corporation "82541PI" (NIC) Gigabit Ethernet Controller (rev 05) and i am running dpdk on ubuntu 18.04 - sdn

I am trying to run dpdk(19 or latest version) on ubuntu host which is having two NIC(Intel).
But i can see only one port, i mean to say dpdk detecting only one NIC.
The NIC (Intel Corporation "82541PI" Gigabit Ethernet Controller (rev 05)) which is not detected by dpdk.
So, please can any one help me that exactly which dpdk version support to this physical NIC(82541PI).
If any one can help me, it would be a great favour.

Likely NIC 82541PI is not supported in mentioned DPDK version, supported Intel based NIC hardware can be found here

Related

whether or not CX5 need dpdk-devbind.py to bind nic businfo

dpdk 18.11 , when use mlx5 nic, use dpdk-devbind.py -b igb_uio 0000:xx:00.0 ,it show mlx5_pci_probe(): no Verbs device matches PCI device 0000:xx:00.0, are kernel drivers loaded?
whether or not use dpdk-devbind.py -b igb_uio 0000:xx:00.0
MLX5 PMD does not require dpdk-devbind.py -b igb_uio it works independent to igb_uio,uio_pci_generic on both Linux and Windows.
Please re-test without binding
lspci -ks 0000:41:00.1
41:00.1 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx]
Subsystem: Mellanox Technologies MT2892 Family [ConnectX-6 Dx]
Kernel driver in use: mlx5_core
From DPDK documentation refer & also refer for DPDK 16.04
This capability allows the PMD to coexist with kernel network interfaces which remain functional, although they stop receiving unicast packets as long as they share the same MAC address. This means legacy linux control tools (for example: ethtool, ifconfig and more) can operate on the same network interfaces that owned by the DPDK application.

how to hotplug USB device on Qemu 4.2.0?

I have Qemu 4.2.0 with Debian Testing Bullseye and Kernel 5.4.0 and I need to hotplug and unplug an USB device.
Currently I attach my USB device with
qemu... -usb -device usb-host,hostbus=x,hostaddr=y
but when I physically remove the device I can't longer detect it from within the VM (Win7).
So, what should I do to send a plug/unplug usb signal to the virtual machine??
You can do plug/unplug via qemu monitor. see https://en.wikibooks.org/wiki/QEMU/Monitor.
To hot plug a usb device, type bellow in qemu monitor:
(qemu) device_add usb-host,hostbus=2,hostport=1.2.2,id=idofyourdevice
To remove a usb device, type bellow in qemu monitor:
(qemu) device_del idofyourdevice

No Host Display After GPU Passthrough

I am attempting to set up a GPU passthrough to use in a VM on my system. I am using Ubuntu 17.04 and have followed the instructions in the following link successfully after manually blacklisting the nouveau drivers.
https://medium.com/#calerogers/gpu-virtualization-with-kvm-qemu-63ca98a6a172
When I turn the host system on, I see the Ubuntu boot splash, but then the screen goes black and nothing is displayed. I can ssh into the system and see that the Nvidia GPU is correctly assigned to vfio-pci (as expected). I have not tested that the passthrough works on a VM yet, since I would like to get my host graphics working with the integrated Intel graphics first.
I have tried xrandr, but it says that it can't open the display. I'm expecting that there is something specific I have to do to enable the integrated graphics for the host. Any suggestions?
System:
ASRocks Z77 EXTREME4
Intel i7-4790K
Nvidia GTX 650 Ti
Thank you for your help!
I have figured out the problem and decided not to delete the post, for anyone who this might find this helpful.
By changing the primary graphics in my BIOS from auto (which automatically chooses the Nvidia card) to integrated, everything now works exactly as expected.

How to passthrough an usb hub to a vm (based on kvm)?

linux kernel 4.9.7
libvirt 2.4.0
qemu 2.7.0
HOST:
i7 6700
ASUS B250M-PLUS
2xGTX1060 3GB
500Wpower
1x PCIEtoUSB3.0 card (Reneses chip)
I have two VMs using different GPU
I'm using usb controller passthrough now
VM1 has motherboard controller
VM2 has the PCIE CARD
BUT!!!!!!it is instability!!!!!
mouse and keyboard will be no use sometimes
so i am thinking about passthrough usb hub to be stable
is there any way to do it
this question is interesting. But you should provide more infos about the problem, how you started the machine, what precisel is working and what not.
Btw, use some more time to format your question...
Maybe you background is, that it is dificult and mayby impossible to passthrough an hub to a vom using the normal QEMU VID/PID combination. You can probably show the VM the hub, but all devcices connected to it are still owned by the host.^^
The only way I see is to pass through your nice PCIe USB3.0 controller to your desired VM. You need to enable the IOMMU feature in Grub for KVM to do so. But then it will work.

Configuring SSH over USB on ARM AM335x running angstrom linux 3.2.0

I have a AM335X ARM processor on a custom board. I am running angstrom linux 3.2.0 on it.
My build environment is a 64 bit laptop running Ubuntu 12.0.4.
I was hoping (I am a newbie), someone could explain what I need to do to configure the board (and host desktop) to run SSH over USB.
Any help would be greatly appreciated
It depends whether you have OTG port or not. If yes, you should configure it to emulate a network device. Connect your board to your laptop and you should see a new networking device (usb0 or something like this). Configure IP addresses for both host usb0 and one on your board and you're done having an extra IP subnet, where you can ping, SSH etc.