[dpdk-dev] [PATCH v2 0/3] enhance TX checksum command and csum forwarding engine

2014-12-09 Thread Jijiang Liu
L_CKSUM flag in test-pmd application. v2 change: redefine the 'none' behaviour for "tx_checksum set tunnel (hw|sw|none) (port-id)" command. Jijiang Liu (3): add outer IP offload capability in librte_ether. add outer IP checksum capability in i40e PMD testpmd command lines o

[dpdk-dev] [PATCH 3/3] test-pmd:change tx_checksum command and csum forwarding engine

2014-12-07 Thread Jijiang Liu
hw|sw) (port-id)" command 3. remove the "vxlan" option from the "tx_checksum set(ip|udp|tcp|sctp|vxlan) (hw|sw) (port-id)" command Moreover, replace the TESTPMD_TX_OFFLOAD_VXLAN_CKSUM flag with TESTPMD_TX_OFFLOAD_TUNNEL_CKSUM flag, and add the TESTPMD_TX_OFFLOAD_OUTER_IP

[dpdk-dev] [PATCH 2/3] i40e:support outer IPv4 checksum capability

2014-12-07 Thread Jijiang Liu
The DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM flag is added in i40e capability set, which means the i40e supports TX checksum offload of tunneling packet. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_ethdev.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lib

[dpdk-dev] [PATCH v5 3/3] mbuf:replace the inner_l2_len and the inner_l3_len fields

2014-12-02 Thread Jijiang Liu
Replace the inner_l2_len and the inner_l3_len field with the outer_l2_len and outer_l3_len field, and rework csum forward engine and i40e PMD due to these changes. Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c | 58 +-- lib/librte_mbuf

[dpdk-dev] [PATCH v5 2/3] mbuf:add three TX ol_flags and repalce PKT_TX_VXLAN_CKSUM

2014-12-02 Thread Jijiang Liu
PMD due to these changes. Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c |9 +++-- lib/librte_mbuf/rte_mbuf.c |7 ++- lib/librte_mbuf/rte_mbuf.h | 11 ++- lib/librte_pmd_i40e/i40e_rxtx.c |6 +++--- 4 files changed, 26 insertions(+), 7

[dpdk-dev] [PATCH v5 1/3] mbuf:redefine three TX ol_flags

2014-12-02 Thread Jijiang Liu
but it's an IPv4 packet. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 2e5fce5..cbadf8e 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib

[dpdk-dev] [PATCH v5 0/3] i40e VXLAN TX checksum rework

2014-12-02 Thread Jijiang Liu
IPV4 flags for the case when user didn't enable TESTPMD_TX_OFFLOAD_VXLAN_CKSUM Jijiang Liu (3): Redefine PKT_TX_IPV4, PKT_TX_IPV6 and PKT_TX_VLAN_PKT; Replace PKT_TX_VXLAN_CKSUM with PKT_TX_UDP_TUNNEL_PKT, and add 3 TX flags, which are PKT_TX_OUTER_IP_CKSUM, PKT_TX_OUTER_IPV4 and PKT_TX_OUT

[dpdk-dev] [PATCH v4 3/3] mbuf:replace the inner_l2_len and the inner_l3_len fields

2014-12-02 Thread Jijiang Liu
Replace the inner_l2_len and the inner_l3_len field with the outer_l2_len and outer_l3_len field, and rework csum forward engine and i40e PMD due to these changes. Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c | 60 +- lib/librte_mbuf

[dpdk-dev] [PATCH v4 2/3] mbuf:add three TX ol_flags and repalce PKT_TX_VXLAN_CKSUM

2014-12-02 Thread Jijiang Liu
PMD due to these changes. Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c |9 +++-- lib/librte_mbuf/rte_mbuf.c |7 ++- lib/librte_mbuf/rte_mbuf.h | 11 ++- lib/librte_pmd_i40e/i40e_rxtx.c |6 +++--- 4 files changed, 26 insertions(+), 7

[dpdk-dev] [PATCH v4 1/3] mbuf:redefine three TX ol_flags

2014-12-02 Thread Jijiang Liu
but it's an IPv4 packet. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 2e5fce5..cbadf8e 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib

[dpdk-dev] [PATCH v4 0/3] i40e VXLAN TX checksum rework

2014-12-02 Thread Jijiang Liu
from mbuf structure. add PKT_TX_OUTER_IPV4 to indicate no IP checksum offload requirement for tunneling packet. change i40e PMD and csum engine due to above changes. Jijiang Liu (3): Redefine PKT_TX_IPV4, PKT_TX_IPV6 and PKT_TX_VLAN_PKT; Replace PKT_TX_VXLAN_CKSUM with P

