Repository navigation
Commit d84aec4
net: ll_temac: Fix support for 64-bit platforms
The use of buffer descriptor APP4 field (32-bit) for storing skb pointer
obviously does not work on 64-bit platforms.
As APP3 is also unused, we can use that to store the other half of 64-bit
pointer values.
Contrary to what is hinted at in commit message of commit 15bfe05
("net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit")
there are no other pointers stored in cdmac_bd.
Signed-off-by: Esben Haabendal <esben@geanix.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 8425c41 commit d84aec4
2 files changed
Lines changed: 32 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
622 | 649 | | |
623 | 650 | | |
624 | 651 | | |
625 | 652 | | |
626 | 653 | | |
| 654 | + | |
627 | 655 | | |
628 | 656 | | |
629 | 657 | | |
630 | 658 | | |
631 | 659 | | |
632 | 660 | | |
633 | 661 | | |
634 | | - | |
635 | | - | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
636 | 665 | | |
637 | 666 | | |
638 | 667 | | |
| |||
711 | 740 | | |
712 | 741 | | |
713 | 742 | | |
714 | | - | |
| 743 | + | |
715 | 744 | | |
716 | 745 | | |
717 | 746 | | |
| |||
0 commit comments