diff options
author | Vivien Didelot <[email protected]> | 2019-10-21 16:51:16 -0400 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2019-10-22 12:37:06 -0700 |
commit | ab8ccae122a41530a89bc899ace0e46defb156a8 (patch) | |
tree | 97b5fd19733e1a432bb31e0fbb37603783b86813 /scripts/gdb/linux/utils.py | |
parent | 68bb8ea8ad0d497c28ed47423246b1ab20f26976 (diff) |
net: dsa: add ports list in the switch fabric
Add a list of switch ports within the switch fabric. This will help the
lookup of a port inside the whole fabric, and it is the first step
towards supporting multiple CPU ports, before deprecating the usage of
the unique dst->cpu_dp pointer.
In preparation for a future allocation of the dsa_port structures,
return -ENOMEM in case no structure is returned, even though this
error cannot be reached yet.
Signed-off-by: Vivien Didelot <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions