| /kernel/linux/linux-6.6/Documentation/bpf/ |
| D | map_of_maps.rst | 14 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/include/asm/ |
| D | outercache.h | 36 * 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.
|
| /kernel/linux/linux-6.6/arch/arm/include/asm/ |
| D | outercache.h | 36 * 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.
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| D | ice_vsi_vlan_lib.c | 447 * 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() 498 …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() 508 * ice_vsi_dis_outer_stripping - disable outer VLAN stripping 511 * Disable outer VLAN stripping via VSI context. This function should only be 515 * Only modify the outer VLAN stripping settings. The VLAN TPID and outer VLAN 537 /* clear current outer VLAN strip settings */ in ice_vsi_dis_outer_stripping() [all …]
|
| D | ice_protocol_type.h | 71 * - O: Outer 280 * G = ucast - Outer L2 MAC address is unicast. 281 * H = mcast - Outer L2 MAC address is multicast. 282 * I = bcast - Outer L2 MAC address is broadcast. 283 * J = second_outer_mac_present - 2 outer MAC headers are present in the packet. 284 * K = STAG or BVLAN - Outer L2 header has STAG (ethernet type 0x88a8) or 286 * L = ITAG - Outer L2 header has ITAG *ethernet type 0x88e7) 287 * M = EVLAN (0x8100) - Outer L2 header has EVLAN (ethernet type 0x8100) 288 * N = EVLAN (0x9100) - Outer L2 header has EVLAN (ethernet type 0x9100) 301 * A = VLAN (0x8100) - Outer L2 header has VLAN (ethernet type 0x8100) [all …]
|
| D | ice_vf_vsi_vlan_ops.c | 40 /* 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()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | l2_tos_ttl_inherit.sh | 10 # 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 …]
|
| /kernel/linux/linux-5.10/include/net/ |
| D | inet_ecn.h | 45 static inline __u8 INET_ECN_encapsulate(__u8 outer, __u8 inner) in INET_ECN_encapsulate() argument 47 outer &= ~INET_ECN_MASK; in INET_ECN_encapsulate() 48 outer |= !INET_ECN_is_ce(inner) ? (inner & INET_ECN_MASK) : in INET_ECN_encapsulate() 50 return outer; in INET_ECN_encapsulate() 216 * intersection of the appropriate arriving inner header (row) and outer 220 * |Arriving | Arriving Outer Header | 236 static inline int __INET_ECN_decapsulate(__u8 outer, __u8 inner, bool *set_ce) in __INET_ECN_decapsulate() argument 239 switch (outer & INET_ECN_MASK) { in __INET_ECN_decapsulate() 250 *set_ce = INET_ECN_is_ce(outer); in __INET_ECN_decapsulate() 255 __u8 outer, __u8 inner) in INET_ECN_decapsulate() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | dr_types.h | 486 /* VLAN ID of first VLAN tag the outer header of the incoming packet. 490 /* CFI bit of first VLAN tag in the outer header of the incoming packet. 494 /* Priority of second VLAN tag in the outer header of the incoming packet. 498 u32 gre_protocol:16; /* GRE Protocol (outer) */ 504 /* The second vlan in the outer header of the packet is s-vlan (0x8a88). 512 /* The second vlan in the outer header of the packet is c-vlan (0x8100). 516 u32 gre_key_l:8; /* GRE Key [7:0] (outer) */ 517 u32 gre_key_h:24; /* GRE Key[31:8] (outer) */ 519 u32 vxlan_vni:24; /* VXLAN VNI (outer) */ 520 u32 geneve_oam:1; /* GENEVE OAM field (outer) */ [all …]
|
| D | dr_matcher.c | 216 mask.outer = matcher->mask.outer; in dr_matcher_set_ste_builders() 235 /* Outer */ in dr_matcher_set_ste_builders() 258 if (dr_mask_is_smac_set(&mask.outer) && in dr_matcher_set_ste_builders() 259 dr_mask_is_dmac_set(&mask.outer)) { in dr_matcher_set_ste_builders() 264 if (dr_mask_is_smac_set(&mask.outer)) in dr_matcher_set_ste_builders() 267 if (DR_MASK_IS_L2_DST(mask.outer, mask.misc, outer)) in dr_matcher_set_ste_builders() 271 if (dr_mask_is_dst_addr_set(&mask.outer)) in dr_matcher_set_ste_builders() 275 if (dr_mask_is_src_addr_set(&mask.outer)) in dr_matcher_set_ste_builders() 279 if (DR_MASK_IS_ETH_L4_SET(mask.outer, mask.misc, outer)) in dr_matcher_set_ste_builders() 283 if (dr_mask_is_ipv4_5_tuple_set(&mask.outer)) in dr_matcher_set_ste_builders() [all …]
|
| /kernel/linux/linux-6.6/include/net/ |
| D | inet_ecn.h | 46 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 …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | segmentation-offloads.rst | 69 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
|
| D | checksum-offloads.rst | 57 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
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | segmentation-offloads.rst | 69 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
|
| D | checksum-offloads.rst | 57 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
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | dr_types.h | 651 /* Priority of second VLAN tag in the outer header of the incoming packet. 655 /* CFI bit of first VLAN tag in the outer header of the incoming packet. 659 /* VLAN ID of first VLAN tag the outer header of the incoming packet. 678 /* The second vlan in the outer header of the packet is c-vlan (0x8100). 686 /* The second vlan in the outer header of the packet is s-vlan (0x8a88). 693 u32 gre_protocol:16; /* GRE Protocol (outer) */ 695 u32 gre_key_h:24; /* GRE Key[31:8] (outer) */ 696 u32 gre_key_l:8; /* GRE Key [7:0] (outer) */ 698 u32 vxlan_vni:24; /* VXLAN VNI (outer) */ 701 u32 geneve_vni:24; /* GENEVE VNI field (outer) */ [all …]
|
| D | dr_matcher.c | 422 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 …]
|
| /kernel/linux/linux-6.6/include/linux/avf/ |
| D | virtchnl.h | 577 * If only outer capabilities are supported (for filtering, insertion, and/or 578 * stripping) then this refers to the outer most or single VLAN from the VF's 582 * stripping) then this refers to the outer most or single VLAN from the VF's 583 * perspective. Functionally this is the same as if only outer capabilities are 587 * If both outer and inner capabilities are supported (for filtering, insertion, 588 * and/or stripping) then outer refers to the outer most or single VLAN and 591 * There is no support for tunneled VLAN offloads, so outer or inner are never 595 u32 outer; member 608 * enabled for VLAN filtering. VLAN filtering in this case refers to the outer 609 * most VLAN from the VF's perspective. If both inner and outer filtering are [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| D | port_sel.c | 367 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() 490 ttc_params->dests[tt].ft = port_sel->outer.definers[tt]->ft; in mlx5_lag_set_outer_ttc_params() 513 port_sel->outer.ttc = mlx5_create_ttc_table(dev, &ttc_params); in mlx5_lag_create_ttc_table() 514 if (IS_ERR(port_sel->outer.ttc)) in mlx5_lag_create_ttc_table() 515 return PTR_ERR(port_sel->outer.ttc); in mlx5_lag_create_ttc_table() 621 port_sel->outer.definers, in mlx5_lag_port_sel_modify() 638 mlx5_destroy_ttc_table(port_sel->outer.ttc); in mlx5_lag_port_sel_destroy()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | test_tc_tunnel.c | 104 * network protocol, and derive the outer header fields from in __encap_ipv4() 107 * The 6in4 case tests different inner and outer protocols. As in __encap_ipv4() 108 * the inner is ipv6, but the outer expects an ipv4 header as in __encap_ipv4() 226 /* prepare new outer network header */ in __encap_ipv4() 234 /* store new outer network header */ in __encap_ipv4() 239 /* if changing outer proto type, update eth->h_proto */ in __encap_ipv4() 355 /* prepare new outer network header */ in __encap_ipv6() 362 /* store new outer network header */ in __encap_ipv6() 399 /* prepare new outer network header */ in encap_ipv6_ipip6() 410 /* store new outer network header */ in encap_ipv6_ipip6()
|
| /kernel/linux/linux-5.10/arch/m68k/math-emu/ |
| D | fp_decode.h | 184 | .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
|
| /kernel/linux/linux-6.6/arch/m68k/math-emu/ |
| D | fp_decode.h | 184 | .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
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
| D | test_tc_tunnel.c | 84 * network protocol, and derive the outer header fields from in encap_ipv4() 87 * The 6in4 case tests different inner and outer protocols. As in encap_ipv4() 88 * the inner is ipv6, but the outer expects an ipv4 header as in encap_ipv4() 190 /* prepare new outer network header */ in encap_ipv4() 198 /* store new outer network header */ in encap_ipv4() 203 /* if changing outer proto type, update eth->h_proto */ in encap_ipv4() 297 /* prepare new outer network header */ in encap_ipv6() 304 /* store new outer network header */ in encap_ipv6()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
| D | filter.h | 24 * @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
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
| D | filter.h | 24 * @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 255 * @vid: Outer VLAN ID to match, or %EFX_FILTER_VID_UNSPEC
|