Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.8.10 #727

Merged
merged 3 commits into from
Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions doc/tc.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ dpip link set dpdk0 tc-ingress on # enable tc-ingress for dpdk0
```
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`.

> It's safe to enable or disable TC of a device anytime you like, even if when TC is processing packets.
> It's safe to enable or disable TC of a device whenever you like, even if when TC is processing packets.

**2. Add a root Qsch object.**

Expand Down Expand Up @@ -140,25 +140,33 @@ qsch tbf 1: dev dpdk0 parent root flags 0x0 cls 0 rate 10.00Mbps burst 10000B li

# Check Cls on Qsch root
[root@dpvs-test]# dpip cls show dev dpdk0 qsch root
cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:

# Check Cls on Qsch ingress
[root@dpvs-test]# dpip cls show dev dpdk0 qsch ingress
cls match 8003: dev dpdk0 qsch ingress pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
cls match 8002: dev dpdk0 qsch ingress pkttype 0x0800 prio 0 ICMP,iif=dpdk0 target 2:

# Get statistics of Qsch 2:0
# Get statistics of Qsch
[root@dpvs-test]# dpip qsch -s show dev dpdk0 handle 1:
qsch tbf 1: dev dpdk0 parent root flags 0x0 cls 0 rate 10.00Mbps burst 10000B limit 2500B
Sent 4050639 bytes 46334 pkts (dropped 0, overlimits 0 requeues 0)
Backlog 0 bytes 0 pkts
[root@dpvs-test]# dpip qsch -s show dev dpdk0 handle 2:
qsch bfifo 2: dev dpdk0 parent ingress flags 0x1 cls 0 limit 100000
Sent 17308172 bytes 176614 pkts (dropped 0, overlimits 0 requeues 0)
Sent 980 bytes 10 pkts (dropped 0, overlimits 0 requeues 0)
Backlog 0 bytes 0 pkts

# Get per-lcore config of Cls 8001:
[root@dpvs-test]# dpip cls -v show dev dpdk0 qsch root handle 8001:
[00] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
[01] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
[02] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
[03] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
[04] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 ICMP,iif-dpdk0 target 2:
[00] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
[01] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
[02] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
[04] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
[03] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
[05] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
[06] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
[07] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
[08] cls match 8001: dev dpdk0 qsch root pkttype 0x0800 prio 0 TCP,oif=dpdk0 target 1:
```

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

export VERSION=1.8
export RELEASE=8
export RELEASE=10

echo $VERSION-$RELEASE