diff options
| author | Haiyang Zhang <[email protected]> | 2019-09-05 23:23:07 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-09-07 15:42:52 +0000 |
| commit | b441f79532ec13dc82d05c55badc4da1f62a6141 (patch) | |
| tree | e79292f0b00ebbed8595de82e95d6ad9a8638d67 /drivers/net/hyperv/hyperv_net.h | |
| parent | Merge tag 'mlx5-updates-2019-09-05' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
| download | kernel-b441f79532ec13dc82d05c55badc4da1f62a6141.tar.gz kernel-b441f79532ec13dc82d05c55badc4da1f62a6141.zip | |
hv_netvsc: Allow scatter-gather feature to be tunable
In a previous patch, the NETIF_F_SG was missing after the code changes.
That caused the SG feature to be "fixed". This patch includes it into
hw_features, so it is tunable again.
Fixes: 23312a3be999 ("netvsc: negotiate checksum and segmentation parameters")
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
| -rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index ecc9af050387..670ef682f268 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -822,7 +822,7 @@ struct nvsp_message { #define NETVSC_SUPPORTED_HW_FEATURES (NETIF_F_RXCSUM | NETIF_F_IP_CSUM | \ NETIF_F_TSO | NETIF_F_IPV6_CSUM | \ - NETIF_F_TSO6 | NETIF_F_LRO) + NETIF_F_TSO6 | NETIF_F_LRO | NETIF_F_SG) #define VRSS_SEND_TAB_SIZE 16 /* must be power of 2 */ #define VRSS_CHANNEL_MAX 64 |
