Commit 0a3e5c1
net/mlx5e: Add txq to sq stats mapping
mlx5 currently maps txqs to an sq via priv->txq2sq. It is useful to map
txqs to sq_stats, as well, for direct access to stats.
Add priv->txq2sq_stats and insert mappings. The mappings will be used
next to tabulate stats information.
Signed-off-by: Joe Damato <jdamato@fastly.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 934c299 commit 0a3e5c1
3 files changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
| 870 | + | |
| 871 | + | |
870 | 872 | | |
871 | 873 | | |
872 | 874 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| |||
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| 190 | + | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
| |||
194 | 196 | | |
195 | 197 | | |
196 | 198 | | |
197 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
| |||
325 | 330 | | |
326 | 331 | | |
327 | 332 | | |
| 333 | + | |
328 | 334 | | |
329 | 335 | | |
330 | 336 | | |
| |||
342 | 348 | | |
343 | 349 | | |
344 | 350 | | |
| 351 | + | |
| 352 | + | |
345 | 353 | | |
346 | | - | |
| 354 | + | |
| 355 | + | |
347 | 356 | | |
348 | 357 | | |
349 | 358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3125 | 3125 | | |
3126 | 3126 | | |
3127 | 3127 | | |
| 3128 | + | |
3128 | 3129 | | |
3129 | 3130 | | |
3130 | 3131 | | |
| |||
3139 | 3140 | | |
3140 | 3141 | | |
3141 | 3142 | | |
| 3143 | + | |
3142 | 3144 | | |
3143 | 3145 | | |
3144 | 3146 | | |
| |||
5848 | 5850 | | |
5849 | 5851 | | |
5850 | 5852 | | |
| 5853 | + | |
| 5854 | + | |
| 5855 | + | |
| 5856 | + | |
5851 | 5857 | | |
5852 | 5858 | | |
5853 | | - | |
| 5859 | + | |
5854 | 5860 | | |
5855 | 5861 | | |
5856 | 5862 | | |
| |||
5861 | 5867 | | |
5862 | 5868 | | |
5863 | 5869 | | |
| 5870 | + | |
| 5871 | + | |
5864 | 5872 | | |
5865 | 5873 | | |
5866 | 5874 | | |
| |||
5884 | 5892 | | |
5885 | 5893 | | |
5886 | 5894 | | |
| 5895 | + | |
5887 | 5896 | | |
5888 | 5897 | | |
5889 | 5898 | | |
| |||
0 commit comments