Commit 326c6e3
viostor: Move from msix_one_vector to msix_has_config_vector
What makes msix_one_vector really different from other cases in the code
is just that it means that MSI isn't used for config changes and so the
vector indices move by one (because the config vector is 0 and all the
queue vectors start from 1 then, whereas without the config vector, the
vectors for queues already start from 0).
If we wanted, we could have multiple vectors in use even without a
config vector, and that's actually a very good idea when we have less
vectors than num_queues + 1. msix_one_vector isn't a very good name any
more then.
So let's have an adaptExt->msix_has_config_vector instead.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>1 parent 305bbac commit 326c6e3
File tree
4 files changed
+14
-19
lines changed- viostor
4 files changed
+14
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 234 | + | |
242 | 235 | | |
243 | 236 | | |
244 | 237 | | |
245 | 238 | | |
246 | 239 | | |
247 | | - | |
| 240 | + | |
248 | 241 | | |
249 | 242 | | |
250 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
| 712 | + | |
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
| 717 | + | |
717 | 718 | | |
718 | | - | |
| 719 | + | |
719 | 720 | | |
720 | 721 | | |
721 | 722 | | |
| |||
770 | 771 | | |
771 | 772 | | |
772 | 773 | | |
773 | | - | |
| 774 | + | |
774 | 775 | | |
775 | 776 | | |
776 | 777 | | |
| |||
1259 | 1260 | | |
1260 | 1261 | | |
1261 | 1262 | | |
1262 | | - | |
| 1263 | + | |
1263 | 1264 | | |
1264 | | - | |
| 1265 | + | |
1265 | 1266 | | |
1266 | 1267 | | |
1267 | 1268 | | |
| |||
1584 | 1585 | | |
1585 | 1586 | | |
1586 | 1587 | | |
1587 | | - | |
| 1588 | + | |
1588 | 1589 | | |
1589 | 1590 | | |
1590 | 1591 | | |
| |||
2179 | 2180 | | |
2180 | 2181 | | |
2181 | 2182 | | |
2182 | | - | |
| 2183 | + | |
2183 | 2184 | | |
2184 | 2185 | | |
2185 | 2186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments