Repository navigation
Commit 2fd527b
net: ndo_bridge_setlink: Add extack
Drivers may not be able to implement a VLAN addition or reconfiguration.
In those cases it's desirable to explain to the user that it was
rejected (and why).
To that end, add extack argument to ndo_bridge_setlink. Adapt all users
to that change.
Following patches will use the new argument in the bridge driver.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 351cbde commit 2fd527b
9 files changed
Lines changed: 20 additions & 11 deletions
File tree
- drivers/net/ethernet
- broadcom/bnxt
- emulex/benet
- intel
- i40e
- ice
- ixgbe
- include/linux
- net
- bridge
- core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9618 | 9618 | | |
9619 | 9619 | | |
9620 | 9620 | | |
9621 | | - | |
| 9621 | + | |
9622 | 9622 | | |
9623 | 9623 | | |
9624 | 9624 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4955 | 4955 | | |
4956 | 4956 | | |
4957 | 4957 | | |
4958 | | - | |
| 4958 | + | |
4959 | 4959 | | |
4960 | 4960 | | |
4961 | 4961 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11685 | 11685 | | |
11686 | 11686 | | |
11687 | 11687 | | |
| 11688 | + | |
11688 | 11689 | | |
11689 | 11690 | | |
11690 | 11691 | | |
| |||
11697 | 11698 | | |
11698 | 11699 | | |
11699 | 11700 | | |
11700 | | - | |
| 11701 | + | |
| 11702 | + | |
11701 | 11703 | | |
11702 | 11704 | | |
11703 | 11705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3624 | 3624 | | |
3625 | 3625 | | |
3626 | 3626 | | |
| 3627 | + | |
3627 | 3628 | | |
3628 | 3629 | | |
3629 | 3630 | | |
| |||
3632 | 3633 | | |
3633 | 3634 | | |
3634 | 3635 | | |
3635 | | - | |
| 3636 | + | |
3636 | 3637 | | |
3637 | 3638 | | |
3638 | 3639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9979 | 9979 | | |
9980 | 9980 | | |
9981 | 9981 | | |
9982 | | - | |
| 9982 | + | |
| 9983 | + | |
9983 | 9984 | | |
9984 | 9985 | | |
9985 | 9986 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1165 | 1165 | | |
1166 | 1166 | | |
1167 | 1167 | | |
1168 | | - | |
| 1168 | + | |
1169 | 1169 | | |
1170 | 1170 | | |
1171 | 1171 | | |
| |||
1390 | 1390 | | |
1391 | 1391 | | |
1392 | 1392 | | |
1393 | | - | |
| 1393 | + | |
| 1394 | + | |
1394 | 1395 | | |
1395 | 1396 | | |
1396 | 1397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
853 | | - | |
| 853 | + | |
| 854 | + | |
854 | 855 | | |
855 | 856 | | |
856 | 857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1138 | 1138 | | |
1139 | 1139 | | |
1140 | 1140 | | |
1141 | | - | |
| 1141 | + | |
| 1142 | + | |
1142 | 1143 | | |
1143 | 1144 | | |
1144 | 1145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4332 | 4332 | | |
4333 | 4333 | | |
4334 | 4334 | | |
4335 | | - | |
| 4335 | + | |
| 4336 | + | |
4336 | 4337 | | |
4337 | 4338 | | |
4338 | 4339 | | |
| |||
4344 | 4345 | | |
4345 | 4346 | | |
4346 | 4347 | | |
4347 | | - | |
| 4348 | + | |
| 4349 | + | |
4348 | 4350 | | |
4349 | 4351 | | |
4350 | 4352 | | |
| |||
0 commit comments