Add uio_pci_generic to the list of supported DPDK driver.
Signed-off-by: Danny Zhou
Tested-by: Qun Wan
---
tools/dpdk_nic_bind.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/dpdk_nic_bind.py b/tools/dpdk_nic_bind.py
index 812b6a1..2483056 100755
--- a/tools
enable/disable interrupt by manipulating enable/disable bit of command register
on NIC's PCIe configuration space.
Signed-off-by: Danny Zhou
Tested-by: Qun Wan
---
lib/librte_eal/linuxapp/eal/eal_interrupts.c | 68 +---
1 file changed, 52 insertions(+), 16 dele
1) Unify procedure to retrieve BAR resource mapping information.
2) Setup bus master bit in NIC's PCIe configuration space for uio_pci_generic.
Signed-off-by: Danny Zhou
Tested-by: Qun Wan
---
lib/librte_eal/common/include/rte_pci.h| 1 +
lib/librte_eal/linuxapp/eal/eal_
v_numvfs //enable VFs
#echo 0 > /sys/class/net/$dev/device/sriov_numvfs //disable VFs
Danny Zhou (3):
eal: add interrupt enable/disable routines for uio_pci_generic
eal: enable uio_pci_generic support
tools: enable binding NIC device to uio_pci_generic
lib/librte_eal/com
Signed-off-by: Danny Zhou
---
examples/l3fwd-power/main.c | 170 +---
1 file changed, 129 insertions(+), 41 deletions(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index f6b55b9..e6e4f55 100644
--- a/examples/l3fwd-power/main.c
Signed-off-by: Danny Zhou
Signed-off-by: Yong Liu
---
lib/librte_eal/common/include/rte_eal.h| 9 +
lib/librte_eal/linuxapp/eal/eal_interrupts.c | 186 -
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 11 +-
.../linuxapp/eal/include/exec-env
Signed-off-by: Danny Zhou
---
lib/librte_pmd_e1000/e1000/e1000_hw.h | 3 +
lib/librte_pmd_e1000/e1000_ethdev.h | 6 +
lib/librte_pmd_e1000/igb_ethdev.c | 265 ++
3 files changed, 249 insertions(+), 25 deletions(-)
diff --git a/lib/librte_pmd_e1000/e1000
Signed-off-by: Danny Zhou
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 371
lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 9 +
2 files changed, 380 insertions(+)
diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
index b341dd0
Signed-off-by: Danny Zhou
---
lib/librte_ether/rte_ethdev.c | 45 ++
lib/librte_ether/rte_ethdev.h | 57 +++
2 files changed, 102 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
e to turn in on if you want to support both LSC
and rx queue interrupts on a PF.
Danny Zhou (5):
ethdev: add rx interrupt enable/disable functions
ixgbe: enable rx queue interrupts for both PF and VF
igb: enable rx queue interrupts for PF
eal: add per rx queue interrupt handling based on
This patch enables rx queue interrupt for ixgbevf with below changes:
1) Configure ixgbevf rx queue interrupts
2) Initialize ixgbevf devices in L3fwd-power appropriately
3) Fix VFIO interrupt vector settings
Signed-off-by: Yong Liu
Signed-off-by: Danny Zhou
---
examples/l3fwd-power/main.c
Signed-off-by: Danny Zhou
---
examples/l3fwd-power/main.c | 127 ++--
1 file changed, 98 insertions(+), 29 deletions(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index f6b55b9..71f1d90 100644
--- a/examples/l3fwd-power/main.c
Signed-off-by: Danny Zhou
---
lib/librte_eal/common/include/rte_eal.h| 9 ++
lib/librte_eal/linuxapp/eal/eal_interrupts.c | 120 -
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 11 +-
.../linuxapp/eal/include/exec-env/rte_interrupts.h | 3 +
4
Signed-off-by: Danny Zhou
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 203
1 file changed, 203 insertions(+)
diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
index 3fc3738..1d694c5 100644
--- a/lib/librte_pmd_ixgbe
Signed-off-by: Danny Zhou
---
lib/librte_ether/rte_ethdev.c | 45 ++
lib/librte_ether/rte_ethdev.h | 57 +++
2 files changed, 102 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
eliminates non-deterministic pthread wakeup
latency in user space.
4) Demonstrate interrupts control APIs and userspace NAIP-like
polling/interrupt switch algorithms in L3fwd-power example.
Danny Zhou (5):
ethdev: add rx interrupt enable/disable functions
ixgbe: enable rx queue interrupts
eal
Linux kernel provides UIO as well as VFIO mechanism to support writing user
space device driver. Comparing to UIO which is available since 2.6.32 kernel,
the VFIO is introduced into kernel since version 3.6.0 with better interrupt
and memory protection (build on top of Intel VT-d technology) suppor
17 matches
Mail list logo