Commit d846992
bnxt_en: Implement the new toggle bit doorbell mechanism on P7 chips
The new chip family passes the Toggle bits to the driver in the NQE
notification. The driver now stores this value and sends it back to
hardware when it re-arms the RX and TX CQs. Together with the earlier
patch that guarantees the driver will only re-arm the CQ at the end of
NAPI polling if it has seen a new NQE, this method allows the hardware
to detect any dropped doorbells.
Signed-off-by: Michael Chan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent d3c1647 commit d846992
2 files changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2880 | 2880 | | |
2881 | 2881 | | |
2882 | 2882 | | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
2883 | 2889 | | |
2884 | | - | |
| 2890 | + | |
| 2891 | + | |
2885 | 2892 | | |
2886 | 2893 | | |
2887 | 2894 | | |
2888 | | - | |
2889 | | - | |
2890 | 2895 | | |
2891 | 2896 | | |
2892 | 2897 | | |
| |||
2912 | 2917 | | |
2913 | 2918 | | |
2914 | 2919 | | |
| 2920 | + | |
| 2921 | + | |
2915 | 2922 | | |
2916 | 2923 | | |
2917 | 2924 | | |
| |||
2933 | 2940 | | |
2934 | 2941 | | |
2935 | 2942 | | |
2936 | | - | |
| 2943 | + | |
| 2944 | + | |
2937 | 2945 | | |
2938 | 2946 | | |
2939 | 2947 | | |
| |||
2946 | 2954 | | |
2947 | 2955 | | |
2948 | 2956 | | |
| 2957 | + | |
2949 | 2958 | | |
2950 | 2959 | | |
2951 | 2960 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
| 1041 | + | |
1041 | 1042 | | |
1042 | 1043 | | |
1043 | 1044 | | |
| |||
0 commit comments