[dpdk-dev] [PATCH v3 4/4] testpmd:rework csum forward engine

2014-11-28 Thread Jijiang Liu
The changes include: 1. use the new introduced ol_flags and fields in csumonly.c file; 2. fix an issue of outer UDP checksum check; 3. change process logic in the process_inner_cksums(); Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c | 65

[dpdk-dev] [PATCH v3 3/4] i40e:PMD change for VXLAN TX checksum

2014-11-28 Thread Jijiang Liu
Rework the i40e PMD codes using the new introduced ol_flags and fields. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_rxtx.c | 52 +-- 1 files changed, 28 insertions(+), 24 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_rxtx.c b/lib

[dpdk-dev] [PATCH v3 2/4] mbuf:change PKT_TX_IPV4 and PKT_TX_IPV6 definition

2014-11-28 Thread Jijiang Liu
It will avoid to send a packet with a bad info: - we receive a Ether/IP6/IP4/L4/data packet - the driver sets PKT_RX_IPV6_HDR - the stack decapsulates IP6 - the stack sends the packet, it has the PKT_TX_IPV6 flag but it's an IPv4 packet. Signed-off-by: Jijiang Liu --- lib/librte_mbuf

[dpdk-dev] [PATCH v3 1/4] mbuf:add three TX offload flags and change three fields

2014-11-28 Thread Jijiang Liu
be udp header length plus VXLAN header length. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.c |6 +- lib/librte_mbuf/rte_mbuf.h | 18 +++--- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.c b/lib/librte_mbuf/rte_mbuf.c

[dpdk-dev] [PATCH v3 0/4] i40e VXLAN TX checksum rework

2014-11-28 Thread Jijiang Liu
ges into two patches. fix MACLEN caculation issue in i40e driver fix some issues in csumonly.c change cover letter. v3 changes: fix MACLEN caculation issue in i40e driver when non-tunneling packet Jijiang Liu (4): mbuf change for 3 new flags and 3 fields mbuf change for PKT_TX

[dpdk-dev] [PATCH v2 4/4] testpmd:rework csum forward engine

2014-11-28 Thread Jijiang Liu
The changes include: 1. use the new introduced ol_flags and fields in csumonly.c file; 2. fix an issue of outer UDP checksum check; 3. change process logic in the process_inner_cksums(); Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c | 65

[dpdk-dev] [PATCH v2 3/4] i40e:PMD change for VXLAN TX checksum

2014-11-28 Thread Jijiang Liu
Rework the i40e PMD codes using the new introduced ol_flags and fields. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_rxtx.c | 49 +- 1 files changed, 27 insertions(+), 22 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_rxtx.c b/lib

[dpdk-dev] [PATCH v2 2/4] mbuf:change PKT_TX_IPV4 and PKT_TX_IPV6 definition

2014-11-28 Thread Jijiang Liu
It will avoid to send a packet with a bad info: - we receive a Ether/IP6/IP4/L4/data packet - the driver sets PKT_RX_IPV6_HDR - the stack decapsulates IP6 - the stack sends the packet, it has the PKT_TX_IPV6 flag but it's an IPv4 packet. Signed-off-by: Jijiang Liu --- lib/librte_mbuf

[dpdk-dev] [PATCH v2 1/4] mbuf:add three TX offload flags and change three fields

2014-11-28 Thread Jijiang Liu
be udp header length plus VXLAN header length. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.c |6 +- lib/librte_mbuf/rte_mbuf.h | 18 +++--- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.c b/lib/librte_mbuf/rte_mbuf.c

[dpdk-dev] [PATCH v2 0/4] i40e VXLAN TX checksum rework

2014-11-28 Thread Jijiang Liu
ges into two patches. fix MACLEN caculation issue in i40e driver fix some issues in csumonly.c change cover letter. Jijiang Liu (4): mbuf change for 3 new flags and 3 fields mbuf change for PKT_TX_IPV4 and PKT_TX_IPV6 i40e PMD change in i40e_rxtx.c rework csum fo

[dpdk-dev] [PATCH 3/3] testpmd:rework csum forward engine

2014-11-27 Thread Jijiang Liu
Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c | 55 +- 1 files changed, 30 insertions(+), 25 deletions(-) diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c index d8c080a..0727510 100644 --- a/app/test-pmd/csumonly.c +++ b/ap

[dpdk-dev] [PATCH 2/3] i40e:PMD change for VXLAN TX checksum

2014-11-27 Thread Jijiang Liu
Rework the i40e PMD codes using the new introduced ol_flags and fields. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_rxtx.c | 40 +- 1 files changed, 18 insertions(+), 22 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_rxtx.c b/lib

[dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change three fields

2014-11-27 Thread Jijiang Liu
packet;hardware outer checksum for tunnelling packet. PKT_TX_UDP_TUNNEL_PKT: is used to tell PMD that the transmit packet is a UDP tunneling packet. l4_tun_len: for VXLAN packet, it should be udp header length plus VXLAN header length. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.c

[dpdk-dev] [PATCH 4/4] testpmd:application changes

2014-11-18 Thread Jijiang Liu
Change the codes in testpmd due to introducing abstract packet type. Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c | 12 ++-- app/test-pmd/rxonly.c | 20 +--- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/app/test-pmd/csumonly.c b/app

[dpdk-dev] [PATCH 3/4] i40e:translate i40e packet types

2014-11-18 Thread Jijiang Liu
Translate i40e packet types to abstract packet types, and keep the usage of the PKT_RX_IPV4_HDR and the PKT_RX_IPV4_HDR as before in i40e driver. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_rxtx.c | 604 +-- 1 files changed, 332 insertions

[dpdk-dev] [PATCH 2/4] rte_mbuf:remove tunneling IP offload flags

2014-11-18 Thread Jijiang Liu
The PKT_RX_TUNNEL_IPV4_HDR and the PKT_RX_TUNNEL_IPV6_HDR are removed, they are useless now. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 678db0d

[dpdk-dev] [PATCH 1/4] rte_mbuf:add packet types

2014-11-18 Thread Jijiang Liu
This patch abstracts packet types of L2 packet, Non Tunneled IPv4/6, IP in IP, IP in GRE, MAC in GRE and MAC in UDP, and add 4 MACROS to check packet IP header. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h | 223 1 files changed, 223

[dpdk-dev] [PATCH 0/4] Translate packet types for i40e

2014-11-18 Thread Jijiang Liu
in their applications to speed up receive packet analysis. Moreover, this patch set translates i40e packet types to abstract packet types in i40e driver, and make the corresponding changes in test applications. Jijiang Liu (4): Add packet type and IP header check in rte_mbuf Remove

[dpdk-dev] [PATCH v2] i40e:fix MAC filter issues in i40e_ethdev.c

2014-10-31 Thread Jijiang Liu
This patch fixes two issues: one is to fix the log issues, the other is to set filter type when updating the default MAC filter. v2 changes: Fix the remaining PMD log issues. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_ethdev.c | 17 + 1 files changed, 9

[dpdk-dev] [PATCH] librte_ether:change rte_eth_mac_filter structure

2014-10-31 Thread Jijiang Liu
As the filter type in i40e is defined enum type, so this patch changes the filter_type filed in the rte_eth_mac_filter for fixing the compilation error under ICC compiler. Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h |2 +- 1 files changed, 1 insertions(+), 1 deletions

[dpdk-dev] [PATCH] i40e:fix MAC filter issues in i40e_ethdev.c

2014-10-31 Thread Jijiang Liu
This patch fixes two issues: one is to fix the log issue, the other is to set filter type when updating the default MAC filter. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_ethdev.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lib/librte_pmd_i40e

[dpdk-dev] [PATCH v8 10/10] app/testpmd:test VxLAN Tx checksum offload

2014-10-27 Thread Jijiang Liu
Add test cases in testpmd to test VxLAN Tx Checksum offload, which include - IPv4 and IPv6 packet - outer L3, inner L3 and L4 checksum offload for Tx side. Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 13 ++- app/test-pmd/config.c |6 +- app/test-pmd/csumonly.c | 194

[dpdk-dev] [PATCH v8 09/10] i40e:support VxLAN Tx checksum offload

2014-10-27 Thread Jijiang Liu
Support VxLAN Tx checksum offload, which include - outer L3(IP) checksum offload - inner L3(IP) checksum offload - inner L4(UDP, TCP and SCTP) checksum offload Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h |1 + lib/librte_pmd_i40e/i40e_rxtx.c | 46

[dpdk-dev] [PATCH v8 08/10] app/testpmd:test VxLAN packet filter

2014-10-27 Thread Jijiang Liu
Add the "tunnel_filter" command in testpmd to test the API of VxLAN packet filter. Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 150 1 files changed, 150 insertions(+), 0 deletions(-) diff --git a/app/test-pmd/cmdline.c

[dpdk-dev] [PATCH v8 07/10] i40e:implement the API of VxLAN filter in librte_pmd_i40e

2014-10-27 Thread Jijiang Liu
The filter types supported are listed below for VxLAN: 1. Inner MAC and Inner VLAN ID. 2. Inner MAC address, inner VLAN ID and tenant ID. 3. Inner MAC and tenant ID. 4. Inner MAC address. 5. Outer MAC address, tenant ID and inner MAC address. Signed-off-by: Jijiang Liu --- lib

[dpdk-dev] [PATCH v8 06/10] librte_ether:add data structures of VxLAN filter

2014-10-27 Thread Jijiang Liu
Add definations of the data structures of tunneling packet filter in the rte_eth_ctrl.h file. Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 49 +++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/lib/librte_ether

[dpdk-dev] [PATCH v8 05/10] app/test-pmd:test VxLAN packet identification

2014-10-27 Thread Jijiang Liu
Add two commands to test VxLAN packet identification. The test steps are as follows: 1> use commands to add/delete VxLAN UDP port. 2> use rxonly mode to receive VxLAN packet. Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 65 +++

[dpdk-dev] [PATCH v8 04/10] i40e:support VxLAN packet identification in i40e

2014-10-27 Thread Jijiang Liu
Implement the configuration API of VxLAN destination UDP port in librte_pmd_i40e, and add new Rx offload flags for supporting VXLAN packet offload. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h|2 + lib/librte_pmd_i40e/i40e_ethdev.c | 157

[dpdk-dev] [PATCH v8 03/10] librte_ether:add VxLAN packet identification API

2014-10-27 Thread Jijiang Liu
the destination port. To enable interoperability with these implementations, the destination port SHOULD be configurable." Add two APIs in librte_ether for supporting UDP tunneling port configuration on i40e. Currently, only VxLAN is implemented in this patch set. Signed-off-by: J

[dpdk-dev] [PATCH v8 02/10] librte_ether:add the basic data structures of VxLAN

2014-10-27 Thread Jijiang Liu
Add definations of basic data structures of VxLAN. Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 12 lib/librte_ether/rte_ethdev.h |8 lib/librte_ether/rte_ether.h| 13 + 3 files changed, 33 insertions(+), 0 deletions(-) diff

[dpdk-dev] [PATCH v8 01/10] librte_mbuf:the rte_mbuf structure changes

2014-10-27 Thread Jijiang Liu
in GRE and MAC in UDP. The "inner_l2_len" and the "inner_l3_len" fields are added in the second cache line, they use 2 bytes for TX offloading of tunnels. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h | 25 - 1 files changed, 24 insertions

[dpdk-dev] [PATCH v2 4/4] app/testpmd:test VF MAC filter

2014-10-24 Thread Jijiang Liu
Add a test command in testpmd to test VF MAC filter feature. Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 119 ++- 1 files changed, 116 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index

[dpdk-dev] [PATCH v2 3/4] i40e:add VF MAC filter

2014-10-24 Thread Jijiang Liu
It mainly add i40e_vf_mac_filter_set() function to support perfect match and hash match of MAC address and VLAN ID for VF. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_ethdev.c | 118 - 1 files changed, 116 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH v2 2/4] i40e:expand MAC filter implemantation in i40e

