Home
last modified time | relevance | path

Searched full:outer (Results 1 – 25 of 408) sorted by relevance

12345678910>>...17

/linux-6.12.1/Documentation/bpf/
Dmap_of_maps.rst14 an outer map contains instances of a single type of inner map, for example
17 When creating an outer map, an inner map instance is used to initialize the
18 metadata that the outer map holds about its inner maps. This inner map has a
19 separate lifetime from the outer map and can be deleted after the outer map has
22 The outer map supports element lookup, update and delete from user space using
23 the syscall API. A BPF program is only allowed to do element lookup in the outer
30 - A BPF program cannot update or delete outer map entries.
65 program. Note that the outer array can only be modified from user space using
88 examples of declarative initialisation of outer maps.
93 This snippet shows how to create an array based outer map:
[all …]
/linux-6.12.1/arch/arm/include/asm/
Doutercache.h36 * outer_inv_range - invalidate range of outer cache lines
47 * outer_clean_range - clean dirty outer cache lines
58 * outer_flush_range - clean and invalidate outer cache lines
69 * outer_flush_all - clean and invalidate all cache lines in the outer cache
72 * only be called with interrupts disabled and no other active outer
86 * outer_disable - clean, invalidate and disable the outer cache
88 * Disable the outer cache, ensuring that any data contained in the outer
95 * outer_resume - restore the cache configuration and re-enable outer cache
98 * and re-enable the outer cache.
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_vsi_vlan_lib.c447 * ice_vsi_ena_outer_stripping - enable outer VLAN stripping
449 * @tpid: TPID to enable outer VLAN stripping for
451 * Enable outer VLAN stripping via VSI context. This function should only be
459 * Only modify outer VLAN stripping settings and the VLAN TPID. Outer VLAN
487 /* clear current outer VLAN strip settings */ in ice_vsi_ena_outer_stripping()
499 …dev_err(ice_pf_to_dev(vsi->back), "update VSI for enabling outer VLAN stripping failed, err %d aq_… in ice_vsi_ena_outer_stripping()
509 * ice_vsi_dis_outer_stripping - disable outer VLAN stripping
512 * Disable outer VLAN stripping via VSI context. This function should only be
516 * Only modify the outer VLAN stripping settings. The VLAN TPID and outer VLAN
538 /* clear current outer VLAN strip settings */ in ice_vsi_dis_outer_stripping()
[all …]
Dice_protocol_type.h79 * - O: Outer
297 * G = ucast - Outer L2 MAC address is unicast.
298 * H = mcast - Outer L2 MAC address is multicast.
299 * I = bcast - Outer L2 MAC address is broadcast.
300 * J = second_outer_mac_present - 2 outer MAC headers are present in the packet.
301 * K = STAG or BVLAN - Outer L2 header has STAG (ethernet type 0x88a8) or
303 * L = ITAG - Outer L2 header has ITAG *ethernet type 0x88e7)
304 * M = EVLAN (0x8100) - Outer L2 header has EVLAN (ethernet type 0x8100)
305 * N = EVLAN (0x9100) - Outer L2 header has EVLAN (ethernet type 0x9100)
318 * A = VLAN (0x8100) - Outer L2 header has VLAN (ethernet type 0x8100)
[all …]
Dice_vf_vsi_vlan_ops.c40 /* setup outer VLAN ops */ in ice_port_vlan_on()
160 * This function sets up the VF VSI's inner and outer ice_vsi_vlan_ops and also
202 /* All outer VLAN offloads must be disabled */ in ice_vf_vsi_cfg_dvm_legacy_vlan_mode()
207 …dev_dbg(dev, "Failed to disable outer VLAN stripping for old VF without VIRTCHNL_VF_OFFLOAD_VLAN_V… in ice_vf_vsi_cfg_dvm_legacy_vlan_mode()
210 …dev_dbg(dev, "Failed to disable outer VLAN insertion for old VF without VIRTCHNL_VF_OFFLOAD_VLAN_V… in ice_vf_vsi_cfg_dvm_legacy_vlan_mode()
Dice_vsi_vlan_ops.c50 * By default all inner and outer VSI VLAN ops return -EOPNOTSUPP. This was done
96 * to use (i.e. inner or outer). This allows backward compatibility for VLANs
97 * since most of the Outer VSI VLAN functins are not supported when
/linux-6.12.1/tools/testing/selftests/net/
Dl2_tos_ttl_inherit.sh10 # The outer tunnel protocol of 'IPv4' or 'IPv6' is verified-
13 # outer header is working.
66 local outer="$2"
102 "$type" "$outer" "$inner" "$tos" "$ttl" "$vlan"
117 if [ "$outer" = "4" ]; then
120 elif [ "$outer" = "6" ]; then
133 # Create tunnel and assign outer IPv4/IPv6 addresses
134 if [ "$outer" = "4" ]; then
146 elif [ "$outer" = "6" ]; then
195 local outer="$1"
[all …]
/linux-6.12.1/include/net/
Dinet_ecn.h46 static inline __u8 INET_ECN_encapsulate(__u8 outer, __u8 inner) in INET_ECN_encapsulate() argument
48 outer &= ~INET_ECN_MASK; in INET_ECN_encapsulate()
49 outer |= !INET_ECN_is_ce(inner) ? (inner & INET_ECN_MASK) : in INET_ECN_encapsulate()
51 return outer; in INET_ECN_encapsulate()
231 * intersection of the appropriate arriving inner header (row) and outer
235 * |Arriving | Arriving Outer Header |
251 static inline int __INET_ECN_decapsulate(__u8 outer, __u8 inner, bool *set_ce) in __INET_ECN_decapsulate() argument
254 switch (outer & INET_ECN_MASK) { in __INET_ECN_decapsulate()
265 *set_ce = INET_ECN_is_ce(outer); in __INET_ECN_decapsulate()
270 __u8 outer, __u8 inner) in INET_ECN_decapsulate() argument
[all …]
/linux-6.12.1/Documentation/networking/
Dsegmentation-offloads.rst69 contain additional headers such as an outer tunnel. In order to account
78 refer to the tunnel headers as the outer headers, while the encapsulated
84 Outer Inner
91 Outer Inner
98 fact that the outer header also requests to have a non-zero checksum
99 included in the outer header.
103 headers will be left with a partial checksum and only the outer header
139 only the inner-most transport header and possibly the outer-most network
146 is the outer IPv4 ID field. It is up to the device drivers to guarantee
Dchecksum-offloads.rst57 encapsulated packet both the inner and outer checksums may need to be edited or
84 LCO is a technique for efficiently computing the outer checksum of an
99 compute the outer checksum without looking at the payload: we simply stop
104 skb_checksum_help()), the outer checksum will become correct by virtue of the
107 LCO is performed by the stack when constructing an outer UDP header for an
120 LCO can safely be used for nested encapsulations; in this case, the outer
131 allowing the outer checksum to be offloaded. It does, however, involve a
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_types.h647 /* Priority of second VLAN tag in the outer header of the incoming packet.
651 /* CFI bit of first VLAN tag in the outer header of the incoming packet.
655 /* VLAN ID of first VLAN tag the outer header of the incoming packet.
674 /* The second vlan in the outer header of the packet is c-vlan (0x8100).
682 /* The second vlan in the outer header of the packet is s-vlan (0x8a88).
689 u32 gre_protocol:16; /* GRE Protocol (outer) */
691 u32 gre_key_h:24; /* GRE Key[31:8] (outer) */
692 u32 gre_key_l:8; /* GRE Key [7:0] (outer) */
694 u32 vxlan_vni:24; /* VXLAN VNI (outer) */
697 u32 geneve_vni:24; /* GENEVE VNI field (outer) */
[all …]
Ddr_matcher.c422 mask.outer = matcher->mask.outer; in dr_matcher_set_ste_builders()
457 /* Outer */ in dr_matcher_set_ste_builders()
484 if (dr_mask_is_smac_set(&mask.outer) && in dr_matcher_set_ste_builders()
485 dr_mask_is_dmac_set(&mask.outer)) { in dr_matcher_set_ste_builders()
490 if (dr_mask_is_smac_set(&mask.outer)) in dr_matcher_set_ste_builders()
494 if (DR_MASK_IS_L2_DST(mask.outer, mask.misc, outer)) in dr_matcher_set_ste_builders()
499 if (DR_MASK_IS_DST_IP_SET(&mask.outer)) in dr_matcher_set_ste_builders()
503 if (DR_MASK_IS_SRC_IP_SET(&mask.outer)) in dr_matcher_set_ste_builders()
507 if (DR_MASK_IS_ETH_L4_SET(mask.outer, mask.misc, outer)) in dr_matcher_set_ste_builders()
511 if (dr_mask_is_ipv4_5_tuple_set(&mask.outer)) in dr_matcher_set_ste_builders()
[all …]
/linux-6.12.1/include/linux/avf/
Dvirtchnl.h579 * If only outer capabilities are supported (for filtering, insertion, and/or
580 * stripping) then this refers to the outer most or single VLAN from the VF's
584 * stripping) then this refers to the outer most or single VLAN from the VF's
585 * perspective. Functionally this is the same as if only outer capabilities are
589 * If both outer and inner capabilities are supported (for filtering, insertion,
590 * and/or stripping) then outer refers to the outer most or single VLAN and
593 * There is no support for tunneled VLAN offloads, so outer or inner are never
597 u32 outer; member
610 * enabled for VLAN filtering. VLAN filtering in this case refers to the outer
611 * most VLAN from the VF's perspective. If both inner and outer filtering are
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtest_mmap_inner_array.c35 ASSERT_FALSE(skel->bss->outer_map_match, "outer map match 1"); in test_mmap_inner_array()
47 /* outer map key is set, outer_map_match == true */ in test_mmap_inner_array()
49 ASSERT_TRUE(skel->bss->outer_map_match, "outer map match 2"); in test_mmap_inner_array()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c107 * network protocol, and derive the outer header fields from in __encap_ipv4()
110 * The 6in4 case tests different inner and outer protocols. As in __encap_ipv4()
111 * the inner is ipv6, but the outer expects an ipv4 header as in __encap_ipv4()
229 /* prepare new outer network header */ in __encap_ipv4()
237 /* store new outer network header */ in __encap_ipv4()
242 /* if changing outer proto type, update eth->h_proto */ in __encap_ipv4()
358 /* prepare new outer network header */ in __encap_ipv6()
365 /* store new outer network header */ in __encap_ipv6()
402 /* prepare new outer network header */ in encap_ipv6_ipip6()
413 /* store new outer network header */ in encap_ipv6_ipip6()
/linux-6.12.1/arch/m68k/math-emu/
Dfp_decode.h184 | .long "no memory indirect action/reserved","null outer displacement"
185 | .long "word outer displacement","long outer displacement"
356 | with base and/or outer displacement
390 1: printf PDECODE,"0" | null outer displacement
393 2: fp_get_instr_word %a0,fp_err_ua1 | 16bit outer displacement
396 3: fp_get_instr_long %a0,fp_err_ua1 | 32bit outer displacement
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Dfilter.h24 * @EFX_FILTER_MATCH_OUTER_VID: Match by outer VLAN ID
36 * or local 2-tuple, or local MAC with or without outer VID, and RX
41 * with or without outer and inner VID
105 * @EFX_ENCAP_FLAG_IPV6: indicates IPv6 outer frame
130 * @outer_vid: Outer VLAN ID to match, if %EFX_FILTER_MATCH_OUTER_VID is set
254 * @vid: Outer VLAN ID to match, or %EFX_FILTER_VID_UNSPEC
/linux-6.12.1/tools/testing/selftests/net/forwarding/
Dtc_mpls_l2vpn.sh17 # | -add outer Ethernet header |
22 # | | -remove outer Ethernet header |
32 # | -remove outer Ethernet header |
39 # | | -add outer Ethernet header |
/linux-6.12.1/arch/arm/mm/
Dproc-v7-2level.S19 /* PTWs cacheable, inner WB not shareable, outer WB not shareable */
23 /* PTWs cacheable, inner WBWA shareable, outer WBWA not shareable */
117 * OR = NMRR[2n+17:2n+16] - outer cacheable property
137 * NOS = PRRR[24+n] = 1 - not outer shareable
/linux-6.12.1/tools/testing/selftests/bpf/map_tests/
Dmap_in_map_batch_ops.c29 * in outer map and return the created map_fds
49 * to add records in outer map in create_inner_maps()
76 "outer bpf_map_create()", in create_outer_map()
206 /* create outer map keys */ in _map_in_map_batch_ops()
216 "Failed to update the outer map batch ops", in _map_in_map_batch_ops()
/linux-6.12.1/Documentation/devicetree/bindings/cache/
Dl2c2x0.yaml49 # compatible with the ARM one with outer cache mode.
50 - marvell,aurora-outer-cache
177 arm,outer-sync-disable:
178 description: disable the outer sync operation on the L2 cache.
180 will randomly hang unless outer sync operations are disabled.
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c367 if (port_sel->outer.definers[tt]) in mlx5_lag_destroy_definers()
369 port_sel->outer.definers[tt]); in mlx5_lag_destroy_definers()
391 port_sel->outer.definers[tt] = lag_definer; in mlx5_lag_create_definers()
486 ttc_params->dests[tt].ft = port_sel->outer.definers[tt]->ft; in mlx5_lag_set_outer_ttc_params()
509 port_sel->outer.ttc = mlx5_create_ttc_table(dev, &ttc_params); in mlx5_lag_create_ttc_table()
510 return PTR_ERR_OR_ZERO(port_sel->outer.ttc); in mlx5_lag_create_ttc_table()
609 port_sel->outer.definers, in mlx5_lag_port_sel_modify()
626 mlx5_destroy_ttc_table(port_sel->outer.ttc); in mlx5_lag_port_sel_destroy()
/linux-6.12.1/drivers/net/ethernet/sfc/falcon/
Dfilter.h24 * @EF4_FILTER_MATCH_OUTER_VID: Match by outer VLAN ID
35 * or local 2-tuple, or local MAC with or without outer VID, and RX
40 * with or without outer and inner VID
106 * @outer_vid: Outer VLAN ID to match, if %EF4_FILTER_MATCH_OUTER_VID is set
228 * @vid: Outer VLAN ID to match, or %EF4_FILTER_VID_UNSPEC
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_flow_dissector.c5 * IPv4/IPv6 outer layer 3
6 * GRE/GUE/BARE outer layer 4, where bare is IPIP/SIT/IPv4-in-IPv6/..
719 error(1, 0, "options: must specify outer with encap"); in parse_opts()
721 error(1, 0, "options: cannot combine no-encap and outer"); in parse_opts()
731 * on decap, if outer encountered congestion (CE == 0x3), in parse_opts()
755 util_printaddr("outer.dest6", (void *) &out_daddr6); in print_opts()
756 util_printaddr("outer.source6", (void *) &out_saddr6); in print_opts()
758 util_printaddr("outer.dest4", (void *) &out_daddr4); in print_opts()
759 util_printaddr("outer.source4", (void *) &out_saddr4); in print_opts()
/linux-6.12.1/drivers/net/ethernet/sfc/
Dfilter.h25 * @EFX_FILTER_MATCH_OUTER_VID: Match by outer VLAN ID
35 * with or without outer and inner VID
101 * @EFX_ENCAP_FLAG_IPV6: indicates IPv6 outer frame
129 * @outer_vid: Outer VLAN ID to match, if %EFX_FILTER_MATCH_OUTER_VID is set
275 * @vid: Outer VLAN ID to match, or %EFX_FILTER_VID_UNSPEC

12345678910>>...17