Bug 1446363

Summary: add remcsumrx and remcsumtx for vxlan
Product: Red Hat Enterprise Linux 7 Reporter: Jan Tluka <jtluka>
Component: iprouteAssignee: Phil Sutter <psutter>
Status: CLOSED WONTFIX QA Contact: Jaroslav Aster <jaster>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: aloughla, atragler, egarver, jaster, omoris
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: iproute-3.10.0-83.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-16 14:17:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1323132    

Description Jan Tluka 2017-04-27 18:12:47 UTC
Description of problem:

RHEL7 kernel supports remote checksum offload for vxlan tunnels (RCO). However iproute does not provide vxlan options to enable this feature.

Following commit added this upstream:

commit 35f59d862fc9dec1e4af675c5ce776ba44be7eb7
Author: Tom Herbert <tom>
Date:   Fri Nov 27 10:23:43 2015 -0800

    vxlan: Add support for remote checksum offload


Version-Release number of selected component (if applicable):
iproute-3.10.0-82.el7.x86_64

How reproducible:


Steps to Reproduce:

ip link add name vxlan0 type vxlan id 42 group 239.1.1.1 dev eth0 \
        udpcsum remcsumtx remcsumrx

Actual results:

vxlan: unknown command "remcsumtx"?


Expected results:

iproute configures vxlan succesfully
Additional info:

Comment 1 Jan Tluka 2017-04-27 18:27:12 UTC
This is the expected output (using upstream iproute):

# ./ip/ip link add name vxlan0 type vxlan id 42 group 239.1.1.1 dev p7p1 udpcsum remcsumtx remcsumrx
vxlan: destination port not specified
Will use Linux kernel default (non-standard value)
Use 'dstport 4789' to get the IANA assigned value
Use 'dstport 0' to get default and quiet this message

# ./ip/ip -d link show dev vxlan0
10: vxlan0: <BROADCAST,MULTICAST> mtu 1450 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 3e:c4:31:41:93:d9 brd ff:ff:ff:ff:ff:ff promiscuity 0 
    vxlan id 42 group 239.1.1.1 dev p7p1 srcport 0 0 dstport 8472 ageing 300 udpcsum noudp6zerocsumtx noudp6zerocsumrx remcsumtx remcsumrx addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535

Comment 4 Jiri Benc 2017-06-08 17:45:02 UTC
I filed bug 1459975 to remove this.