Skip to contentSkip to conversation

igc: Add scatter gather support

PATCH New Sasha Neftin 2 participants 2 messages Oct 31, 2019 – Nov 13, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

v2: fix typo in commit message

---
 drivers/net/ethernet/intel/igc/igc_main.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/igc/igc_main.c +1 -0
index 6105c6d1f3c9..c3266645c95e 100644
@@ -4434,6 +4434,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;
Signature · 1 line
2.11.0
#1 lore raw

PATCH v2 1/1 igc: Add scatter gather support

Quoted 10 lines

From: Intel-wired-lan <[email protected]> On Behalf Of Sasha Neftin
Sent: Wednesday, October 30, 2019 11:06 PM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH v2] 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.

Quoted 7 lines

v2: fix typo in commit message

---
 drivers/net/ethernet/intel/igc/igc_main.c | 1 +
 1 file changed, 1 insertion(+)