in function rte_raw_cksum() try to convert 'const char *'
to 'const uint16_t *'.
This patch is one workaround fix.
Signed-off-by: Michael Qiu
---
lib/librte_net/rte_ip.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/librte_net/rte_ip.h b/lib/librt
: Setting up memory...
This may make user confuse, this patch make it reasonable
and much more soomth to user.
Signed-off-by: Michael Qiu
---
lib/librte_eal/common/include/rte_common.h | 37 ++
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 23 +--
2
in function rte_raw_cksum() try to convert 'const char *'
to 'const uint16_t *'.
This patch is one workaround fix.
Signed-off-by: Michael Qiu
---
v3 --> v2:
use uintptr_t instead of unsigned long to
save pointer.
v2 --> v1:
Workaround soluti
, but RTE_PGSIZE_16M and RTE_PGSIZE_16G are always 64-bit.
Define RTE_PGSIZE_16G only in 64 bit platform to avoid
this issue.
Signed-off-by: Michael Qiu
---
v3 ---> v2
Change RTE_PGSIZE_16G from ULL to UL
to keep all entries consistent
V2 ---> v1
Change tw
: Setting up memory...
This may make user confuse, this patch make it reasonable
and much more soomth to user.
Signed-off-by: Michael Qiu
---
v2 --> v1:
1. Move check_module() from rte_common.h to eal_private.h
and rename to rte_eal_check_module().
To make
: Setting up memory...
This may make user confuse, this patch make it reasonable
and much more soomth to user.
Signed-off-by: Michael Qiu
---
v3 --> v2:
1. Add error log in rte_eal_check_module()
2. Some code clean up.
v2 --> v1:
1. Move check_module() from rte_commo
: Setting up memory...
This may make user confuse, this patch make it reasonable
and much more soomth to user.
Signed-off-by: Michael Qiu
---
v4 --> v3:
1. Remove RTE_LOG for params check
2. Remove "vfio" module check as "vfio_iommu_type1"
loaded
: Setting up memory...
This may make user confuse, this patch make it reasonable
and much more soomth to user.
Signed-off-by: Michael Qiu
---
v5 --> v4
1. Move rte_eal_check_module() body to eal.c
2. Clean up "unsupported IOMMU type" log
v4 --> v3:
1. Re
remove this check.
This patch also includes some coding style fix.
Signed-off-by: Michael Qiu
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c
b/lib/librte_eal/linuxapp/eal
sizes for IBM Power
The root cause is that size_t is 32-bit in i686 platform,
but RTE_PGSIZE_16M and RTE_PGSIZE_16G are always 64-bit.
Force hugepage_sz to always 64-bit to avoid this issue.
Signed-off-by: Michael Qiu
---
v4 ---> v3
Change hugepage_sz from size_t to uint6
n i686 platform "void *" is 32-bit.
It is safe to cast to size_t and make it works in both 32 & 64-bit
platform.
Signed-off-by: Michael Qiu
---
lib/librte_eal/linuxapp/eal/eal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal.
These two issues are both introuduced by commit b77b5639:
mem: add huge page sizes for IBM Power
Michael Qiu (2):
Fix compile issue with hugepage_sz in 32-bit system
Fix compile issue of eal with icc compile
lib/librte_eal/common/eal_common_memory.c | 2 +-
lib/librte_eal/common
: Setting up memory...
This may make user confuse, this patch make it reasonable
and much more soomth to user.
Signed-off-by: Michael Qiu
---
v6 --> v5
1. Change rte_eal_check_module() to normal
function instead of inline
2. limit fscanf to get 29 charactors not incl
when secondary process startup.
Reported-by: Yong Liu
Signed-off-by: Michael Qiu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
index 9401916
when secondary process startup.
Reported-by: Yong Liu
Signed-off-by: Michael Qiu
---
v2 --> v1:
Log clean up
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
b/lib/librte_pmd_ix
l4_len is not fixed, althrough mostly it is a fixed value,
but when guest using iperf to do some tests, the l4_len
will have another 12 bytes optional fields.
Fixes: 2bb43bd4350a("examples/tep_term: add TSO offload configuration")
Signed-off-by: Michael Qiu
---
examples/tep_terminati
For multi-seg mbuf, ip->total_length should be pkt_len subtract
ether len.
Fixes: 4abe471ed6fc("examples/tep_term: implement VXLAN processing")
Signed-off-by: Michael Qiu
---
examples/tep_termination/vxlan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --g
For some ethnet-switch like intel RRC, all the packet forwarded
out by DPDK will be dropped in switch side, so the packet
generator will never receive the packet.
Signed-off-by: Michael Qiu
---
app/test-pmd/csumonly.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test-pmd
For __SSE3__, the corresponding header file should be pmmintrin.h,
tmmintrin.h works for __SSSE3__.
Signed-off-by: Michael Qiu
---
lib/librte_eal/common/include/arch/x86/rte_vect.h | 4
1 file changed, 4 insertions(+)
diff --git a/lib/librte_eal/common/include/arch/x86/rte_vect.h
b/lib
hed: enable SSE optimizations in config")
Signed-off-by: Michael Qiu
---
v2 --> v1:
include header file rte_vect.h instead of gcc version check
change __AVX__ to __SSE2__ since all vector function are SSE2 related.
lib/librte_sched/rte_sched.c | 9 +++--
1 file changed, 7 ins
hed: enable SSE optimizations in config")
Signed-off-by: Michael Qiu
---
v3 --> v2:
reformat commit log
move rte_vect.h inside RTE_SCHED_VECTOR
v2 --> v1:
include header file rte_vect.h instead of gcc version check
change __AVX__ to __SSE2__ since all vector funct
From: root
strict-aliasing
Signed-off-by: Michael Qiu
---
.../ip_pipeline/pipeline/pipeline_routing_be.c | 11 ---
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/examples/ip_pipeline/pipeline/pipeline_routing_be.c
b/examples/ip_pipeline/pipeline
strict-aliasing rules
This because the code break strict-aliasing rule.
The patch solve this issue.
Fixes: 0ae7275810f1 (examples/ip_pipeline: add more functions to routing
pipeline)
Signed-off-by: Michael Qiu
---
examples/ip_pipeline/pipeline/pipeline_routing_be.c | 11 ---
1 file
patibility
example)
In suse11 sp3, POLLRDNORM will not be defined because "__USE_XOPEN"
issue.
This patch add check if it is not defined, define it.
Signed-off-by: Michael Qiu
---
examples/netmap_compat/lib/compat_netmap.c | 8
1 file changed, 8 insertions(+)
diff --git a/ex
For ixgbe, when queue start failure, for example, mbuf allocate
failure, the device will still start success, which could be
an issue.
Add return status check of queue start to avoid this issue.
Signed-off-by: Michael Qiu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 6 +-
lib
For ixgbe, when queue start failure, for example, mbuf allocate
failure, the device will still start success, which could be
an issue.
Add return status check of queue start to avoid this issue.
Signed-off-by: Michael Qiu
---
v2 --> v1
. remove duplicated error message
Atwood Channel is intel 25G NIC, and this patch add the support
in DPDK.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/base/fm10k_osdep.h| 4
lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a/drivers/net/fm10k/base
Atwood Channel is 20GbE NIC and belongs to Intel FM10K family,
update the doc for it.
Signed-off-by: Michael Qiu
---
doc/guides/rel_notes/release_2_3.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_3.rst
b/doc/guides/rel_notes/release_2_3.rst
index
mcpy for AVX512 platforms")
Signed-off-by: Michael Qiu
---
app/test/test_memcpy_perf.c | 2 +-
lib/librte_eal/common/include/arch/x86/rte_memcpy.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test/test_memcpy_perf.c b/app/test/test_memcpy_
upt already been disabled in stop stage.
Since it is enabled in init stage, better remove from
stop stage.
Fixes: 0eb609239efd ("ixgbe: enable Rx queue interrupts for PF and VF")
Signed-off-by: Michael Qiu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 6 --
1 file changed, 6 deletions(-)
upt already been disabled in stop stage.
Since it is enabled in init stage, better remove from
stop stage.
Fixes: 0eb609239efd ("ixgbe: enable Rx queue interrupts for PF and VF")
Signed-off-by: Michael Qiu
---
v2 --> v1:
fix error in commit log word "interrupte"
driver
The log message is wrong when no port started.
Signed-off-by: Michael Qiu
---
app/test-pmd/testpmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 773b8af..ebf9448 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd
max_vfs will only be created by igb_uio driver, for other
drivers like vfio or pci_uio_generic, max_vfs will miss.
But sriov_numvfs is not driver related, just get the vf numbers
from that field.
Signed-off-by: Michael Qiu
---
lib/librte_eal/linuxapp/eal/eal_pci.c | 2 +-
1 file changed, 1
max_vfs will only be created by igb_uio driver, for other
drivers like vfio or pci_uio_generic, max_vfs will miss.
But sriov_numvfs is not driver related, just get the vf numbers
from that field.
Signed-off-by: Michael Qiu
---
v2 --> v1:
backport for kernel version less than 3.8
/i686-native-linuxapp-gcc/include/rte_memcpy.h:592:23: error:
cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
dstofss = 16 - (int)((long long)(void *)dst & 0x0F) + 16;
Type 'long long' is 64-bit in i686 platform while 'void *'
is 32-bit.
Si
As hotplug has been enabled, start the testpmd with no nic binded
will show one error log "Please stop the ports first":
Interactive-mode selected
Please stop the ports first
Done
testpmd>
This issue is cause by the logic of check link status.
Signed-off-by: Michael Qiu
---
/i686-native-linuxapp-gcc/include/rte_memcpy.h:592:23: error:
cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
dstofss = 16 - (int)((long long)(void *)dst & 0x0F) + 16;
Type 'long long' is 64-bit in i686 platform while 'void *'
is 32-bit.
Si
./i686-native-linuxapp-gcc/include/rte_memcpy.h:592:23: error:
cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
dstofss = 16 - (int)((long long)(void *)dst & 0x0F) + 16;
Type 'long long' is 64-bit in i686 platform while 'void *'
is 32-bit.
This patch set is to fix dpdk2.0-rc1 compile error.
Michael Qiu (3):
librte_hash: Fix unsupported instruction `crc32' in i686 platform
app/test: Fix size_t printf formart issue
librte_eal/common: Fix redeclaration of enumerator ?REG_EAX?
app/test/test_h
CC rte_hash.o
Error: unsupported instruction `crc32'
The root cause is that i686 platform does not support 'crc32q'
Need make it only available in x86_64 platform
Signed-off-by: Michael Qiu
---
lib/librte_hash/rte_hash_crc.h | 4
1 file changed, 4 insertions(+)
d
test_hash.c: In function ?test_crc32_hash_alg_equiv?:
error: format ?%lu? expects argument of type ?long unsigned int?,
but argument 2 has type ?size_t? [-Werror=format]
According to C99, for size_t type should use formart "%zu"
Signed-off-by: Michael Qiu
---
app/test/test_hash.c
include/rte_cpuflags.h:154:2: error: redeclaration of enumerator ?REG_EAX?
In file included from /usr/include/signal.h:358:0,
from /usr/include/sys/wait.h:30,
from /root/dpdk/app/test/test_mp_secondary.c:50:
/usr/include/sys/ucontext.h:180:3: note: previous definit
include/rte_cpuflags.h:154:2: error: redeclaration of enumerator ?REG_EAX?
In file included from /usr/include/signal.h:358:0,
from /usr/include/sys/wait.h:30,
from /root/dpdk/app/test/test_mp_secondary.c:50:
/usr/include/sys/ucontext.h:180:3: note: previous definit
definition of ?REG_EAX? was
here
In i686, from REG_EAX to REG_EDX are all defined in
/usr/include/sys/ucontext.h
Rename to CPU_REG_EAX to avoid this issue.
Signed-off-by: Michael Qiu
---
v3 --> v2:
Fix signed-off-by field
v2 --> v1:
rename CPU_REG_EAX to RTE_R
test_hash.c: In function ?test_crc32_hash_alg_equiv?:
error: format ?%lu? expects argument of type ?long unsigned int?,
but argument 2 has type ?size_t? [-Werror=format]
According to C99, for size_t type should use format "%zu"
Signed-off-by: Michael Qiu
---
v2 --> v1:
CC rte_hash.o
Error: unsupported instruction `crc32'
The root cause is that i686 platform does not support 'crc32q'
Need make it only available in x86_64 platform
Signed-off-by: Michael Qiu
---
v2 --> v1:
Make crc32 instruction only works in X86 platform
lib/librte_h
./i686-native-linuxapp-gcc/include/rte_memcpy.h:592:23: error:
cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
dstofss = 16 - (int)((long long)(void *)dst & 0x0F) + 16;
Type 'long long' is 64-bit in i686 platform while 'void *'
is 32-bit.
test_hash.c: In function ?test_crc32_hash_alg_equiv?:
error: format ?%lu? expects argument of type ?long unsigned int?,
but argument 2 has type ?size_t? [-Werror=format]
According to C99, for size_t type should use format "%zu"
Signed-off-by: Michael Qiu
Acked-by: Bruce Richards
It could be a potential not safe issue.
Signed-off-by: Michael Qiu
---
lib/librte_pmd_fm10k/fm10k_ethdev.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/lib/librte_pmd_fm10k/fm10k_ethdev.c
b/lib/librte_pmd_fm10k/fm10k_ethdev.c
index 07ea1e7..30962d3 100644
CC rte_hash.o
Error: unsupported instruction `crc32'
The root cause is that i686 platform does not support 'crc32q'
Need make it only available in x86_64 platform
Signed-off-by: Michael Qiu
Acked-by: Yerden Zhumabekov
---
v3 --> v2:
Add sub function for #else which r
Currently, if try to start/stop/close one invalid prot,
no error shows in testpmd.
This is a bug, need check the port number.
Signed-off-by: Michael Qiu
---
app/test-pmd/config.c | 3 +++
app/test-pmd/testpmd.c | 14 --
2 files changed, 15 insertions(+), 2 deletions(-)
diff
rte_memcpy.h(46): catastrophic error: cannot open source file "x86intrin.h"
For icc and old gcc, this header is not included.
Signed-off-by: Michael Qiu
---
lib/librte_eal/common/include/arch/x86/rte_memcpy.h | 20
1 file changed, 20 insertions(+)
diff -
When compile target i686 in platform x86_64, the stud fuction will
be called, and return zero.
This patch fix this issue.
Signed-off-by: Michael Qiu
---
lib/librte_hash/rte_hash_crc.h | 35 ++-
1 file changed, 6 insertions(+), 29 deletions(-)
diff --git a/lib
When use "port 0 rxq 0 start" in testpmd twice, the rx queue 0 on
port 0 will failed to work.
The root casue is the rxqctl enable bit need to reset if already
enabled.
Signed-off-by: Michael Qiu
---
lib/librte_pmd_fm10k/fm10k_ethdev.c | 56 +
1 fi
Function gpa_to_vva() could return zero, while this will lead
a Segmentation fault.
This patch is to fix this issue.
Signed-off-by: Michael Qiu
---
lib/librte_vhost/vhost_rxtx.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
Boulder Rapid is Intel new NIC within fm10k family.
This patch make DPDK driver support this new NIC.
Signed-off-by: Michael Qiu
Acked-by : Jing Chen
Acked-by : Shaopeng He
---
drivers/net/fm10k/base/fm10k_osdep.h| 4
lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
2
Update the release note for Intel's new NIC Boulder Rapid.
Signed-off-by: Michael Qiu
---
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 ab1c25f..7b34786 100644
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 Rapid Support
doc/guides/rel_notes/release_
Add hotplug support for fm10k
Signed-off-by: Michael Qiu
---
lib/librte_pmd_fm10k/fm10k_ethdev.c | 134 ++--
1 file changed, 129 insertions(+), 5 deletions(-)
diff --git a/lib/librte_pmd_fm10k/fm10k_ethdev.c
b/lib/librte_pmd_fm10k/fm10k_ethdev.c
index 7f5f513
t;struct rte_mbuf *" to "const void *".
Signed-off-by: Michael Qiu
---
examples/distributor/main.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/examples/distributor/main.c b/examples/distributor/main.c
index 972bddb..a4d8e34 100644
--- a/examples/di
In i686 platform, long is 32bit, so XXX_CYCLECOUNTER_MASK
need define as 'ULL'
Signed-off-by: Michael Qiu
---
drivers/net/e1000/igb_ethdev.c | 2 +-
drivers/net/i40e/i40e_ethdev.c | 2 +-
drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
di
app/test/test_cryptodev_perf.c(1837): error #192: unrecognized
character escape sequence
printf("\n%u\t%u\t\%u\t\t%u\t\t%u", dev_num, 0,
"\%u" is the root cause of this issue, just fix it.
Signed-off-by: Michael Qiu
---
app/test/test_cryptodev_perf.c | 2 +-
1 file change
gcc 4.3.4 does not include "immintrin.h", and will post below error:
lib/librte_sched/rte_sched.c:56:23: error:
immintrin.h: No such file or directory
To avoid this issue, a gcc version check is need and a flag to indicate
vector ablility.
Signed-off-by: Michael Qiu
uf *" to "void *".
Fixes: 07db4a975094 ("examples/distributor: new sample app")
Signed-off-by: Michael Qiu
---
v2 --> v1:
convert "const void *" to "void *" to avoid CLANG issue.
add "Fixes" line in commit log
examples/distributor
ieee1588 functions for device time")
Signed-off-by: Michael Qiu
---
v2 --> v1:
add "Fixes" line in commit log
drivers/net/e1000/igb_ethdev.c | 2 +-
drivers/net/i40e/i40e_ethdev.c | 2 +-
drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-
3 files changed, 3 insertio
Commit 35b3313e322b ("pci: merge mapping functions for linux and bsd")
introduced a bug that all vfio will be
blocked.
Root cause is that VFIO_PRESENT is unaccessable in eal
common level.
This patch is to fix this.
Signed-off-by: Michael Qiu
---
lib/librte_eal/common/eal_co
When close a port, lots of memory should be released,
such as software rings, queues, etc.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 31 +++
1 file changed, 27 insertions(+), 4 deletions(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b
v2 --> v1:
remove __rte_unused flag
Michael Qiu (2):
fm10k: Free queues when close port
fm10k: Add hotplug support for fm10k
drivers/net/fm10k/fm10k_ethdev.c | 134 +--
1 file changed, 129 insertions(+), 5 deletions(-)
--
1.9.3
Add hotplug support for fm10k.
Signed-off-by: Michael Qiu
Acked-by: Jing Chen
---
drivers/net/fm10k/fm10k_ethdev.c | 97 +++-
1 file changed, 96 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
In testpmd, when using "rx_vlan add 1 77", it will be a segment fault
Because the port ID should be less than 32.
Signed-off-by: Michael Qiu
---
app/test-pmd/config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
ind
pci address is one important info for port.
This patch make it visible for port info.
Signed-off-by: Michael Qiu
---
app/test-pmd/config.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 1d29146..c7db5bc 100644
--- a/app
In DPDK, max_vfs means vf numbers created, not the max number vfs
the device supported.
Signed-off-by: Michael Qiu
Acked-by Jing Chen
---
lib/librte_pmd_fm10k/fm10k_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_pmd_fm10k/fm10k_ethdev.c
b/lib
In SUSE11 SP3 i686 platform with gcc version 4.5.1, there is
some compile issues. This patch set is try to fix them.
Michael Qiu (2):
lib/librte_lpm: Fix anonymous union initialization issue
drivers/crypto: Fix anonymous union initialization in crypto
drivers/crypto/null
'{}',
otherwise it will report an error.
Fixes: 26c2e4ad5ad4 ("cryptodev: add capabilities discovery")
Signed-off-by: Michael Qiu
---
drivers/crypto/null/null_crypto_pmd_ops.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/crypto/null/null
t;lpm: fix big endian support")
Signed-off-by: Michael Qiu
---
lib/librte_lpm/rte_lpm.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c
index af5811c..efd507e 100644
--- a/lib/librte_lpm/rte_lpm.c
+++ b/lib/
t;lpm: fix big endian support")
Signed-off-by: Michael Qiu
---
v2 --> v1:
Fixes whilespace issue around "="
lib/librte_lpm/rte_lpm.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c
Boulder Rapid is Intel new NIC within fm10k family.
This patch make DPDK driver support this new NIC.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/base/fm10k_osdep.h| 4
lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a
Atwood Channel is intel 25G NIC, and this patch add the support
in DPDK.
Signed-off-by: Michael Qiu
Acked-by: John McNamara
---
drivers/net/fm10k/base/fm10k_osdep.h| 4
lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a
Atwood Channel is 25GbE NIC and belongs to Intel FM10K family,
update the doc for it.
Signed-off-by: Michael Qiu
Acked-by: John McNamara
---
Change log:
1. modify 20GbE to 25GbE
doc/guides/rel_notes/release_2_3.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/guides/rel_notes
Hotplug feature is supported in EAL, this patch set is to enable
this feature in driver side.
Michael Qiu (2):
fm10k: Free queues when close port
fm10k: Add hotplug support for fm10k
drivers/net/fm10k/fm10k_ethdev.c | 134 +--
1 file changed, 129
When close a port, lots of memory should be released,
such as software rings, queues, etc.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 37 +
1 file changed, 33 insertions(+), 4 deletions(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c
Add hotplug support for fm10k.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 97 +++-
1 file changed, 96 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index e310698..0d3eaf1
When initialize the hardware, the stat should be reset.
Otherwise when detach then attach port, the stat will not
be re-init to zero.
Signed-off-by: Michael Qiu
---
Change log:
v2 --> v1:
change the folder of driver
drivers/net/ixgbe/ixgbe_ethdev.c | 6 ++
1 file changed
When close a port, lots of memory should be released,
such as software rings, queues, etc.
Signed-off-by: Michael Qiu
---
change log:
v2 --> v1: remove __rte_unused flag
drivers/net/fm10k/fm10k_ethdev.c | 37 +
1 file changed, 33 insertions(+), 4 deleti
Add hotplug support for fm10k.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 97 +++-
1 file changed, 96 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index e310698..0d3eaf1
Hotplug feature is supported in EAL, this patch set is to enable
this feature in driver side.
change log:
v3-->v2:
reset queue numbers to zero.
v2 --> v1:
remove __rte_unused flag
Michael Qiu (2):
fm10k: Free queues when close port
fm10k: Add hotplug s
When close a port, lots of memory should be released,
such as software rings, queues, etc.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 39 +++
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/drivers/net/fm10k
Add hotplug support for fm10k.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 97 +++-
1 file changed, 96 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index 6a14633..38d1eb7
0
Closing ports...
Port 0 is now not stopped
Done
testpmd>
Signed-off-by: Michael Qiu
---
app/test-pmd/testpmd.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 3057791..907cda3 100644
--- a/app/test-pmd/testpmd.c
+++ b/
Hotplug feature is supported in EAL, this patch set is to enable
this feature in driver side.
change log:
v4 --> v3:
rebase code.
v3 --> v2:
reset queue numbers to zero.
v2 --> v1:
remove __rte_unused flag
Michael Qiu (2):
fm10k: Free qu
When close a port, lots of memory should be released,
such as software rings, queues, etc.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 37 +
1 file changed, 33 insertions(+), 4 deletions(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c
Add hotplug support for fm10k.
Signed-off-by: Michael Qiu
Acked-by: Jing Chen
---
drivers/net/fm10k/fm10k_ethdev.c | 97 +++-
1 file changed, 96 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
92 matches
Mail list logo