Signed-off-by: Marvin Liu
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index 8bb88ce..9175989 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -798,6 +798,7 @@ sleep_until_rx_interrupt(int num)
port_id = ((uintptr_t)data) >> C
Only mask lsc interrupt bit when setup device interrupt.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index b1e0c3c..d2d017c 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -1343,11 +1343,14 @@ eth_em_vlan_
e1000 only support one type of interrupt cause, so remove lsc interrupt
handler if rxq enabled.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index fc3cc1e..b1e0c3c 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev
When datapath rxq interupt is enabled, enable related device rxq.
Remove the interrupt handler after device stopped.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 6dc2534..fc3cc1e 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/driver
Implement rxq interrupt related functions in eth_dev_ops structure.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 39f330a..6dc2534 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -108,9 +108,13 @@ stat
Separate lsc and rxq interrupt for they have different interrupt handlers.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 3be8269..39f330a 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -108,11 +108,12
Enable rx queue interrupt support on e1000 physical and emulated device.
Signed-off-by: Marvin Liu
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index be6f827..7655148 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides/rel_notes/release
This patch set will enable interrup for physical and emulated e1000 device.
Rx queue interrupt will work with uio driver or vfio driver with msi mode.
l3fwd-power will disable interrupt immediately when wake-up for that e1000 not
support interrupt auto clear.
LSC and rxq interrupt will be seperated
2015-10-26 19:47, De Lara Guarch, Pablo:
> > 2015-10-13 06:29, Qiu, Michael:
> > > Hi, Thomas
> > >
> > > Any comments on this patch? Is it suitable for DPDK?
> >
> > Please check with the testpmd maintainer.
> > Pablo?
>
> The patch looks harmless for other NICs, and it does similar stuff as oth
2015-10-26 12:53, Michael Qiu:
> Boulder Rapid is a new 100G NIC of Intel fm10k family, this patch
> set enable it in DPDK.
>
> change log:
> V2 --> v1
> update the release notes
>
> Michael Qiu (2):
> fm10k: add Intel Boulder Rapid NIC support
> doc: release note update for Boulder Rap
2015-10-12 14:37, Wang Xiao W:
> v2:
> * Updated release note for the new feature.
>
> * Added "likely" in TSO parameters checking.
>
> v1:
> * Initial version for fm10k TSO feature.
>
> Wang Xiao W (2):
> fm10k: enable TSO support
> doc: update release note for fm10k TSO support
Applied, t
These scripts are to automate some common tasks, scripts needs
to be deployed to specific folder to become active.
Scripts:
post-commit: Triggers after commit complete, re-generates api and
guides html documents. "RTE_DOC_OUT" environment variable configures
document output folder. Same script can
Update release notes about virtio ring layout optimization,
vector rx and simple tx support
Signed-off-by: Huawei Xie
---
doc/guides/rel_notes/release_2_2.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index
Changes in v4:
Check merge-able feature when select simple rx/tx functions.
simple rx/tx func is chose when merge-able rx is disabled and user specifies
single segment and
no offload support.
Signed-off-by: Huawei Xie
---
drivers/net/virtio/virtio_rxtx.c | 15 +++
1 file changed, 1
Changes in v5:
- call __rte_pktmbuf_prefree_seg to check refcnt when free mbufs
Changes in v4:
- move virtio_xmit_cleanup ahead to free descriptors earlier
Changes in v3:
- Remove return at the end of void function
- Remove always_inline attribute for virtio_xmit_cleanup
bulk free of mbufs when
With fixed avail ring, we don't need to get desc idx from avail ring.
virtio driver only has to deal with desc ring.
This patch uses vector instruction to accelerate processing desc ring.
Signed-off-by: Huawei Xie
---
drivers/net/virtio/virtio_ethdev.h | 2 +
drivers/net/virtio/virtio_rxt
fill avail ring with blank mbufs in virtio_dev_vring_start
Signed-off-by: Huawei Xie
---
drivers/net/virtio/Makefile | 2 +-
drivers/net/virtio/virtio_rxtx.c| 6 ++-
drivers/net/virtio/virtio_rxtx.h| 3 ++
drivers/net/virtio/virtio_rxtx_simple.c | 84 ++
Changes in V4:
- fix the error in tx ring layout chart in this commit message.
In DPDK based switching envrioment, mostly vhost runs on a dedicated core
while virtio processing in guest VMs runs on different cores.
Take RX for example, with generic implementation, for each guest buffer,
a) virtio
Changes in v3:
- Remove unnecessary NULL test for rte_free
- Remove unnecessary assign of local var vq after free
Add software RX ring in virtqueue.
Add fake_mbuf in virtqueue for wraparound processing.
Use global simple_rxtx to indicate whether simple rxtx is enabled
Signed-off-by: Huawei Xie
-
Would move all rx/tx related declarations into this header file in future.
Add RTE_VIRTIO_PMD_MAX_BURST.
Signed-off-by: Huawei Xie
---
drivers/net/virtio/virtio_ethdev.c | 1 +
drivers/net/virtio/virtio_rxtx.c | 1 +
drivers/net/virtio/virtio_rxtx.h | 34 ++
Changes in v6:
- Update release notes
- Fix the error in virtio tx ring layout ascii chart in the cover-letter
Changes in v5:
- Call __rte_pktmbuf_prefree_seg to check refcnt when free mbufs
Changes in v4:
- Fix the error in virtio tx ring layout ascii chart in the commit message
- Move virtio_xm
Feature Add: Rx/Tx flow control support for the i40e
All the Rx/Tx LFC enable/disable operation is done by the F/W,
so PMD driver need to use the Set PHY Config AD command to trigger the PHY
to do the auto-negotiation, after the Tx/Rx pause ability is negotiated,
the F/W will help us to set the
Hello,
We have opensourced our dpdk-based project, Packet Journey
https://github.com/Gandi/packet-journey .
Packet Journey is a combinationof Linux RT_NETLINK and severalparts
ofDPDK (rte_kni, rte_lpm, rte_acl, rte_cmdline) and is intended to
serveas an edge router.
Our use case is:
- pktj start
On Wed, Oct 28, 2015 at 12:47:40PM +0900, Tetsuya Mukawa wrote:
> The patch fixes wrong handling of virtqueue array index when
> GET_VRING_BASE message comes.
>
> Signed-off-by: Tetsuya Mukawa
> ---
vhost-user segfaults without this patch with MQ enabled.
LGTM
Acked-by: Flavio Leitner
Information about variables and rules behaviour is added to
doc/build-sdk-quick.txt
Signed-off-by: Mario Carrillo
---
doc/build-sdk-quick.txt | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/doc/build-sdk-quick.txt b/doc/build-sdk-quick.txt
index bf18b48
If "T" variable is defined, the installation process will have the
current behaviour, else install rule will be called.
Signed-off-by: Mario Carrillo
---
mk/rte.sdkinstall.mk | 12 +++-
mk/rte.sdkroot.mk| 4 ++--
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/mk/rte
"install" rule with the current dpdk behaviour change its name.
Signed-off-by: Mario Carrillo
---
mk/rte.sdkinstall.mk | 8
mk/rte.sdkroot.mk| 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk
index 4914bd7..24aa5a5 10
Add hierarchy-file support to the DPDK libraries, modules,
binary files, nic bind file, cpu layout file and documentation,
when invoking "make install-fhs" (filesystem hierarchy standard)
runtime files will be by default installed in:
$(DESTDIR)/$(RTE_PREFIX)/$(BIN_DIR) where BIN_DIR=/usr/bin (bina
Add hierarchy-file support to the DPDK makefiles, scripts,
examples, tools, config files and headers,
when invoking "make install-sdk" makefiles, scripts,
examples, tools, config files will be installed in:
$(DESTDIR)/$(RTE_PREFIX)/$(SDK_DIR)
and headers will be installed in:
$(DESTDIR)/$(RTE_PREFI
Add hierarchy-file support to the DPDK documentation,
when invoking "make install-doc" documentation files will
be installed in: $(DESTDIR)/$(RTE_PREFIX)/$(DOC_DIR) where
DOC_DIR=$(DESTDIR)/$(RTE_PREFIX)/share/doc/dpdk by default, you can
override RTE_PREFIX and DOC_DIR vars.
This hierarchy is base
Add hierarchy-file support to the DPDK modules,
when invoking "make install-mod" modules will be
installed in: $(DESTDIR)/$(KMOD_DIR)
if RTE_EXEC_ENV=linuxapp then
KMOD_DIR=/lib/modules/$(uname -r)/extra/drivers/dpdk
else KMOD_DIR=/boot/modules
by default, you can override KMOD_DIR var.
This hierar
Add hierarchy-file support to the DPDK libraries,
when invoking "make install-lib" libraries will
be installed in: $(DESTDIR)/$(RTE_PREFIX)/$(LIB_DIR)
where LIB_DIR=/usr/lib by default, you can override
RTE_PREFIX and LIB_DIR vars.
This hierarchy is based on:
http://www.freedesktop.org/software/sys
Add hierarchy-file support to the DPDK app files,
nic bind file and cpu layout file
when invoking "make install-bin" app files will
be installed in: $(DESTDIR)/$(RTE_PREFIX)/$(BIN_DIR)
where BIN_DIR=/usr/local/bin by default, you can
override RTE_PREFIX and BIN_DIR vars.
This hierarchy is based on:
Add hierarchy-file support to the DPDK headers,
when invoking "make install-headers" headers will
be installed in: $(DESTDIR)/$(RTE_PREFIX)/$(INCLUDE_DIR)
where INCLUDE_DIR=/include/dpdk and RTE_PREFIX=/usr/local by default,
you can override RTE_PREFIX and INCLUDE_DIR vars.
This hierarchy is based
DPDK package lacks of a mechanism to install libraries, headers
applications, kernel modules and sdk files to a file system tree.
This patch set allows to install files according to the next
proposal:
http://www.freedesktop.org/software/systemd/man/file-hierarchy.html
v5:
When "make install" is i
Thanks David.
2015-10-29 17:29, David Hunt:
> This is an updated patchset for ARMv8 that now sits on top of the previously
> submitted ARMv7 code by RehiveTech. It re-uses a lot of that code, and splits
> some header files into 32-bit and 64-bit versions, so uses the same arm
> include
> directo
2015-10-29 23:56, Yong Liu:
> This patch set will enable interrup for physical and emulated e1000 device.
> Rx queue interrupt will work with uio driver or vfio driver with msi mode.
> l3fwd-power will disable interrupt immediately when wake-up for that e1000 not
> support interrupt auto clear.
> L
HI Bruce:How about this, I send you the test program , then you
can?demonstrate?the?bugs .? ? If you?demonstrate?the?bugs ,then you can get the
lpm bug's fix into?the?release first.Further ,we explicitly discuss the
details about the unit test and make it a patch of dpdk.Thank yo
On Thu, 29 Oct 2015 17:29:53 +
David Hunt wrote:
> +
> +CONFIG_RTE_LIBRTE_LPM=n
> +CONFIG_RTE_LIBRTE_ACL=n
> +CONFIG_RTE_LIBRTE_TABLE=n
> +CONFIG_RTE_LIBRTE_PIPELINE=n
> +
> +# This is used to adjust the generic arm timer to align with the cpu cycle
> count.
> +CONFIG_RTE_TIMER_MULTIPLIER=48
On Thu, 29 Oct 2015 17:29:53 +
David Hunt wrote:
> +* **Introduce ARMv7 and ARMv8 architectures**
>
> - It is now possible to build DPDK for the ARMv7 platform and test with
> - virtual PMD drivers.
> + * It is now possible to build DPDK for the ARMv7 and ARMv8 platforms.
> + * ARMv7 ca
Hello Dave,
On Thu, 29 Oct 2015 17:29:52 +
David Hunt wrote:
> Signed-off-by: David Hunt
> ---
> lib/librte_eal/common/include/arch/arm/rte_cpuflags.h | 9 +
> 1 file changed, 9 insertions(+)
>
> diff --git a/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h
> b/lib/librte_ea
remove pci_dev, pci_drv, rte_bond_pmd and pci_id_table.
handle numa_node for vdevs
handle RTE_ETH_DEV_INTR_LSC for vdevs
rename valid_bonded_device to check_for_bonded_device
remove branches on pci_dev
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_8023ad.c | 4 +--
driv
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/mpipe/mpipe_tilegx.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/mpipe/mpipe_tilegx.c b/drivers/net/mpipe/mpipe_tilegx.c
index cf740be..1ed41ce 100644
--- a/drivers/net/mpipe/mpipe_tilegx.c
+++ b/dr
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/xenvirt/rte_eth_xenvirt.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/net/xenvirt/rte_eth_xenvirt.c
b/drivers/net/xenvirt/rte_eth_xenvirt.c
index 1895b16..1f00d03 100644
--- a/d
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/af_packet/rte_eth_af_packet.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/net/af_packet/rte_eth_af_packet.c
b/drivers/net/af_packet/rte_eth_af_packet.c
index 2f14482..3237e6e 100644
--- a/drivers/
remove rte_pcap_pmd and pci_dev.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/pcap/rte_eth_pcap.c | 18 +-
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c
index 850274c
remove rte_ring_pmd and pci_dev.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/ring/rte_eth_ring.c | 24
1 file changed, 24 deletions(-)
diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c
index 77ac23a..faa5759
remove rte_null_pmd and pci_dev.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/null/rte_eth_null.c | 15 +++
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c
index d34b60e..
use dev_type to distinguish between vdev's and pdev's.
remove pci_dev branches.
update release notes.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
doc/guides/rel_notes/release_2_2.rst | 3 +++
lib/librte_ether/rte_ethdev.c| 40 +++-
2
initialise dev_flags, kdrv, driver, drv_name and numa_node fields in eth_dev
data.
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_api.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/net/bonding/rte_eth_bond_api.c
b/drivers/net/bondin
initialise dev_flags, kdrv, driver, drv_name and numa_node in eth_dev data.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/mpipe/mpipe_tilegx.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/mpipe/mpipe_tilegx.c b/drivers/net/mpipe/mpipe_tile
Initialise dev_flags, driver, kdrv, drv_name and numa_node in eth_dev data.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/xenvirt/rte_eth_xenvirt.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/net/xenvirt/rte_eth_xenvirt.c
b/
initialise dev_flags, driver, kdrv, drv_name and numa_node fields in eth_dev
data.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/af_packet/rte_eth_af_packet.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/net/af_packet/rt
initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev
data
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/pcap/rte_eth_pcap.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/net/pcap/rte_eth_pcap.c b/
initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev
data.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/ring/rte_eth_ring.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ring/rte_eth_ring.c b
initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev
data
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/null/rte_eth_null.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/drivers/net/null/rte_eth_null.c b
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c
b/drivers/net/vmxnet3/vmxnet3_ethdev.c
index a70be5c..2beee3e 100644
--- a/drivers/net/vmxnet3/vmxnet3_
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/virtio/virtio_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 02f698a..1286623 100644
--- a/drivers/net/virtio/virtio_ethdev.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/mlx4/mlx4.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index af31573..d2497cc 100644
--- a/drivers/net/mlx4/mlx4.c
+++ b/drivers/net/mlx4/mlx4.c
@@ -4972,6 +4
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/enic/enic_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c
index e385560..95baa8a 100644
--- a/drivers/net/enic/enic_ethdev.c
+++ b/drivers/net/
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/cxgbe/cxgbe_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c
index a8e057b..3c406df 100644
--- a/drivers/net/cxgbe/cxgbe_ethdev.c
+++ b/d
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/bnx2x/bnx2x_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c
index 09b5920..fbcd5f4 100644
--- a/drivers/net/bnx2x/bnx2x_ethdev.c
+++ b/d
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/fm10k/fm10k_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index a69c990..12be227 100644
--- a/drivers/net/fm10k/fm10k_ethdev.c
+++ b/dr
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/i40e/i40e_ethdev.c| 3 +++
drivers/net/i40e/i40e_ethdev_vf.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 478e94d..de8f4f3 100644
--- a/
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/e1000/em_ethdev.c | 3 +++
drivers/net/e1000/igb_ethdev.c | 5 +
2 files changed, 8 insertions(+)
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 912f5dd..aa1bf48 100644
--- a/drive
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index ec2918c..08b5cbb 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
lib/librte_ether/rte_ethdev.c | 14 ++
lib/librte_ether/rte_ethdev.h | 14 ++
lib/librte_ether/rte_ether_version.map | 7 +++
3 files changed, 35 insertions(+)
diff --git a/lib/librte_
add dev_flags to rte_eth_dev_data, add macros for dev_flags.
add kdrv to rte_eth_dev_data.
add numa_node to rte_eth_dev_data.
add drv_name to rte_eth_dev_data.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
lib/librte_ether/rte_ethdev.h | 15 +++
1 file changed, 15
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
lib/librte_eal/common/include/rte_pci.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/common/include/rte_pci.h
b/lib/librte_eal/common/include/rte_pci.h
index 83e3c28..334c12e 100644
--- a/lib
There is a dummy pci driver in the vdev PMD's at present.
This patch set removes the pci driver from the vdev PMD's.
Changes have been made to librte_ether to handle vdevs and pdevs in the same
way.
The following vdev PMD's have had the pci driver removed:
null
ring
bonding
pcap
af_packet
xenvir
On 10/29/2015 2:34 AM, Pavel Boldin wrote:
> The patchset contains an attempt at the refactoring the `eventfd_link`
> kernel module that is used to steal an FD in DPDK.
>
> The first patch refactors old EVENTFD_COPY handler fixing the codepath
> and errors returned from the kernel space. This patch
2015-10-29 15:19, Liu, Yong:
> So far, we only enabled one platform to run automatic testing.
> This platform installed Fedora 20 with Linux 3.18.9 and Intel Niantic NIC.
Thanks for offering this service.
> Currently the patch testing only run unit test and basic function test on
> this platform
Signed-off-by: David Hunt
---
app/test/test_cpuflags.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c
index 557458f..1689048 100644
--- a/app/test/test_cpuflags.c
+++ b/app/test/test_cpuflags.c
@@ -1,4 +1,4 @@
Signed-off-by: David Hunt
---
MAINTAINERS| 3 +-
config/defconfig_arm64-armv8a-linuxapp-gcc | 56 +
doc/guides/rel_notes/release_2_2.rst | 7 ++--
mk/arch/arm64/rte.vars.mk | 58 ++
mk
Signed-off-by: David Hunt
---
lib/librte_eal/common/include/arch/arm/rte_cpuflags.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h
b/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h
index 7ce9d14..27d49c0 100644
--- a/lib/l
Signed-off-by: David Hunt
---
.../common/include/arch/arm/rte_prefetch.h | 31 +++
.../common/include/arch/arm/rte_prefetch_32.h | 61 ++
.../common/include/arch/arm/rte_prefetch_64.h | 61 ++
3 files changed, 128 insertions(+), 25
Signed-off-by: David Hunt
---
.../common/include/arch/arm/rte_memcpy.h | 302 +--
.../common/include/arch/arm/rte_memcpy_32.h| 334 +
.../common/include/arch/arm/rte_memcpy_64.h| 308 +++
3 files changed, 647 insertions
Hi DPDK Community.
This is an updated patchset for ARMv8 that now sits on top of the previously
submitted ARMv7 code by RehiveTech. It re-uses a lot of that code, and splits
some header files into 32-bit and 64-bit versions, so uses the same arm include
directory.
Tested on an XGene 64-bit arm
Signed-off-by: Marvin Liu
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index be6f827..7655148 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides/rel_notes/release_2_2.rst
@@ -23,6 +23,7 @@ New Features
* **Added vhost-user multiple qu
Signed-off-by: Marvin Liu
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index 8bb88ce..9175989 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -798,6 +798,7 @@ sleep_until_rx_interrupt(int num)
port_id = ((uintptr_t)data) >> C
Only mask lsc interrupt bit when setup device interrupt.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index b1e0c3c..d2d017c 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -1343,11 +1343,14 @@ eth_em_vlan_
e1000 only support one type of interrupt cause, so remove lsc interrupt
handler if rxq enabled.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index fc3cc1e..b1e0c3c 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev
When datapath rxq interupt is enabled, enable related device rxq.
Remove the interrupt handler after device stopped.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 6dc2534..fc3cc1e 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/driver
Implement rxq interrupt related functions in eth_dev_ops structure.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 39f330a..6dc2534 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -108,9 +108,13 @@ stat
Separate lsc and rxq interrupt for they have different interrupt handlers.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 3be8269..39f330a 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -108,11 +108,12
Enable rx interrupt support on e1000 physical and emulated device.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 912f5dd..3be8269 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -81,6 +81,7 @@ static i
This patch set will enable interrup for physical and emulated e1000 device.
Rx queue interrupt will work with uio driver or vfio driver with msi mode.
l3fwd-power will disable interrupt immediately when wake-up for that e1000 not
support interrupt auto clear.
LSC and rxq interrupt will be seperated
From: "Chen Jing D(Mark)"
Update 2.2 release notes, add descriptions for Vector PMD implementation
in fm10k driver.
Signed-off-by: Chen Jing D(Mark)
---
doc/guides/rel_notes/release_2_2.rst |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/guides/rel_notes/releas
From: "Chen Jing D(Mark)"
Vector RX function will process 4 packets at a time. When the RX
ring wrapps to the tail and the left descriptor size is not multiple
of 4, SW will overwrite memory that not belongs to it and cause crash.
The fix will allocate additional 4 HW/SW spaces at the tail to avo
From: "Chen Jing D(Mark)"
Add func fm10k_set_tx_function to decide the best TX func in
fm10k_dev_tx_init.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h|1 +
drivers/net/fm10k/fm10k_ethdev.c | 38 --
2 files changed, 37 insertio
From: "Chen Jing D(Mark)"
Add 2 funcs to reset TX queue and mbuf release when Vector TX
applied.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k_rxtx_vec.c | 68
1 files changed, 68 insertions(+), 0 deletions(-)
diff --git a/drivers/net/fm10
From: "Chen Jing D(Mark)"
Vector TX use different way to manage TX queue, it's necessary
to use different functions to reset TX queue and release mbuf
in TX queue. So, introduce 2 function pointers to do such ops.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h|9 +++
From: "Chen Jing D(Mark)"
Add Vector TX func fm10k_xmit_pkts_vec to transmit packets.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |5 +
drivers/net/fm10k/fm10k_rxtx_vec.c | 150
2 files changed, 155 insertions(+), 0 deletion
From: "Chen Jing D(Mark)"
Since Vector RX use different variables to trace RX HW ring, it
leads to need different func to release mbuf properly.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |1 +
drivers/net/fm10k/fm10k_ethdev.c |6 ++
drivers/net/fm10k
From: "Chen Jing D(Mark)"
Add func fm10k_set_rx_function to decide best RX func in
fm10k_dev_rx_init
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h|1 +
drivers/net/fm10k/fm10k_ethdev.c | 36
2 files changed, 33 insertions(+),
From: "Chen Jing D(Mark)"
Add func fm10k_recv_scattered_pkts_vec to receive chained packets
with SSE instructions.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |2 +
drivers/net/fm10k/fm10k_rxtx_vec.c | 88
2 files changed,
From: "Chen Jing D(Mark)"
Add func fm10k_rx_vec_condition_check to check if Vector RX
func can be applied.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |1 +
drivers/net/fm10k/fm10k_rxtx_vec.c | 31 +++
2 files changed, 32 insertions
From: "Chen Jing D(Mark)"
Add func fm10k_recv_raw_pkts_vec to parse raw packets, in which
includes possible chained packets.
Add func fm10k_recv_pkts_vec to receive single mbuf packet.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |1 +
drivers/net/fm10k/fm10k_rxt
From: "Chen Jing D(Mark)"
Add 2 functions, in which using SSE instructions to parse RX desc
to get pkt_type and ol_flags in mbuf.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k_rxtx_vec.c | 127
1 files changed, 127 insertions(+), 0 deletions
From: "Chen Jing D(Mark)"
Add function fm10k_rxq_rearm to re-allocate mbuf for used desc
in RX HW ring.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h | 11
drivers/net/fm10k/fm10k_ethdev.c |3 +
drivers/net/fm10k/fm10k_rxtx_vec.c | 98 ++
1 - 100 of 230 matches
Mail list logo