if rte_pktmbuf_read() return NULL, pcap_dump() would coredump.
Signed-off-by: Tianli Lai
---
app/dumpcap/main.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/app/dumpcap/main.c b/app/dumpcap/main.c
index d57db0589a..c941fb92bf 100644
--- a/app/dumpcap/main.c
set check sum good flags when dpaa2 hardware set check result.
Signed-off-by: Tianli Lai
---
drivers/net/dpaa2/dpaa2_rxtx.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c
index f60e78e1fd
this threshold value can be changed with function argument nb_rx_desc.
Signed-off-by: Tianli Lai
---
drivers/net/dpaa2/dpaa2_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 679f33ae1a
kni application have two main-loop threads that they
CPU utilization are up to 100 percent, this two theads are
writing thread and reading thread. I thank set interrupt mode
at reading thread would reduce this thread CPU utilization.
Signed-off-by: Tianli Lai
---
examples/kni/main.c | 91
kni application have two main-loop threads that they
CPU utilization are up to 100 percent, this two theads are
writing thread and reading thread. I thank set interrupt mode
at reading thread would reduce this thread CPU utilization.
Signed-off-by: Tianli Lai
---
examples/kni/main.c | 134
kni application have two main-loop threads that they
CPU utilization are up to 100 percent, this two theads are
writing thread and reading thread. I thank set interrupt mode
at reading thread would reduce this thread CPU utilization.
Signed-off-by: Tianli Lai
---
examples/kni/main.c | 135
kni application have two main-loop threads that they
CPU utilization are up to 100 percent, this two theads are
writing thread and reading thread. I thank set interrupt mode
at reading thread would reduce this thread CPU utilization.
Signed-off-by: Tianli Lai
---
examples/kni/main.c | 107
vmxnet3 device use MSI-X interrupt type.
vmxnet3 driver configure the hardware to generate MSI-X interrupts
would fail when call rte_intr_cap_multiple function return zero.
Signed-off-by: Tianli Lai
---
lib/eal/linux/eal_interrupts.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib
if dpdmux objects created by restool tools with
the argument "--default-if=", this
function would change it to 1
Fixes: 1def64c2d79e ("net/dpaa2: add dpdmux initialization and configuration")
Cc: nipun.gu...@nxp.com
Signed-off-by: Tianli Lai
---
drivers/net/dpaa2/dpaa2_
if dpdmux objects created by restool tools with
the argument "--default-if=", this
function would change it to 1
Signed-off-by: Tianli Lai
---
drivers/net/dpaa2/dpaa2_mux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dpaa2/dpaa2_mux.c b/drivers
snaplen argument would set the length of each packet
that will save to pcap file.
Signed-off-by: Tianli Lai
---
doc/guides/nics/pcap_ring.rst | 16 +-
drivers/net/pcap/pcap_ethdev.c | 58 +-
2 files changed, 58 insertions(+), 16 deletions(-)
diff --git
snaplen argument would set the length of each packet
that will save to pcap file.
Signed-off-by: Tianli Lai
---
doc/guides/nics/pcap_ring.rst | 16 ++-
drivers/net/pcap/pcap_ethdev.c | 79 --
2 files changed, 52 insertions(+), 43 deletions(-)
diff --git a
filter argument contain size and snaplen argument.
size argument set the pcap file size, if the total packet
length over this value, pdump process will exist.
snaplen argument set each packet length to save pcap file.
Signed-off-by: Tianli Lai
---
app/pdump/main.c | 213
snaplen argument would set the length of each packet
that will save to pcap file.
Signed-off-by: Tianli Lai
---
drivers/net/pcap/pcap_ethdev.c | 63 ++
1 file changed, 48 insertions(+), 15 deletions(-)
diff --git a/drivers/net/pcap/pcap_ethdev.c b/drivers/net
add CR character at print link state information
Signed-off-by: Tianli Lai
---
examples/kni/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/kni/main.c b/examples/kni/main.c
index f5b20a7b62..e99ef5c38a 100644
--- a/examples/kni/main.c
+++ b/examples/kni
the mempool should be free when cleanup resources.
Signed-off-by: Tianli Lai
---
app/pdump/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/pdump/main.c b/app/pdump/main.c
index 04a38e8..3fe17ea 100644
--- a/app/pdump/main.c
+++ b/app/pdump/main.c
@@ -507,6 +507,7 @@ struct
the mempool should be free when cleanup resources.
Signed-off-by: Tianli Lai
---
app/pdump/main.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/pdump/main.c b/app/pdump/main.c
index 04a38e8..9c77fc6 100644
--- a/app/pdump/main.c
+++ b/app/pdump/main.c
@@ -507,6 +507,10 @@ struct
the mempool should be free when cleanup resources.
Signed-off-by: Tianli Lai
---
app/pdump/main.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/pdump/main.c b/app/pdump/main.c
index 46f9d25..8101078 100644
--- a/app/pdump/main.c
+++ b/app/pdump/main.c
@@ -510,6 +510,10 @@ struct
a"
[9]: "stack" "dpaa2"
[10]: "if_stack" "octeontx_fpavf"
[11]: NULLNULL
this array in primary program is different with secondary program.
so when secondary program call rte_pktmbuf_pool_create_b
19 matches
Mail list logo