Commit 69da40a
committed
Merge branch 'mlxsw-selftests-cleanups'
Petr Machata says:
====================
mlxsw, selftests: Cleanups
This patchset consolidates a number of disparate items that can all be
considered cleanups. They are all related to mlxsw in that they are
directly in mlxsw code, or in selftests that mlxsw heavily uses.
- patch #1 fixes a comment, patch #2 propagates an extack
- patches #3 and #4 tweak several loops to query a resource once and cache
in a local variable instead of querying on each iteration
- patches #5 and #6 fix selftest diagrams, and #7 adds a missing diagram
into an existing test
- patch #8 disables a PVID on a bridge in a selftest that should not need
said PVID
====================
Signed-off-by: David S. Miller <davem@davemloft.net>File tree
4 files changed
+43
-17
lines changed- drivers/net/ethernet/mellanox/mlxsw
- tools/testing/selftests
- drivers/net/mlxsw
- net/forwarding
4 files changed
+43
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| 751 | + | |
751 | 752 | | |
752 | 753 | | |
753 | 754 | | |
754 | | - | |
| 755 | + | |
755 | 756 | | |
756 | 757 | | |
757 | 758 | | |
| |||
792 | 793 | | |
793 | 794 | | |
794 | 795 | | |
| 796 | + | |
795 | 797 | | |
796 | 798 | | |
797 | 799 | | |
798 | 800 | | |
799 | 801 | | |
800 | | - | |
| 802 | + | |
801 | 803 | | |
802 | 804 | | |
803 | 805 | | |
| |||
959 | 961 | | |
960 | 962 | | |
961 | 963 | | |
| 964 | + | |
962 | 965 | | |
963 | 966 | | |
964 | 967 | | |
| |||
968 | 971 | | |
969 | 972 | | |
970 | 973 | | |
971 | | - | |
| 974 | + | |
972 | 975 | | |
973 | 976 | | |
974 | 977 | | |
| |||
7298 | 7301 | | |
7299 | 7302 | | |
7300 | 7303 | | |
| 7304 | + | |
7301 | 7305 | | |
7302 | 7306 | | |
7303 | | - | |
| 7307 | + | |
7304 | 7308 | | |
7305 | 7309 | | |
7306 | 7310 | | |
| |||
7699 | 7703 | | |
7700 | 7704 | | |
7701 | 7705 | | |
| 7706 | + | |
7702 | 7707 | | |
7703 | 7708 | | |
7704 | | - | |
| 7709 | + | |
7705 | 7710 | | |
7706 | 7711 | | |
7707 | 7712 | | |
| |||
9724 | 9729 | | |
9725 | 9730 | | |
9726 | 9731 | | |
9727 | | - | |
| 9732 | + | |
9728 | 9733 | | |
9729 | 9734 | | |
9730 | 9735 | | |
| |||
9923 | 9928 | | |
9924 | 9929 | | |
9925 | 9930 | | |
9926 | | - | |
| 9931 | + | |
9927 | 9932 | | |
9928 | 9933 | | |
9929 | 9934 | | |
| |||
10041 | 10046 | | |
10042 | 10047 | | |
10043 | 10048 | | |
| 10049 | + | |
10044 | 10050 | | |
10045 | 10051 | | |
10046 | 10052 | | |
10047 | 10053 | | |
10048 | | - | |
| 10054 | + | |
10049 | 10055 | | |
10050 | 10056 | | |
10051 | 10057 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | | - | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
4 | 26 | | |
5 | 27 | | |
6 | 28 | | |
| |||
41 | 63 | | |
42 | 64 | | |
43 | 65 | | |
44 | | - | |
| 66 | + | |
45 | 67 | | |
46 | 68 | | |
47 | 69 | | |
| |||
0 commit comments