igc: Add scatter gather support
Subsystems (2)
PATCH 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 enable scatter gather support.
--- drivers/net/ethernet/intel/igc/igc_main.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/igc/igc_main.c +1 -0
@@ -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
PATCH 1/1 igc: Add scatter gather support
Dear Sasha,
Quoted 3 lines · Sasha Neftin
Scatter gather is used to do DMA data transfers of data that is written to noncontiguous areas of memory.
This patch enable scatter gather support.
enable*s*
Do you have numbers, if and how this improves performance?
How can this be tested?
[?]
Kind regards,
Paul
Neftin
PATCH 1/1 igc: Add scatter gather support
Quoted 11 lines · Paul Menzel
Dear Sasha,
Quoted 4 lines · Sasha Neftin
Scatter gather is used to do DMA data transfers of data that is written to
noncontiguous areas of memory.
This patch enable scatter gather support.enable*s*
Thanks Paul - I will fix it and submit v2.
Quoted 2 lines
Do you have numbers, if and how this improves performance?
Yes, I've checked on two machines with i225 HW. For example, I've observed as follow at 2.5Gbps link speed:
sg on off
tcp 2352.93 2342.19 slightly improved
udp 2403.97 2403.49 almost no impact
Generally, I see the TCP stream more affected.
But you could observe different behavior on different machines.
Quoted 3 lines
How can this be tested?
[?]
I used netperf on my machines.
Quoted 5 lines
Kind regards,
Paul