Skip to contentSkip to conversation

igc: Add 64 bit DMA access support

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

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

PATCH 1/1 igc: Add 64 bit DMA access support

On relevant platforms ndo_start_xmit can handle socket buffer fragments in high memory

---
 drivers/net/ethernet/intel/igc/igc_main.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/net/ethernet/intel/igc/igc_main.c +3 -0
index 9e888f9c0217..2ad07a5cf55e 100644
@@ -4446,6 +4446,9 @@ static int igc_probe(struct pci_dev *pdev,
 	netdev->hw_features |= NETIF_F_NTUPLE;
 	netdev->hw_features |= netdev->features;
 
+	if (pci_using_dac)
+		netdev->features |= NETIF_F_HIGHDMA;
+
 	/* MTU range: 68 - 9216 */
 	netdev->min_mtu = ETH_MIN_MTU;
 	netdev->max_mtu = MAX_STD_JUMBO_FRAME_SIZE;
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 igc: Add 64 bit DMA access support

Quoted 6 lines

From: Intel-wired-lan <[email protected]> On Behalf Of Sasha Neftin
Sent: Wednesday, November 13, 2019 1:27 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH v1] igc: Add 64 bit DMA access support

Quoted 8 lines

On relevant platforms ndo_start_xmit can handle socket buffer fragments in high memory

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