Skip to content

Commit 2201585

Browse files
authored
Merge pull request #727 from ywc689/v1.8.10
v1.8.10
2 parents e2bfc75 + 9bb9a73 commit 2201585

File tree

2 files changed

+40
-42
lines changed

2 files changed

+40
-42
lines changed

doc/tc.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ dpip link set dpdk0 tc-ingress on # enable tc-ingress for dpdk0
105105
```
106106
You can verify if TC for dpdk0 is enabled by checking if "tc-egress" or "tc-ingress" flag exists in the output of the command `dpip link show dpdk0`.
107107

108-
> It's safe to enable or disable TC of a device anytime you like, even if when TC is processing packets.
108+
> It's safe to enable or disable TC of a device whenever you like, even if when TC is processing packets.
109109
110110
**2. Add a root Qsch object.**
111111

@@ -140,25 +140,33 @@ qsch tbf 1: dev dpdk0 parent root flags 0x0 cls 0 rate 10.00Mbps burst 10000B li
140140
141141
# Check Cls on Qsch root
142142
[root@dpvs-test]# dpip cls show dev dpdk0 qsch root
143-
cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
143+
cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
144144
145145
# Check Cls on Qsch ingress
146146
[root@dpvs-test]# dpip cls show dev dpdk0 qsch ingress
147-
cls match 8003: dev dpdk0 qsch ingress pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
147+
cls match 8002: dev dpdk0 qsch ingress pkttype 0x0800 prio 0 ICMP,iif=dpdk0 target 2:
148148
149-
# Get statistics of Qsch 2:0
149+
# Get statistics of Qsch
150+
[root@dpvs-test]# dpip qsch -s show dev dpdk0 handle 1:
151+
qsch tbf 1: dev dpdk0 parent root flags 0x0 cls 0 rate 10.00Mbps burst 10000B limit 2500B
152+
Sent 4050639 bytes 46334 pkts (dropped 0, overlimits 0 requeues 0)
153+
Backlog 0 bytes 0 pkts
150154
[root@dpvs-test]# dpip qsch -s show dev dpdk0 handle 2:
151155
qsch bfifo 2: dev dpdk0 parent ingress flags 0x1 cls 0 limit 100000
152-
Sent 17308172 bytes 176614 pkts (dropped 0, overlimits 0 requeues 0)
156+
Sent 980 bytes 10 pkts (dropped 0, overlimits 0 requeues 0)
153157
Backlog 0 bytes 0 pkts
154158
155159
# Get per-lcore config of Cls 8001:
156160
[root@dpvs-test]# dpip cls -v show dev dpdk0 qsch root handle 8001:
157-
[00] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
158-
[01] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
159-
[02] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
160-
[03] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
161-
[04] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
161+
[00] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
162+
[01] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
163+
[02] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
164+
[04] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
165+
[03] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
166+
[05] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
167+
[06] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
168+
[07] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
169+
[08] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
162170
```
163171

164172
<a id='examples'/>

src/VERSION

Lines changed: 22 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,33 @@
11
#!/bin/sh -
22
# program: dpvs
3-
# Jan 7, 2021
3+
# Apr 26, 2021
44
#
5-
# # Features
5+
# Features
66
# ----------
7-
# - Dpvs: Configurable kni worker type.
8-
# - Dpvs: Support mh(megalev hash) scheduling.
9-
# - Dpvs: Udp one-packet forwarding.
10-
# - Dpvs: Dpdk-pdump for package capture.
11-
# - Dpvs: Support examination of eal memory(ring/seg/zone/pool) usage.
12-
# - Dpvs: Sapool memory optimization.
13-
# - Dpvs: Support ENA driver on AWS
14-
# - Dpvs: Some code refactorings, including sockopt definitions, jobs initializations, main function, etc.
15-
# - Update some documents.
16-
# - Delete some useless codes.
7+
# - CI: Enable CI workflow.
8+
# - Dpvs: TC stability and performance enhancement.
9+
# - Dpvs: TC supports ipv6 and ingress traffic.
10+
# - Dpvs: Add document and examples for dpvs tc.
11+
# - Dpvs: Add supports for ipvs whitelist.
12+
# - Dpvs: Support icmp forwarding with icmp_fwd_core.
13+
# - Dpvs: Support mtu config.
14+
# - Dpvs: Obsolete dpdk 16.07 and 17.05.02.
15+
# - Patch: Add eal memory debug patch for dpdk-stable-18.11.2.
1716
#
1817
# # Bugfix
1918
# --------
20-
# - Dpvs: Fix lcore packet statistics loss problem on isol_rx_lcore.
21-
# - Dpvs: Fix per-lcore mulitcast address initialization problem.
22-
# - Dpvs: Fix ifa::tstemp timer problem when updating ifa entry.
23-
# - Dpvs: Fix ifa adding fail problem by reusing expired ifa.
24-
# - Dpvs: Fix memory leak problem when mbuf is invalid.
25-
# - Dpvs: Fix problem that rs cannot get client's real ip for some short tcp connections.
26-
# - Dpvs: Fix unnecessary memory waste caused by incorrect setting of rte_mempool size.
27-
# - Dpvs: Fix connection limitation problem caused by incorrect rs connection statistics.
28-
# - Dpvs: Fix illegal instruction problem by using the same RTE_MACHINE and cpu CFLAGS as dpdk.
29-
# - Dpvs: Fix mismatch problem when deleting blacklist addresses.
30-
# - Dpvs: Fix problem that mbuf may be used after released.
31-
# - Keepalived: Conhash scheduler performance optimization.
32-
# - Keepalived: Use correct return value for netlink_route.
33-
# - Keepalived: Fix compile error with kernel 3.11 and above.
34-
# - Keepalived: Fix too many open file descriptor problem for tcp_check health check.
35-
# - Keepailved: Fix epoll_wait error after keepalived running for a long time.
36-
# - Ipvsadm: Fix compile warnings of format-overflow and restrict.
37-
# - Ipvsadm: Fix `ipvsadm -ln` show null error.
38-
# - Toa: Fix problem when getting/setting pte writable flag.
19+
# - Dpvs: Fix traceroute problem of dpvs ip address.
20+
# - Dpvs: Fix flags conflicts for ipvs conn/service/dest.
21+
# - Dpvs: Reset tcp connection when syn-cookie check fails.
22+
# - Dpvs: Use correct mbuf:l4_len for checkout offload.
23+
# - Dpvs: Fix udp checksum problem for uoa when checksum offload is off.
24+
# - Dpvs: Simplify checksum calculations and remove superfluous checksum functions.
25+
# - Dpvs: Refactor netif recv procedure.
26+
# - Dpvs: Fix debug level log problem.
27+
# - Keepalived: Fix problem that local ip config doesn't take effect when restart.
28+
# - Keepalived: Fix crash problem when tunnel is configured.
3929

4030
export VERSION=1.8
41-
export RELEASE=8
31+
export RELEASE=10
4232

4333
echo $VERSION-$RELEASE

0 commit comments

Comments
 (0)