Commit e4a8c79
committed
net/mlx5: Change parameters for PTP internal functions
jira LE-3615
Rebuild_History Non-Buildable kernel-5.14.0-570.28.1.el9_6
commit-author Jianbo Liu <[email protected]>
commit 9f722fb
In later patch, the mlx5_clock will be allocated dynamically, its
address can be obtained from mlx5_core_dev struct, but mdev can't be
obtained from mlx5_clock because it can be shared by multiple
interfaces. So change the parameter for such internal functions, only
mdev is passed down from the callers.
Signed-off-by: Jianbo Liu <[email protected]>
Reviewed-by: Carolina Jubran <[email protected]>
Reviewed-by: Dragos Tatulea <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
(cherry picked from commit 9f722fb)
Signed-off-by: Jonathan Maple <[email protected]>1 parent 9aadae3 commit e4a8c79
1 file changed
+8
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
| 881 | + | |
882 | 882 | | |
883 | | - | |
884 | | - | |
885 | 883 | | |
886 | 884 | | |
887 | 885 | | |
| |||
900 | 898 | | |
901 | 899 | | |
902 | 900 | | |
903 | | - | |
| 901 | + | |
904 | 902 | | |
| 903 | + | |
905 | 904 | | |
906 | 905 | | |
907 | 906 | | |
| |||
922 | 921 | | |
923 | 922 | | |
924 | 923 | | |
925 | | - | |
| 924 | + | |
926 | 925 | | |
927 | 926 | | |
928 | 927 | | |
| |||
1041 | 1040 | | |
1042 | 1041 | | |
1043 | 1042 | | |
1044 | | - | |
| 1043 | + | |
1045 | 1044 | | |
1046 | | - | |
1047 | 1045 | | |
| 1046 | + | |
1048 | 1047 | | |
1049 | 1048 | | |
1050 | 1049 | | |
| |||
1135 | 1134 | | |
1136 | 1135 | | |
1137 | 1136 | | |
1138 | | - | |
| 1137 | + | |
1139 | 1138 | | |
1140 | 1139 | | |
1141 | 1140 | | |
| |||
1147 | 1146 | | |
1148 | 1147 | | |
1149 | 1148 | | |
1150 | | - | |
1151 | | - | |
1152 | 1149 | | |
1153 | 1150 | | |
1154 | 1151 | | |
1155 | 1152 | | |
1156 | | - | |
| 1153 | + | |
1157 | 1154 | | |
1158 | 1155 | | |
1159 | 1156 | | |
| |||
0 commit comments