]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: aquantia: driver should correctly declare vlan_features bits
authorIgor Russkikh <igor.russkikh@aquantia.com>
Mon, 7 May 2018 13:10:38 +0000 (16:10 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 1 Oct 2018 12:56:37 +0000 (14:56 +0200)
commit16a3f15f610dbf5cb8eab4bb0e27992082a7a8fa
treeaa8c7d9a2d4c0542d59e768c89a4641ae4527204
parentbfd12d00a68e52f0968e6389e6d891777705b98f
net: aquantia: driver should correctly declare vlan_features bits

BugLink: http://bugs.launchpad.net/bugs/1794889
[ Upstream commit 8c61ab7f111a2b29d051348b9cb9a39804ebf1f8 ]

In particular, not reporting SG forced skbs to be linear for vlan
interfaces over atlantic NIC.

With this fix it is possible to enable SG feature on device and
therefore optimize performance.

Reported-by: Ma Yuying <yuma@redhat.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/aquantia/atlantic/aq_nic.c