Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1977850

Summary: geneve virtual devices lack the NETIF_F_FRAGLIST feature
Product: Red Hat Enterprise Linux 8 Reporter: Paolo Abeni <pabeni>
Component: kernelAssignee: Paolo Abeni <pabeni>
kernel sub component: Tunnel QA Contact: Jianlin Shi <jishi>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: brdeoliv, jiji, lxin, network-qe, rkhan
Version: 8.5Keywords: FutureFeature, Triaged
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-4.18.0-322.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 19:23:41 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:

Description Paolo Abeni 2021-06-30 15:23:21 UTC
The mentioned device feature is not exposed by the geneve devices:

ethtool -k <geneve device name>|grep frag
	tx-scatter-gather-fraglist: off [fixed]

that leads to unneeded segmentation for GSO traffic traversing such device, impacting especially layered products like OSP.

Fixed by the upstream commit:

commit 18423e1a9d7d72c84f04e7f5fa31070855966ea7
Author: Xin Long <lucien.xin>
Date:   Fri Jan 15 17:47:46 2021 +0800

    geneve: add NETIF_F_FRAGLIST flag for dev features

With the above commit applied the expected result is:

ethtool -k <geneve device name>|grep frag
	tx-scatter-gather-fraglist: on

Comment 5 Jianlin Shi 2021-07-07 08:10:40 UTC
reproduced on 4.18.0-316:

[root@hpe-dl380pgen8-02-vm-16 ~]# ip link add geneve1 type geneve id 1234 remote 1.1.1.1              
[root@hpe-dl380pgen8-02-vm-16 ~]# ethtool -k geneve1 | grep frag                                      
        tx-scatter-gather-fraglist: off [fixed]                                                       
[root@hpe-dl380pgen8-02-vm-16 ~]# uname -a                                                            
Linux hpe-dl380pgen8-02-vm-16.hpe2.lab.eng.bos.redhat.com 4.18.0-316.el8.x86_64 #1 SMP Mon Jun 21 15:32:48 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux

Verified with kernel in comment 4:

[root@hpe-dl380pgen8-02-vm-16 ~]# uname -a
Linux hpe-dl380pgen8-02-vm-16.hpe2.lab.eng.bos.redhat.com 4.18.0-319.el8.mr892_210701_1056.x86_64 #1 SMP Thu Jul 1 11:09:06 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@hpe-dl380pgen8-02-vm-16 ~]# ip link add geneve1 type geneve id 1234 remote 1.1.1.1              
[root@hpe-dl380pgen8-02-vm-16 ~]# ethtool  -k geneve1 | grep frag                                     
        tx-scatter-gather-fraglist: on

Comment 11 Jianlin Shi 2021-07-19 03:37:06 UTC
Verified on 4.18.0-322:

[root@kvm-02-guest09 ~]# uname -a
Linux kvm-02-guest09.rhts.eng.brq.redhat.com 4.18.0-322.el8.x86_64 #1 SMP Wed Jul 7 22:22:31 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@kvm-02-guest09 ~]# ip link add geneve1 type geneve id 1234 remote 1.1.1.1 
[root@kvm-02-guest09 ~]# ethtool -k geneve1 | grep frag
        tx-scatter-gather-fraglist: on

Comment 13 errata-xmlrpc 2021-11-09 19:23:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: kernel security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4356