Commit c5c0b1c
vdpa/mlx5: Introduce mr for vq descriptor
Introduce the vq descriptor group and mr per ASID. Until now
.set_map on ASID 1 was only updating the cvq iotlb. From now on it also
creates a mkey for it. The current patch doesn't use it but follow-up
patches will add hardware support for mapping the vq descriptors.
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Message-Id: <20231018171456.1624030-15-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>1 parent 51f9574 commit c5c0b1c
3 files changed
Lines changed: 25 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
515 | | - | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
516 | 518 | | |
517 | 519 | | |
518 | 520 | | |
| |||
523 | 525 | | |
524 | 526 | | |
525 | 527 | | |
526 | | - | |
| 528 | + | |
527 | 529 | | |
528 | 530 | | |
529 | 531 | | |
530 | | - | |
| 532 | + | |
531 | 533 | | |
532 | 534 | | |
533 | 535 | | |
| |||
539 | 541 | | |
540 | 542 | | |
541 | 543 | | |
542 | | - | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
543 | 547 | | |
544 | 548 | | |
545 | 549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
| 865 | + | |
| 866 | + | |
865 | 867 | | |
866 | 868 | | |
867 | 869 | | |
| |||
914 | 916 | | |
915 | 917 | | |
916 | 918 | | |
917 | | - | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
918 | 922 | | |
919 | 923 | | |
920 | 924 | | |
| |||
2679 | 2683 | | |
2680 | 2684 | | |
2681 | 2685 | | |
2682 | | - | |
| 2686 | + | |
| 2687 | + | |
2683 | 2688 | | |
2684 | 2689 | | |
2685 | 2690 | | |
| |||
2698 | 2703 | | |
2699 | 2704 | | |
2700 | 2705 | | |
| 2706 | + | |
| 2707 | + | |
2701 | 2708 | | |
2702 | | - | |
| 2709 | + | |
2703 | 2710 | | |
2704 | 2711 | | |
2705 | 2712 | | |
| |||
2919 | 2926 | | |
2920 | 2927 | | |
2921 | 2928 | | |
2922 | | - | |
2923 | | - | |
| 2929 | + | |
| 2930 | + | |
2924 | 2931 | | |
2925 | 2932 | | |
2926 | 2933 | | |
| |||
2934 | 2941 | | |
2935 | 2942 | | |
2936 | 2943 | | |
2937 | | - | |
| 2944 | + | |
2938 | 2945 | | |
2939 | 2946 | | |
2940 | 2947 | | |
| |||
2944 | 2951 | | |
2945 | 2952 | | |
2946 | 2953 | | |
2947 | | - | |
2948 | 2954 | | |
2949 | 2955 | | |
2950 | 2956 | | |
| |||
0 commit comments