2014-10-24 Thread Jijiang Liu
This patch mainly optimizes the i40e_add_macvlan_filters() and the i40e_remove_macvlan_filters() functions in order that we are able to provide filter type configuration. And another relevant MAC filter codes are changed based on new data structures. Signed-off-by: Jijiang Liu --- lib

[dpdk-dev] [PATCH v2 1/4] librte_ether:extend MAC filter data structures

2014-10-24 Thread Jijiang Liu
Add the data definations for MAC filter enhancement in rte_eth_ctrl.h file. Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether

[dpdk-dev] [PATCH v2 0/4] support VF MAC filter on Fortville

2014-10-24 Thread Jijiang Liu
The patch set enhances configurability of MAC filter and supports VF MAC filter on Fortville. It mainly includes: - The following filter type are configurable: 1. Perfect match of MAC address 2. Perfect match of MAC address and VLAN ID 3. Hash match of MAC address 4. Hash match of

[dpdk-dev] [PATCH v7 09/10] i40e:support VxLAN Tx checksum offload

2014-10-23 Thread Jijiang Liu
Support VxLAN Tx checksum offload, which include - outer L3(IP) checksum offload - inner L3(IP) checksum offload - inner L4(UDP, TCP and SCTP) checksum offload Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h |1 + lib/librte_pmd_i40e/i40e_rxtx.c | 46

[dpdk-dev] [PATCH v7 08/10] app/testpmd:test VxLAN packet filter

2014-10-23 Thread Jijiang Liu
Add the "tunnel_filter" command in testpmd to test the API of VxLAN packet filter. Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 150 1 files changed, 150 insertions(+), 0 deletions(-) diff --git a/app/test-pmd/cmdline.c

