: Yong Liu
Acked-by: Cristian Dumitrescu
Tested-by: Waterman Cao
---
examples/qos_sched/app_thread.c | 16 +---
1 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/examples/qos_sched/app_thread.c b/examples/qos_sched/app_thread.c
index 7501147..59c4014 100755
--- a/examples
Signed-off-by: Yong Liu
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index 755dc65..0defd02 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -62,3 +62,7 @@ Deprecation Notices
PMDs that implement the
Signed-off-by: Yong Liu
diff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c
index 50fe422..e1a1c3c 100644
--- a/examples/ip_reassembly/main.c
+++ b/examples/ip_reassembly/main.c
@@ -356,7 +356,7 @@ struct rte_lpm6_config lpm6_config = {
dst_port = portid;
v2:
* fix code style issue
Signed-off-by: Yong Liu
diff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c
index 50fe422..974fabc 100644
--- a/examples/ip_reassembly/main.c
+++ b/examples/ip_reassembly/main.c
@@ -356,7 +356,7 @@ struct rte_lpm6_config lpm6_config = {
From: Marvin Liu
Host cpu mapping structure can only support 64 cpus. When run vm_power sample
on platform with more than 64 cpus, will generate improper physical core mask.
After limited supported host cpus to 64 will fix this issue.
Signed-off-by: Marvin Liu
diff --git a/examples/vm_power_ma
virNodeGetCPUMap introduced in from libvirt 1.0. In some linux distributions
like Ubuntu12/14 and Fedora18, libvirt version is elder than 1.0. So this
sample will not build pass.
Replace "virNodeGetCPUMap" with another libvirt API "virNodeGetInfo".
Signed-off-by: Marvin Liu
diff --git a/example
Userspace ethtool and l3fwd-power not support FreeBSD. So skip them when build
samples.
Signed-off-by: Marvin Liu
diff --git a/examples/ethtool/Makefile b/examples/ethtool/Makefile
index 94f8ee3..995cd25 100644
--- a/examples/ethtool/Makefile
+++ b/examples/ethtool/Makefile
@@ -39,10 +39,11 @@ R
From: Marvin Liu
Two socket Haswell cpus on cottonwoodPass have 72 cores totally. And this
number oversize the default value of maximum core number 64.
Total number of channels should also increased for match core number.
Signed-off-by: Marvin Liu
diff --git a/examples/vm_power_manager/power_
testpmd parameter "nb-port" mean the number of forwarding port.
It's incorrect to use function port_id_is_invalid to check number of ports.
Signed-off-by: Marvin Liu
diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c
index 11d9af0..f1daa6e 100644
--- a/app/test-pmd/parameters.c
+
Function rte_eal_pci_init will cast pci resource list and used for insert
probed device later. But all tailq initialized in function
rte_eal_tailqs_init, so rte_eal_pci_init must be called after it.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_eal/linuxapp/eal/eal.c
b/lib/librte_eal/linuxa
When port id is RTE_PORT_ALL, port_id_is_invalid will also return zero.
So this function will only set ports[255] need_reconfig flag, other ports will
be skipped.
Signed-off-by: Marvin liu
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 5b16a69..077d7a4 100644
--- a/app/test-p
Suse11 SP3 default gcc version is 4.3.4, some options not support on this
version.
error: implicit declaration of function ?_mm_alignr_epi8?
solution: include tmmintrin.h when enable SSE3
error: unrecognized command line option "-Wno-unused-but-set-variable"
solution: add version check in fm10k
From: Marvin Liu
SUSE11 SP3 default gcc version is 4.3.4. Some options not supported in this
version. This patch set add gcc version check for those options and fix other
build warning in Suse11 SP3.
Marvin Liu (6):
fix sse3 functions not found with gcc 4.3.4
fix fm10k driver build error whe
testpmd parameter "nb-port" mean the number of forwarding port.
It's incorrect to use function port_id_is_invalid to check number of ports.
Signed-off-by: Marvin Liu
diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c
index 11d9af0..f1daa6e 100644
--- a/app/test-pmd/parameters.c
+
From: Marvin Liu
Build dpdk2.0 in Suse11 SP3, there'll be errors for not found sse3 functions.
rte_memcpy.h: In function ?rte_memcpy?:
rte_memcpy.h:625: error: implicit declaration of function ?_mm_alignr_epi8?
rte_memcpy.h:625: error: nested extern declaration of ?_mm_alignr_epi8?
rte_memcpy.h:6
From: sjiajiax
add some codes to test the vf actions
diff --git a/tools/DTF/framework/dut.py b/tools/DTF/framework/dut.py
index 02c7639..2b85f23 100644
--- a/tools/DTF/framework/dut.py
+++ b/tools/DTF/framework/dut.py
@@ -10,7 +10,7 @@ from ssh_connection import SSHConnection
from crb import Cr
From: Marvin Liu
Build fm10k driver in Suse11 SP3 will be failed for unrecognized flag.
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
This flag is supported from gcc 4.4, so add gcc version check in fm10k.
In the same time, make option check more clear in ixgbe driv
From: Marvin Liu
gcc4.3 will raise warnings in blow code for initialized field overwritten.
enic_main.c: In function ?enic_set_rsskey?:
enic_main.c:845: error: initialized field overwritten
enic_main.c:845: error: (near initialization for ?rss_key.key?)
enic_main.c:846: error: initialized field
From: Marvin Liu
Build app/test will be failed for function only defined but not used.
test_prefetch.c:65: error: ?testfn_prefetch_cmd? defined but not used
Add attribute used in test function declaration can fix this.
static void __attribute__((used)) testfn_##t(void);
Signed-off-by: Marvin Li
From: Marvin Liu
Option var-tracking-assignments supported in gcc from 4.4.
Add gcc version check wil fix this issue.
error: unrecognized command line option "-fno-var-tracking-assignments"
Signed-off-by: Marvin Liu
diff --git a/app/test/Makefile b/app/test/Makefile
index 9f0262c..4aca77c 100
From: Marvin Liu
Function pread need marco _XOPEN_SOURCE be defined.
Add _GNU_SOURCE will fix this issue.
error: implicit declaration of function ?pread?
Signed-off-by: Marvin Liu
diff --git a/lib/librte_eal/linuxapp/eal/Makefile
b/lib/librte_eal/linuxapp/eal/Makefile
index 23c2d48..21875b8
v2 changes:
describe interrupt mode work with uio and vfio+msi
flush after enable and disable interrupt register
replace attribuite __unused__ with __rte_unused
This patch set will enable interrup for physical and emulated e1000 device.
Rx queue interrupt will work with uio
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
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
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
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 device interrupt can't be auto-clear. So disble interrupt when
thread wake-up.
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
v3 changes:
add in release note
v2 changes:
describe interrupt mode work with uio and vfio+msi
replace attribuite __unused__ with __rte_unused
This patch set will enable interrup for physical and emulated e1000 device.
Rx queue interrupt will work with uio driver or vfio d
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
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
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
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_
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
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
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
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
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
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
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
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
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_
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
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
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
Update interrupt related limitations for e1000em nic.
It only support one interrupt source and not support auto-clear.
Signed-off-by: Marvin Liu
diff --git a/doc/guides/nics/e1000em.rst b/doc/guides/nics/e1000em.rst
index fedafad..a84e8e1 100644
--- a/doc/guides/nics/e1000em.rst
+++ b/doc/guides
After all test functions called, return value should be reset to sucessful.
Signed-off-by: Marvin Liu
diff --git a/app/test/test_kni.c b/app/test/test_kni.c
index 9dad988..329acb2 100644
--- a/app/test/test_kni.c
+++ b/app/test/test_kni.c
@@ -626,6 +626,7 @@ test_kni(void)
goto f
From: Marvin Liu
In previous setting, mempool size and cache_size are both 32.
This is not satisfied with cache_size checking rule by now.
Cache size should less than CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE and mempool size
/ 1.5.
Signed-off-by: Marvin Liu
diff --git a/app/test/test_sched.c b/app/t
From: Marvin Liu
'--no-huge' option now can workable with -m option.
Unit test for eal flag should change pass criterion.
Signed-off-by: Marvin Liu
diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
index 0352f87..e6f7035 100644
--- a/app/test/test_eal_flags.c
+++ b/app/test/te
From: Marvin Liu
'--no-huge' option now can workable with -m option.
Unit test for eal flag should change pass criterion.
Signed-off-by: Marvin Liu
diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
index 0352f87..e6f7035 100644
--- a/app/test/test_eal_flags.c
+++ b/app/test/te
From: Marvin Liu
Enable rx interrupt support on e1000 PF non-IOV mode.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 912f5dd..99beb9c 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -81,6 +81,7 @@ st
From: Marvin Liu
This patch set will enable interrup for e1000 PF device.
l3fwd-power will disable interrupt when wake-up for e1000 not support
interrupt auto clear.
LSC and rxq interrupt will be seperated for e1000 can only support one
interrupt cause in the same time.
The patch set is develop
From: Marvin Liu
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 99beb9c..e86c039 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
From: Marvin Liu
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 e86c039..2b67b62 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -10
From: Marvin Liu
When datapath rxq interupt is enabled, enable device rxq.
After device stopped, remove the interrupt handler.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 2b67b62..5d94b55 100644
--- a/drivers/net/e1000/em_ethdev.c
From: Marvin Liu
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 5d94b55..920d814 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/
From: Marvin Liu
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 920d814..4e2ebf1 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -1343,11 +1343
From: Marvin Liu
e1000 device interrupt can't be auto-clear. So disble interrupt when
thread wake-up.
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
60 matches
Mail list logo