diff options
| author | Xin Long <[email protected]> | 2016-08-25 05:21:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-08-26 18:43:03 +0000 |
| commit | c80fafbbb59ef9924962f83aac85531039395b18 (patch) | |
| tree | 4c94663f4548445f949345c1b5b8db90a8bdba6b /net/switchdev/switchdev.c | |
| parent | net: systemport: Fix ordering in intrl2_*_mask_clear macro (diff) | |
| download | kernel-c80fafbbb59ef9924962f83aac85531039395b18.tar.gz kernel-c80fafbbb59ef9924962f83aac85531039395b18.zip | |
veth: sctp: add NETIF_F_SCTP_CRC to device features
Commit b17c706987fa ("loopback: sctp: add NETIF_F_SCTP_CSUM to device
features") added NETIF_F_SCTP_CRC to device features for lo device to
improve the performance of sctp over lo.
This patch is to add NETIF_F_SCTP_CRC to device features for veth to
improve the performance of sctp over veth.
Before this patch:
ip netns exec cs_client netperf -H 10.167.12.2 -t SCTP_STREAM -- -m 10K
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
212992 212992 10240 10.00 1117.16
After this patch:
ip netns exec cs_client netperf -H 10.167.12.2 -t SCTP_STREAM -- -m 10K
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
212992 212992 10240 10.20 1415.22
Tested-by: Li Shuang <[email protected]>
Signed-off-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
