I was trying to understand ixgbevf and ixbge driver. My question How can I differentiate PF device vs VF device by reading PCI configuration space.
How to differentiate PF vs VF in Intel 82599?
1.4k Views Asked by Nirmoy At
1
There are 1 best solutions below
Related Questions in VIRTUALIZATION
- How to Create a Data Table Visualization in Kibana with Nested Aggregation Fields?
- Calcite and Avatica to expose a data warehouse as a virtual database
- Passing Intel-PT to guest using QEMU/KVM doesn't work
- AWS EC2 export-image Task Fails with Error "Unsupported architecture 183 for 6.2.0-1017-aws"
- Docker - Bridge docker container to eth interface on host network container
- what happens when an external interrupt is received by the host in a virtual setting
- how does irqfd trigger interrupt in the guest
- How to monitor vcpu registers with kvm_sync_regs in kvm_run?
- How to run xorg in docker with custom edid?
- GenyMotion virtual devices do not have internet
- problem in libvirt service with g_hash_table_unref?
- x86_64 android emulator on mac arm
- why this error occurs in opensuse as a host, that has 2 hypervisor on it?
- podman start stuck on "Waiting for VM..."
- How to Creating a Data Disk Image from an External Image File in Huawei Cloud Stack?
Related Questions in INTEL
- What is the parameter for CLI YOLOv8 predict to use Intel GPU?
- Optimizing Memory-Bound Loop with Indirect Prefetching
- How can I set an uncommon screen resolution on GNU/Linux with an Arc 380 GPU and X11?
- How does CPU tell between MMIO(Memory Mapped IO) and normal memory access in x86 architecture
- Using CUDA with an intel gpu
- Having issue with CPU boosting on AMD
- Do all OpenCL drivers come with the IntelOneAPI compiler
- CL_DEVICE_NOT_AVAILABLE using Intel(R)Xeon(R)Gold 6240 CPU
- Can I launch a SGX enclave without Internet?
- Intel OneApi Vtune profiler not supporting my microarchitecture
- ModuleNotFoundError: No module named 'intel_extension_for_pytorch'
- What is the microcode scoreboard?
- Why does the assembly after my sys_clone call affect the cloned process?
- Why does mov fail to set dynamic section sizes when used on a function using GCC
- weird error happened when ran fpga program
Related Questions in PCI
- How does CPU tell between MMIO(Memory Mapped IO) and normal memory access in x86 architecture
- Getting Page Fault while accessing another PCIe NTB switch(SW2 NTB1) from one PCIe NTB switch(SW1 NTB0)
- finding PCI domain number for extended BDF
- How LPI get deviceid from PCIe device and differentiate(same BDF)?
- How to find type of PCI slots on windows server
- How to create a PCI node in devicetree for server platforms?
- How to get PCI slot information for network adapters / NIC cards using python API like wmi on windows
- Enabled MSI in qemu, but interrupt handler not invoking
- Since PCIe write TLP is Post, what will happen when CPU access memory mapped bar address very frequently?
- QDMA DPDK driver results "Packet Length Mismatch" Error during data transfer
- Linux PCI driver of_node NULL when loaded
- Why is the MSI message data always 0? And how does IRQ affinity work?
- Do PCI and PCIe allow change BAR value to remap device registers to new address?
- Read PCI config address for PCI device iteration
- DPDK TestPMD application results 0 rx packets
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can differentiate PF or VF by reading 2byte from offset 0x0 of the Configuration Space of the Function. There is Vendor ID at offset 0x0.
PF returns 0x8086 for Vendor ID, and VF returns 0xFFFF for Vendor ID.
You can see Intel 82599 Datasheet here. Register maps of PF are from Section 9.3, and Register maps of VF are from Section 9.5.