Commit f07b588
bnxt_en: Add macros related to TC and TX rings
Add 3 macros that handle to conversions between TC numbers and TX
ring numbers. These will help to clarify the existing logic and the
new logic in the next patch.
Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent f5b29c6 commit f07b588
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3415 | 3415 | | |
3416 | 3416 | | |
3417 | 3417 | | |
| 3418 | + | |
| 3419 | + | |
| 3420 | + | |
| 3421 | + | |
| 3422 | + | |
| 3423 | + | |
| 3424 | + | |
| 3425 | + | |
| 3426 | + | |
3418 | 3427 | | |
3419 | 3428 | | |
3420 | 3429 | | |
| |||
3470 | 3479 | | |
3471 | 3480 | | |
3472 | 3481 | | |
3473 | | - | |
| 3482 | + | |
3474 | 3483 | | |
3475 | 3484 | | |
3476 | 3485 | | |
| |||
9140 | 9149 | | |
9141 | 9150 | | |
9142 | 9151 | | |
9143 | | - | |
| 9152 | + | |
9144 | 9153 | | |
9145 | 9154 | | |
9146 | 9155 | | |
| |||
0 commit comments