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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 +++
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
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
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
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
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
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
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
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
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
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
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
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
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
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 +++
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
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
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
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
* 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
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
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
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
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
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
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
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
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
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(-)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
201 - 300 of 319 matches
Mail list logo