aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2019-10-31 08:06:07 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-12-31 11:17:25 -0800
commitb7b462454a5c2aed1d8aecd165d1dae9017bd5fd (patch)
tree74a6c831092f2219bb39c6e0c92283f877665a5e /drivers
parentigb: dont drop packets if rx flow control is enabled (diff)
downloadlinux-dev-b7b462454a5c2aed1d8aecd165d1dae9017bd5fd.tar.xz
linux-dev-b7b462454a5c2aed1d8aecd165d1dae9017bd5fd.zip
igc: Add scatter gather support
Scatter gather is used to do DMA data transfers of data that is written to noncontiguous areas of memory. This patch enables scatter gather support. Signed-off-by: Sasha Neftin <sasha.neftin@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c
index 9700527dd797..75dcaa87d06b 100644
--- a/drivers/net/ethernet/intel/igc/igc_main.c
+++ b/drivers/net/ethernet/intel/igc/igc_main.c
@@ -4433,6 +4433,7 @@ static int igc_probe(struct pci_dev *pdev,
goto err_sw_init;
/* Add supported features to the features list*/
+ netdev->features |= NETIF_F_SG;
netdev->features |= NETIF_F_RXCSUM;
netdev->features |= NETIF_F_HW_CSUM;
netdev->features |= NETIF_F_SCTP_CRC;