diff options
| author | Grygorii Strashko <grygorii.strashko@ti.com> | 2021-08-06 17:59:05 +0300 |
|---|---|---|
| committer | Vignesh Raghavendra <vigneshr@ti.com> | 2021-08-15 12:47:25 +0530 |
| commit | 67bcc0100a4c71c1f37c810d6e7b1a4e45170c91 (patch) | |
| tree | 52fa6e308b8ccd473f0cd4f4f1289fb7e4893ceb /include | |
| parent | 0497909a56bead21aa45d04ce5cdb801ae1629f3 (diff) | |
net: ethernet: ti: j721e-cpsw-virt-mac: add sw irq coalescing based on hrtimers
Add SW IRQ coalescing based on hrtimers for RX/TX data path which can be
enabled by ethtool commands:
ethtool -C eth1 tx-usecs 50
ethtool -C eth1 rx-usecs 50
min value is 20us
Comapring to gro_flush_timeout, napi_defer_hard_irqs this patch allows to
enable IRQ coalesing per RX/TX path separately.
TX:
netperf -l 60 -H 192.168.1.2 -t UDP_STREAM -c -C -j -B "am5 " -s 1 -- -m1470
212992 1470 60.00 4882385 0 956.9 36.50 6.249
212992 60.00 4882385 956.9 35.84 12.272
ethtool -C eth1 tx-usecs 50
212992 1470 60.00 4882253 0 956.9 24.87 4.258
212992 60.00 4881729 956.8 35.81 12.262
netperf -l 60 -H 192.168.1.1 -t TCP_MAERTS -c -C -j -B "am6 " -s 1 -s 1
131072 16384 16384 59.02 941.40 39.60 27.91 13.785 4.858
ethtool -C eth1 tx-usecs 50
131072 16384 16384 59.02 941.36 39.60 21.11 13.786 3.674
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