[dpdk-dev] [PATCH v7 07/10] i40e:implement the API of VxLAN filter in librte_pmd_i40e

2014-10-23 Thread Jijiang Liu
The filter types supported are listed below for VxLAN: 1. Inner MAC and Inner VLAN ID. 2. Inner MAC address, inner VLAN ID and tenant ID. 3. Inner MAC and tenant ID. 4. Inner MAC address. 5. Outer MAC address, tenant ID and inner MAC address. Signed-off-by: Jijiang Liu --- lib

[dpdk-dev] [PATCH v7 06/10] librte_ether:add data structures of VxLAN filter

2014-10-23 Thread Jijiang Liu
Add definations of the data structures of tunneling packet filter in the rte_eth_ctrl.h file. Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 49 +++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/lib/librte_ether

[dpdk-dev] [PATCH v7 05/10] app/test-pmd:test VxLAN packet identification

2014-10-23 Thread Jijiang Liu
Add two commands to test VxLAN packet identification. The test steps are as follows: 1> use commands to add/delete VxLAN UDP port. 2> use rxonly mode to receive VxLAN packet. Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 65 +++

[dpdk-dev] [PATCH v7 04/10] i40e:support VxLAN packet identification in i40e

2014-10-23 Thread Jijiang Liu
Implement the configuration API of VxLAN destination UDP port in librte_pmd_i40e, and add new Rx offload flags for supporting VXLAN packet offload. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h|2 + lib/librte_pmd_i40e/i40e_ethdev.c | 157

[dpdk-dev] [PATCH v7 03/10] librte_ether:add VxLAN packet identification API

2014-10-23 Thread Jijiang Liu
the destination port. To enable interoperability with these implementations, the destination port SHOULD be configurable." Add two APIs in librte_ether for supporting UDP tunneling port configuration on i40e. Currently, only VxLAN is implemented in this patch set. Signed-off-by: J

[dpdk-dev] [PATCH v7 02/10] librte_ether:add the basic data structures of VxLAN

2014-10-23 Thread Jijiang Liu
Add definations of basic data structures of VxLAN. Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 12 lib/librte_ether/rte_ethdev.h |8 lib/librte_ether/rte_ether.h| 13 + 3 files changed, 33 insertions(+), 0 deletions(-) diff

[dpdk-dev] [PATCH v7 01/10] librte_mbuf:the rte_mbuf structure changes

2014-10-23 Thread Jijiang Liu
in GRE and MAC in UDP. The "inner_l2_len" and the "inner_l3_len" fields are added in the second cache line, they use 2 bytes for TX offloading of tunnels. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h | 25 - 1 files changed, 24 insertions

[dpdk-dev] [PATCH v7 00/10] Support VxLAN on Fortville

2014-10-23 Thread Jijiang Liu
* Split the APIs and data structures of VxLAN into two patches. Jijiang Liu (10): change rte_mbuf structures add data structures of UDP tunneling add VxLAN packet identification API in librte_ether support VxLAN packet identification in i40e test VxLAN packet identification in

[dpdk-dev] [PATCH v6 9/9] app/testpmd:test VxLAN Tx checksum offload

2014-10-21 Thread Jijiang Liu
Add test cases in testpmd to test VxLAN Tx Checksum offload, which include - IPv4 and IPv6 packet - outer L3, inner L3 and L4 checksum offload for Tx side. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c | 13

[dpdk-dev] [PATCH v6 8/9] i40e:support VxLAN Tx checksum offload

2014-10-21 Thread Jijiang Liu
Support VxLAN Tx checksum offload, which include - outer L3(IP) checksum offload - inner L3(IP) checksum offload - inner L4(UDP, TCP and SCTP) checksum offload Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_mbuf/rte_mbuf.h

[dpdk-dev] [PATCH v6 7/9] app/testpmd:test VxLAN packet filter

2014-10-21 Thread Jijiang Liu
Add the tunnel_filter command in testpmd to test the API of VxLAN packet filter. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c | 152 1 files changed, 152 insertions

[dpdk-dev] [PATCH v6 6/9] i40e:implement API of VxLAN packet filter in librte_pmd_i40e

2014-10-21 Thread Jijiang Liu
The implementation of VxLAN tunnel filter in librte_pmd_i40e, which include - add the i40e_tunnel_filter_handle() function. - add the i40e_dev_tunnel_filter_set() function. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_pmd_i40e

[dpdk-dev] [PATCH v6 5/9] librte_ether:add data structures of VxLAN filter

