Commit 271e015
net: rswitch: Add unmap_addrs instead of dma address in each desc
If the driver would like to transmit a jumbo frame like 2KiB or more,
it should be split into multiple queues. In the near future, to support
this, add unmap_addrs array to unmap dma mapping address instead of dma
address in each TX descriptor because the descriptors may not have
the top dma address.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 6a203cb commit 271e015
2 files changed
+12
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
| |||
322 | 324 | | |
323 | 325 | | |
324 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
325 | 330 | | |
326 | 331 | | |
327 | 332 | | |
| |||
787 | 792 | | |
788 | 793 | | |
789 | 794 | | |
790 | | - | |
791 | 795 | | |
792 | | - | |
793 | 796 | | |
794 | 797 | | |
795 | 798 | | |
| |||
798 | 801 | | |
799 | 802 | | |
800 | 803 | | |
801 | | - | |
802 | 804 | | |
803 | 805 | | |
804 | | - | |
805 | | - | |
806 | | - | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
807 | 809 | | |
808 | 810 | | |
| 811 | + | |
| 812 | + | |
809 | 813 | | |
810 | 814 | | |
811 | | - | |
812 | | - | |
813 | 815 | | |
814 | 816 | | |
815 | 817 | | |
| |||
1538 | 1540 | | |
1539 | 1541 | | |
1540 | 1542 | | |
| 1543 | + | |
1541 | 1544 | | |
1542 | 1545 | | |
1543 | 1546 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
956 | 956 | | |
957 | 957 | | |
958 | 958 | | |
| 959 | + | |
959 | 960 | | |
960 | 961 | | |
961 | 962 | | |
| |||
0 commit comments