How to find network card driver name and version on Linux

Question: An Ethernet network interface card is attached to my Linux box, and I would like to know which network adapter driver is installed for the NIC hardware. Is there a way to find out the name and version of a network card driver for my network card? For network interface card (NIC) hardware to […]
Continue reading…

 

How to configure PCI-passthrough on virt-manager

Question: I would like to dedicate a physical network interface card to one of my guest VMs created by KVM. For that, I am trying to enable PCI passthrough of the NIC for the VM. How can I add a PCI device to a guest VM with PCI passthrough on virt-manager? Modern hypervisors enable efficient […]
Continue reading…

 

How to reset RX/TX counters of a network interface

Question: I am testing a network interface card (NIC), and currently ifconfig command reports huge numbers on RX/TX and error/dropped counters on some interface. Is there a way to reset ifconfig packet counters on a network interface without rebooting the server? On Linux, each network interface comes with several packet counters such as RX (number […]
Continue reading…

 

How to enable SR-IOV virtual function on Intel ixgbe NIC

Question: I want to create virtual functions on an Intel ixgbe NIC port. How can I enable SR-IOV virtual function on an ixgbe NIC interface? SR-IOV is a technology which allows a single PCIe (PCI Express) device to emulate multiple separate PCIe devices. The emulated PCIe functions are called “virtual functions” (VFs), while the original […]
Continue reading…