From: Sasha Neftin Date: Thu, 31 Oct 2019 06:06:07 +0000 (+0200) Subject: igc: Add scatter gather support X-Git-Tag: block-5.6-2020-02-05~43^2~182^2~9 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=b7b462454a5c2aed1d8aecd165d1dae9017bd5fd;p=linux-block.git 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 Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- 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;