2014-10-21 Thread Jijiang Liu
Add definations of the data structures of tunneling packet filter in the rte_eth_ctrl.h file. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_ether/rte_eth_ctrl.h | 64 +++ lib/librte_ether

[dpdk-dev] [PATCH v6 4/9] app/test-pmd:test VxLAN packet identification

2014-10-21 Thread Jijiang Liu
Add two commands to test VxLAN packet identification, which include - use commands to add/delete VxLAN UDP port. - use rxonly mode to receive VxLAN packet. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c| 65

[dpdk-dev] [PATCH v6 3/9] i40e:support VxLAN packet identification in librte_pmd_i40e

2014-10-21 Thread Jijiang Liu
Implement configuration of VxLAN destination UDP port number in librte_pmd_i40e. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_pmd_i40e/i40e_ethdev.c | 164 + lib/librte_pmd_i40e/i40e_ethdev.h

[dpdk-dev] [PATCH v6 2/9] librte_ether:add VxLAN packet identification API in librte_ether

2014-10-21 Thread Jijiang Liu
the destination port. To enable interoperability with these implementations, the destination port SHOULD be configurable." Add two APIs in librte_ether for supporting UDP tunneling port configuration on i40e. Currently, only VxLAN is implemented in this patch set. Signed-off-by: Jijiang

[dpdk-dev] [PATCH v6 1/9] librte_mbuf:the rte_mbuf structure changes

2014-10-21 Thread Jijiang Liu
C in UDP. The inner L2 length and the inner L3 length are used for TX offloading of tunneling packet. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu --- lib/librte_mbuf/rte_mbuf.h | 25 - 1 files changed, 24 insertions(+), 1 deletions(-)

[dpdk-dev] [PATCH v6 0/9] Support VxLAN on Fortville

2014-10-21 Thread Jijiang Liu
ommit logs. Jijiang Liu (9): rte_mbuf structure changes add VxLAN packet identification API in librte_ether support VxLAN packet identification in librte_pmd_i40e test VxLAN packet identification in testpmd. add data structures of tunneling filter in rte_eth_ctrl.h implement the AP

[dpdk-dev] [PATCH] Add Rx error statistics for Fortville

2014-10-15 Thread Jijiang Liu
This patch adds incoming packet error statistics in the i40e_ethdev.c file. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_ethdev.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c

[dpdk-dev] [PATCH v5 8/8]app/testpmd:test VxLAN Tx checksum offload

2014-10-11 Thread Jijiang Liu
Add test cases in testpmd to test VxLAN Tx Checksum offload, which include - IPv4 tunnel and IPv6 tunnel - outer L3, inner L3 and L4 checksum offload for Tx side. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/config.c |6

[dpdk-dev] [PATCH v5 7/8]i40e:support VxLAN Tx checksum offload

2014-10-11 Thread Jijiang Liu
Support VxLAN Tx checksum offload, which include - outer L3(IP) checksum offload - inner L3(IP) checksum offload - inner L4(UDP, TCP and SCTP) checksum offload Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_mbuf/rte_mbuf.h

[dpdk-dev] [PATCH v5 6/8]app/testpmd:test VxLAN packet filter API

2014-10-11 Thread Jijiang Liu
Add tunnel_filter command in testpmd to test VxLAN packet filter API. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c | 152 1 files changed, 152 insertions(+), 0

[dpdk-dev] [PATCH v5 5/8]i40e:implement API of VxLAN packet filter in librte_pmd_i40e

2014-10-11 Thread Jijiang Liu
The implementation of VxLAN tunnel filter in librte_pmd_i40e, which include - add the i40e_dev_filter_ctrl() function. - add the i40e_dev_tunnel_filter_set() function. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_pmd_i40e

[dpdk-dev] [PATCH v5 4/8]librte_ether:add a common filter API

2014-10-11 Thread Jijiang Liu
Introduce a new filter framewok in librte_ether. As to the implemetation discussion, please refer to http://dpdk.org/ml/archives/dev/2014-September/005179.html, and VxLAN tunnel filter implementation is based on it. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu

[dpdk-dev] [PATCH v5 3/8]app/test-pmd:test VxLAN packet identification

2014-10-11 Thread Jijiang Liu
Add commands to test VxLAN packet identification, which include - use commands to add/delete VxLAN UDP port. - use rxonly mode to receive VxLAN packet. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c| 78

[dpdk-dev] [PATCH v5 2/8]i40e:support VxLAN packet identification in librte_pmd_i40e

2014-10-11 Thread Jijiang Liu
Support tunneling UDP port configuration on i40e in librte_pmd_i40e. Currently, only VxLAN is implemented, which include - VxLAN UDP port initialization - Implement the APIs to configure VxLAN UDP port in librte_pmd_i40e. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing

