Searched refs:br_idx (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | jit.c | 3542 struct nfp_insn_meta *jmp_dst, u32 br_idx) in nfp_fixup_immed_relo() argument 3544 if (immed_get_value(nfp_prog->prog[br_idx + 1])) { in nfp_fixup_immed_relo() 3549 immed_set_value(&nfp_prog->prog[br_idx + 1], jmp_dst->off); in nfp_fixup_immed_relo() 3557 u32 idx, br_idx; in nfp_fixup_branches() local 3572 br_idx = nfp_prog->last_bpf_off; in nfp_fixup_branches() 3574 br_idx = list_next_entry(meta, l)->off - 1; in nfp_fixup_branches() 3582 br_idx -= meta->num_insns_after_br; in nfp_fixup_branches() 3584 if (!nfp_is_br(nfp_prog->prog[br_idx])) { in nfp_fixup_branches() 3586 br_idx, meta->insn.code, nfp_prog->prog[br_idx]); in nfp_fixup_branches() 3594 if (FIELD_GET(OP_RELO_TYPE, nfp_prog->prog[br_idx]) != in nfp_fixup_branches() [all …]
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 4538 int *br_idx, int *brport_idx, in valid_fdb_dump_strict() argument 4580 *br_idx = nla_get_u32(tb[NDA_MASTER]); in valid_fdb_dump_strict() 4592 int *br_idx, int *brport_idx, in valid_fdb_dump_legacy() argument 4617 *br_idx = nla_get_u32(tb[IFLA_MASTER]); in valid_fdb_dump_legacy() 4635 int br_idx = 0; in rtnl_fdb_dump() local 4642 err = valid_fdb_dump_strict(cb->nlh, &br_idx, &brport_idx, in rtnl_fdb_dump() 4645 err = valid_fdb_dump_legacy(cb->nlh, &br_idx, &brport_idx, in rtnl_fdb_dump() 4650 if (br_idx) { in rtnl_fdb_dump() 4651 br_dev = __dev_get_by_index(net, br_idx); in rtnl_fdb_dump() 4669 if (!br_idx) { /* user did not specify a specific bridge */ in rtnl_fdb_dump() [all …]
|