diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2022-08-15 10:50:08 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-17 10:55:03 -0700 |
commit | 1ed26ce4850accf88aedd1b1c7974a94396305d0 (patch) | |
tree | 50a7bc5653ff9618410f36d537f4be3db9ed77fb /kernel/bpf/queue_stack_maps.c | |
parent | 815f5f574144aaef4bce6540214cb37434be637c (diff) |
net: dsa: bcm_sf2: Introduce helper for port override offset
Depending upon the generation of switches, we have different offsets for
configuring a given port's status override where link parameters are
applied. Introduce a helper function that we re-use throughout the code
in order to let phylink callbacks configure the IMP/CPU port(s) in
subsequent changes.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'kernel/bpf/queue_stack_maps.c')
0 files changed, 0 insertions, 0 deletions