Add the support of the Traffic Management API,
rte_tm_level_capabilities_get.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_tm.c | 78
1 file changed, 78 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_tm.c b/drivers/net/ixgbe/ixgbe_tm.c
i
Add the support of the Traffic Management API,
rte_tm_hierarchy_commit.
When calling this API, the driver tries to enable
the TM configuration on HW.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 8 ++---
drivers/net/ixgbe/ixgbe_ethdev.h | 2 ++
drivers/net/ixgbe/ixgbe_tm.c
Add the support of the Traffic Management API,
rte_tm_node_type_get.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_tm.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_tm.c b/drivers/net/ixgbe/ixgbe_tm.c
index f2ed607..010c
Add the support of the Traffic Management API,
rte_tm_node_capabilities_get.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_tm.c | 60
1 file changed, 60 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_tm.c b/drivers/net/ixgbe/ixgbe_tm.c
in
Add the support of the Traffic Management API,
rte_tm_node_delete.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_tm.c | 60
1 file changed, 60 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_tm.c b/drivers/net/ixgbe/ixgbe_tm.c
index 82b3b2
Add the support of the Traffic Management API,
rte_tm_shaper_profile_add.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 6 +++
drivers/net/ixgbe/ixgbe_ethdev.h | 21
drivers/net/ixgbe/ixgbe_tm.c | 111 +++
3 files changed, 13
Add the support of the Traffic Management API,
rte_tm_shaper_profile_delete.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_tm.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_tm.c b/drivers/net/ixgbe/ixgbe_tm.c
index 89e
Add the support of the Traffic Management API,
rte_tm_node_add.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.h | 36
drivers/net/ixgbe/ixgbe_tm.c | 386 +++
2 files changed, 422 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_ethd
To support QoS scheduler APIs, create a new C file for
the TM (Traffic Management) ops but without any function
implemented.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/Makefile | 1 +
drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
drivers/net/ixgbe/ixgbe_ethdev.h | 2 ++
drivers/net/ixgbe
Add the support of the Traffic Management API,
rte_tm_capabilities_get.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_tm.c | 90 +++-
1 file changed, 89 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/ixgbe_tm.c b/drivers/net/ixgbe/ixg
Add the support of the Traffic Management API,
rte_tm_level_capabilities_get.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_tm.c | 67 ++
1 file changed, 67 insertions(+)
diff --git a/drivers/net/i40e/i40e_tm.c b/drivers/net/i40e/i40e_tm.c
index
Add the support of the Traffic Management API,
rte_tm_node_capabilities_get.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_tm.c | 55 ++
1 file changed, 55 insertions(+)
diff --git a/drivers/net/i40e/i40e_tm.c b/drivers/net/i40e/i40e_tm.c
index
Add the support of the Traffic Management API,
rte_tm_hierarchy_commit.
When calling this API, the driver tries to enable
the TM configuration on HW.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.h | 9
drivers/net/i40e/i40e_tm.c | 105 ++
Add the support of the Traffic Management API,
rte_tm_node_type_get.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_tm.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/drivers/net/i40e/i40e_tm.c b/drivers/net/i40e/i40e_tm.c
index c132461..e8c41ca 10
Add the support of the Traffic Management API,
rte_tm_node_delete.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_tm.c | 54 ++
1 file changed, 54 insertions(+)
diff --git a/drivers/net/i40e/i40e_tm.c b/drivers/net/i40e/i40e_tm.c
index 39874ca..c
Add the support of the Traffic Management API,
rte_tm_node_add.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.h | 28 +
drivers/net/i40e/i40e_tm.c | 241 +
2 files changed, 269 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.
Add the support of the Traffic Management API,
rte_tm_shaper_profile_delete.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_tm.c | 36
1 file changed, 36 insertions(+)
diff --git a/drivers/net/i40e/i40e_tm.c b/drivers/net/i40e/i40e_tm.c
index a71ff45..2
To support QoS scheduler APIs, create a new C file for
the TM (Traffic Management) ops but without any function
implemented.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/Makefile | 1 +
drivers/net/i40e/i40e_ethdev.c | 1 +
drivers/net/i40e/i40e_ethdev.h | 2 ++
drivers/net/i40e/i40e_t
Implement the traffic manager APIs on i40e and ixgbe.
This patch set is based on the patch set,
"ethdev: abstraction layer for QoS traffic management"
http://dpdk.org/dev/patchwork/patch/25275/
http://dpdk.org/dev/patchwork/patch/25276/
Series Reviewed-by: Ferruh Yigit
v2:
- reworked based on th
Add the support of the Traffic Management API,
rte_tm_shaper_profile_add.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c | 6 +++
drivers/net/i40e/i40e_ethdev.h | 18 +++
drivers/net/i40e/i40e_tm.c | 107 +
3 files changed, 131 ins
Add the support of the Traffic Management API,
rte_tm_capabilities_get.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_tm.c | 82 +-
1 file changed, 81 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_tm.c b/drivers/net/i40e/i40e_t
On Mon, Jun 19, 2017 at 12:03:44PM +0800, Tiwei Bie wrote:
> On Sun, Jun 18, 2017 at 03:21:07PM +0800, Jiayu Hu wrote:
> > Generic Receive Offload (GRO) is a widely used SW-based offloading
> > technique to reduce per-packet processing overhead. It gains
> > performance by reassembling small packet
Hi Jianfeng,
Sorry for some typo errors. I have correct them below.
On Mon, Jun 19, 2017 at 11:07:34AM +0800, Jiayu Hu wrote:
> On Mon, Jun 19, 2017 at 09:39:11AM +0800, Tan, Jianfeng wrote:
> > Hi Jiayu,
> >
> > You need to update the document:
> > - Release note file: release_17_08.rst.
> > -
>From v20 to v1604, number of tlb8 can be up to 1<<24,
(uint8_t) or (uint16_t) may truncate the number of
index of tlb8 in v1604 and cause wrong number.
Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
---
lib/librte_lpm/rte_lpm.c | 4 ++--
1 fi
On Sun, Jun 18, 2017 at 03:21:07PM +0800, Jiayu Hu wrote:
> Generic Receive Offload (GRO) is a widely used SW-based offloading
> technique to reduce per-packet processing overhead. It gains
> performance by reassembling small packets into large ones. This
> patchset is to support GRO in DPDK. To su
On Mon, Jun 19, 2017 at 10:27:05AM +0800, Wu, Jingjing wrote:
>
>
> > -Original Message-
> > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jiayu Hu
> > Sent: Sunday, June 18, 2017 3:21 PM
> > To: dev@dpdk.org
> > Cc: Ananyev, Konstantin ;
> > y...@fridaylinux.org;
> > Wiles, Keith
Additional, this is DPDK-QEMU enviroment.
2017-06-19 11:12 GMT+08:00 Sam :
> Hi,
>
> I print all system call by `strace -f -T -tt -e trace=all -o output.txt
> $QEMU_CMD`, and I found this:
>
> 5900 11:08:11.288701 nanosleep({0, 1000}, 0x7ff103c13a80) = 0
>> <0.010171>
>> 5900 11:08:11.29905
Hi,
I print all system call by `strace -f -T -tt -e trace=all -o output.txt
$QEMU_CMD`, and I found this:
5900 11:08:11.288701 nanosleep({0, 1000}, 0x7ff103c13a80) = 0
> <0.010171>
> 5900 11:08:11.299052 futex(0x7ff10be24340, FUTEX_WAIT_PRIVATE, 2, NULL
>
> 5899 11:08:20.138492 rt_sigacti
On Mon, Jun 19, 2017 at 09:39:11AM +0800, Tan, Jianfeng wrote:
> Hi Jiayu,
>
> You need to update the document:
> - Release note file: release_17_08.rst.
> - A howto doc is welcomed.
Thanks. I will update them in next patch.
>
>
> On 6/18/2017 3:21 PM, Jiayu Hu wrote:
> > Generic Receive Offlo
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jiayu Hu
> Sent: Sunday, June 18, 2017 3:21 PM
> To: dev@dpdk.org
> Cc: Ananyev, Konstantin ; y...@fridaylinux.org;
> Wiles, Keith ; Tan, Jianfeng ;
> Bie, Tiwei ; Yao, Lei A ; Hu, Jiayu
>
> Subject: [dpdk-dev] [
Hi Jiayu,
You need to update the document:
- Release note file: release_17_08.rst.
- A howto doc is welcomed.
On 6/18/2017 3:21 PM, Jiayu Hu wrote:
Generic Receive Offload (GRO) is a widely used SW-based offloading
technique to reduce per-packet processing overhead. It gains performance
by rea
> -Original Message-
> From: Hu, Jiayu
> Sent: Sunday, June 18, 2017 3:21 PM
> To: dev@dpdk.org
> Cc: Ananyev, Konstantin ;
> y...@fridaylinux.org; Wiles, Keith ; Tan, Jianfeng
> ; Bie, Tiwei ; Yao, Lei A
> ; Hu, Jiayu
> Subject: [PATCH v5 3/3] app/testpmd: enable TCP/IPv4 GRO
>
> This
> -Original Message-
> From: RongQiang Xie [mailto:xie.rongqi...@zte.com.cn]
> Sent: Thursday, June 15, 2017 6:21 PM
> To: Wu, Jingjing
> Cc: dev@dpdk.org; RongQiang Xie
> Subject: [PATCH] app/testpmd: fix the comments in source file cmdline
>
> Because the comments in function cmd_add
> -Original Message-
> From: De Lara Guarch, Pablo
> Sent: Thursday, June 15, 2017 8:05 PM
> To: Wu, Jingjing
> Cc: dev@dpdk.org
> Subject: RE: [PATCH v3] app/testpmd: add parameter to start forwarding TX
> first
>
> Sending to right Jingjing mail address.
>
> > -Original Message--
> -Original Message-
> From: De Lara Guarch, Pablo
> Sent: Thursday, June 15, 2017 9:48 AM
> To: Wu, Jingjing
> Cc: dev@dpdk.org; De Lara Guarch, Pablo
> Subject: [PATCH v3] app/testpmd: print statistics periodically
>
> Add parameter to print port statistics periodically (disabled by
> -Original Message-
> From: De Lara Guarch, Pablo
> Sent: Friday, June 9, 2017 9:47 AM
> To: Wu, Jingjing
> Cc: dev@dpdk.org; De Lara Guarch, Pablo
> Subject: [PATCH v2] app/testpmd: print statistics periodically
>
> Add parameter to print port statistics periodically (disabled by def
> -Original Message-
> From: De Lara Guarch, Pablo
> Sent: Friday, June 9, 2017 10:31 AM
> To: Wu, Jingjing
> Cc: dev@dpdk.org; De Lara Guarch, Pablo
> Subject: [PATCH v2] app/testpmd: add parameter to start forwarding sending
>
> Add parameter to start forwarding sending first a burst
Use get_mempolicy(2) to find numa socket on Linux
instead of parsing /proc/self/numa_maps.
When process maps around 1K hugepages
numa_maps file can miss huge records in older Linux kernels.
get_mempolicy() proved more reliable
Requires numactl dev package
Signed-off-by: Gregory Etelson
---
lib
In this patch, we introduce six APIs to support TCP/IPv4 GRO.
- gro_tcp_tbl_create: create a TCP reassembly table, which is used to
merge packets.
- gro_tcp_tbl_destroy: free memory space of a TCP reassembly table.
- gro_tcp_tbl_flush: flush packets in the TCP reassembly table.
- gro_tcp_tbl_ti
This patch demonstrates the usage of GRO library in testpmd. By default,
GRO is turned off. Command, "gro on (port_id)", turns on GRO for the
given port; command, "gro off (port_id)", turns off GRO for the given
port. Currently, GRO only supports to process TCP/IPv4 packets and works
in IO forward
Generic Receive Offload (GRO) is a widely used SW-based offloading
technique to reduce per-packet processing overhead. It gains performance
by reassembling small packets into large ones. Therefore, we propose to
support GRO in DPDK.
To enable more flexibility to applications, DPDK GRO is implement
Generic Receive Offload (GRO) is a widely used SW-based offloading
technique to reduce per-packet processing overhead. It gains
performance by reassembling small packets into large ones. This
patchset is to support GRO in DPDK. To support GRO, this patch
implements a GRO API framework.
To enable m
42 matches
Mail list logo