[dpdk-dev] [PATCH v5 1/8]i40e:support VxLAN packet identification in librte_ether

2014-10-11 Thread Jijiang Liu
Add data structures and APIs in librte_ether for supporting tunneling UDP port configuration on i40e, Currently, only VxLAN is implemented, which include - VxLAN UDP port initialization - Add APIs to configure VxLAN UDP port Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked

[dpdk-dev] [PATCH v5 0/8]Support VxLAN on Fortville

2014-10-11 Thread Jijiang Liu
The patch set supports VxLAN on Fortville based on latest mbuf structure. It includes: - Support VxLAN packet identification by configuring tunneling UDP port. - Support VxLAN packet filters. It uses MAC and VLAN to point to a queue. The filter types supported include below: 1. Inner MAC

[dpdk-dev] [PATCH v4 8/8]app/testpmd:test VxLAN Tx checksum offload

2014-09-26 Thread Jijiang Liu
Add test cases in testpmd to test VxLAN Tx Checksum offload, which include - IPv4 tunnel and IPv6 tunnel - outer L3, inner L3 and L4 checksum offload for Tx side. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/config.c |6

[dpdk-dev] [PATCH v4 7/8]i40e:support VxLAN Tx checksum offload

2014-09-26 Thread Jijiang Liu
Support VxLAN Tx checksum offload, which include - outer L3(IP) checksum offload - inner L3(IP) checksum offload - inner L4(UDP, TCP and SCTP) checksum offload Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_mbuf/rte_mbuf.h

[dpdk-dev] [PATCH v4 6/8]app/testpmd:test VxLAN packet filter API

2014-09-26 Thread Jijiang Liu
Add tunnel_filter command in testpmd to test VxLAN packet filter API. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c | 152 1 files changed, 152 insertions(+), 0

[dpdk-dev] [PATCH v4 5/8]i40e:implement API of VxLAN packet filter in librte_pmd_i40e

2014-09-26 Thread Jijiang Liu
The implementation of VxLAN tunnel filter in librte_pmd_i40e, which include - add the i40e_dev_filter_ctrl() function. - add the i40e_dev_tunnel_filter_set() function. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_pmd_i40e

[dpdk-dev] [PATCH v4 4/8]librte_ether:add a common filter API

2014-09-26 Thread Jijiang Liu
Introduce a new filter framewok in librte_ether. As to the implemetation discussion, please refer to http://dpdk.org/ml/archives/dev/2014-September/005179.html, and VxLAN tunnel filter implementation is based on it. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu

[dpdk-dev] [PATCH v4 3/8]app/test-pmd:test VxLAN packet identification

2014-09-26 Thread Jijiang Liu
Add commands to test VxLAN packet identification, which include - use commands to add/delete VxLAN UDP port. - use rxonly mode to receive VxLAN packet. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c| 78

[dpdk-dev] [PATCH v4 2/8]i40e:support VxLAN packet identification in librte_pmd_i40e

2014-09-26 Thread Jijiang Liu
Support tunneling UDP port configuration on i40e in librte_pmd_i40e. Currently, only VxLAN is implemented, which include - VxLAN UDP port initialization - Implement the APIs to configure VxLAN UDP port in librte_pmd_i40e. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing

[dpdk-dev] [PATCH v4 1/8]i40e:support VxLAN packet identification in librte_ether

2014-09-26 Thread Jijiang Liu
Add data structures and APIs in librte_ether for supporting tunneling UDP port configuration on i40e, Currently, only VxLAN is implemented, which include - VxLAN UDP port initialization - Add APIs to configure VxLAN UDP port Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked

[dpdk-dev] [PATCH v4 0/8]Support VxLAN on Fortville

2014-09-26 Thread Jijiang Liu
The patch set supports VxLAN on Fortville based on current mbuf structure. When Bruce's Mbuf Structure Rework(part 3) is applied, there will be minor changes later. It includes: - Support VxLAN packet identification by configuring tunneling UDP port. - Support VxLAN packet filters. It uses

[dpdk-dev] [PATCH 5/5]testpmd:test VF MACVLAN filter for i40e

2014-09-23 Thread Jijiang Liu
Add a test command in testpmd to test VF MACVLAN filter feature. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Changchun Ouyang --- app/test-pmd/cmdline.c | 115 ++- 1 files changed, 112 insertions(+), 3

[dpdk-dev] [PATCH 4/5]i40e:add VF MACVLAN filter implementation in librte_pmd_i40e

