summaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2020-05-21 23:19:05 +0000
committerDavid S. Miller <davem@davemloft.net>2020-05-22 16:17:15 -0700
commit7aa38018be1fa4cff3e631f26bc821086ba90d29 (patch)
tree74030ab0a9bb5b3da26d958f7f18adf32ec2cad8 /tools/bpf/bpftool/prog.c
parenta74707396c9185cbbca0ae0a115b95b5a8b6bfa1 (diff)
bridge: mrp: Add br_mrp_unique_ifindex function
It is not allow to have the same net bridge port part of multiple MRP rings. Therefore add a check if the port is used already in a different MRP. In that case return failure. Fixes: 9a9f26e8f7ea ("bridge: mrp: Connect MRP API with the switchdev API") Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions