Commit 79e0c5b
net, vrf: Move dstats structure to core
Just move struct pcpu_dstats out of the vrf into the core, and streamline
the field names slightly, so they better align with the {t,l}stats ones.
No functional change otherwise. A conversion of the u64s to u64_stats_t
could be done at a separate point in future. This move is needed as we are
moving the {t,l,d}stats allocation/freeing to the core.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20231114004220.6495-2-daniel@iogearbox.net
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>1 parent 76df934 commit 79e0c5b
2 files changed
+17
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | 124 | | |
135 | 125 | | |
136 | 126 | | |
137 | 127 | | |
138 | 128 | | |
139 | | - | |
| 129 | + | |
140 | 130 | | |
141 | 131 | | |
142 | 132 | | |
| |||
161 | 151 | | |
162 | 152 | | |
163 | 153 | | |
164 | | - | |
165 | | - | |
| 154 | + | |
| 155 | + | |
166 | 156 | | |
167 | | - | |
| 157 | + | |
168 | 158 | | |
169 | 159 | | |
170 | 160 | | |
| |||
421 | 411 | | |
422 | 412 | | |
423 | 413 | | |
424 | | - | |
| 414 | + | |
425 | 415 | | |
426 | 416 | | |
427 | 417 | | |
| |||
616 | 606 | | |
617 | 607 | | |
618 | 608 | | |
619 | | - | |
| 609 | + | |
620 | 610 | | |
621 | 611 | | |
622 | 612 | | |
623 | | - | |
| 613 | + | |
624 | 614 | | |
625 | 615 | | |
626 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2755 | 2755 | | |
2756 | 2756 | | |
2757 | 2757 | | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
| 2761 | + | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
| 2767 | + | |
2758 | 2768 | | |
2759 | 2769 | | |
2760 | 2770 | | |
| |||
0 commit comments