2014-09-23 Thread Jijiang Liu
Add i40e_vf_mac_filter_set() function to support perfect match and hash match filter of MAC address and VLAN ID for a VF. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Changchun Ouyang --- lib/librte_pmd_i40e/i40e_ethdev.c | 117

[dpdk-dev] [PATCH 3/5]i40e:optimize MACVLAN filter implementation

2014-09-23 Thread Jijiang Liu
This patch mainly optimizes i40e_add_macvlan_filters() and i40e_remove_macvlan_filters() functions in order that we can provide a flexible configuration interface. And another relevant MACVLAN filter codes are changed based on new data structures Signed-off-by: Jijiang Liu Acked-by: Helin

[dpdk-dev] [PATCH 2/5]librte_ether:extend data structures of MACVLAN filter

2014-09-23 Thread Jijiang Liu
Add new data definations for MACVLAN filter enhancement in rte_eth_ctrl.h file. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Changchun Ouyang --- lib/librte_ether/rte_eth_ctrl.h | 25 + 1 files changed, 25 insertions(+), 0

[dpdk-dev] [PATCH 1/5]librte_ether:use new filter framework

2014-09-23 Thread Jijiang Liu
Introduce a new filter framewok in librte_ether. As to the implemetation discussion, please refer to http://dpdk.org/ml/archives/dev/2014-September/005179.html, and VF MACVLAN filter implementation is based on it. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked

[dpdk-dev] [PATCH 0/5]support filter of unicast and multicast MAC address for VF on Fortville

2014-09-23 Thread Jijiang Liu
The patch set enhances MACVLAN filter configurability and supports perfect and hash match filter of unicast and multicast MAC address for VF on Fortville. It mainly includes: - Use new filter mechanism discussed at http://dpdk.org/ml/archives/dev/2014-September/005179.html. - Enhance MACVLAN

[dpdk-dev] [PATCH v3 8/8]app/testpmd:test VxLAN Tx checksum offload

2014-09-12 Thread Jijiang Liu
Add test cases in testpmd to test VxLAN Tx Checksum offload, which include - IPv4 tunnel and IPv6 tunnel - outer L3, inner L3 and L4 checksum offload for Tx side. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/config.c |6

[dpdk-dev] [PATCH v3 7/8]i40e:support VxLAN Tx checksum offload

2014-09-12 Thread Jijiang Liu
Support VxLAN Tx checksum offload, which include - outer L3(IP) checksum offload - inner L3(IP) checksum offload - inner L4(UDP, TCP and SCTP) checksum offload Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_mbuf/rte_mbuf.h

[dpdk-dev] [PATCH v3 6/8]app/testpmd:test VxLAN packet filter API

2014-09-12 Thread Jijiang Liu
Add tunnel_filter command in testpmd to test VxLAN packet filter API. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c | 153 +++- 1 files changed, 152 insertions(+), 1

[dpdk-dev] [PATCH v3 5/8]i40e:implement API of VxLAN packet filter in librte_pmd_i40e

2014-09-12 Thread Jijiang Liu
The implementation of VxLAN tunnel filter in librte_pmd_i40e, which include - add the i40e_dev_filter_ctrl() function. - add the i40e_dev_tunnel_filter_set() function. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_pmd_i40e

[dpdk-dev] [PATCH v3 4/8]librte_ether:add a common filter API

2014-09-12 Thread Jijiang Liu
Introduce a new filter framewok in librte_ether. As to the implemetation discussion, please refer to http://dpdk.org/ml/archives/dev/2014-September/005179.html, and VxLAN tunnel filter implementation is based on it. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu

[dpdk-dev] [PATCH v3 3/8]app/test-pmd:test VxLAN packet identification

2014-09-12 Thread Jijiang Liu
Add commands to test VxLAN packet identification, which include - use commands to add/delete VxLAN UDP port. - use rxonly mode to receive VxLAN packet. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c| 78

[dpdk-dev] [PATCH v3 2/8]i40e:support VxLAN packet identification in librte_pmd_i40e

2014-09-12 Thread Jijiang Liu
Support tunneling UDP port configuration on i40e in librte_pmd_i40e. Currently, only VxLAN is implemented, which include - VxLAN UDP port initialization - Implement the APIs to configure VxLAN UDP port in librte_pmd_i40e. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing

[dpdk-dev] [PATCH v3 1/8]i40e:support VxLAN packet identification in librte_ether

2014-09-12 Thread Jijiang Liu
Add data structures and APIs in librte_ether for supporting tunneling UDP port configuration on i40e, Currently, only VxLAN is implemented, which include - VxLAN UDP port initialization - Add APIs to configure VxLAN UDP port Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked

<    1   2   3   4   >