/linux/Documentation/bpf/ |
H A 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 …]
|
/linux/arch/arm/include/asm/ |
H A 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.
|
/linux/drivers/net/ethernet/intel/ice/ |
H A 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() 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 …]
|
H A D | ice_protocol_type.h | 79 * - 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 …]
|
H A 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()
|
H A D | ice_vsi_vlan_ops.c | 50 * 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
|
H A D | ice_flow.h | 320 ICE_RSS_OUTER_HEADERS, /* take outer headers as inputset. */ 322 /* take inner headers as inputset for packet with outer ipv4. */ 324 /* take inner headers as inputset for packet with outer ipv6. */ 326 /* take outer headers first then inner headers as inputset */ 334 enum ice_rss_cfg_hdr_type hdr_type; /* to specify inner or outer */
|
H A D | ice_virtchnl.c | 703 /* set outer layer RSS as default */ in ice_vc_parse_rss_cfg() 2696 /* in DVM VLAN promiscuous is based on the outer VLAN, which would be in ice_vc_process_vlan_msg() 3097 * ice_vf_outer_vlan_not_allowed - check if outer VLAN can be used 3100 * When the device is in double VLAN mode, check whether or not the outer VLAN 3118 * filtering/offload capabilities since the port VLAN is using the outer VLAN 3138 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_dvm_caps() 3144 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_dvm_caps() 3152 supported_caps->outer = VIRTCHNL_VLAN_ETHERTYPE_8100 | in ice_vc_set_dvm_caps() 3164 supported_caps->outer = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps() 3175 supported_caps->outer = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps() [all …]
|
/linux/tools/testing/selftests/net/ |
H A 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 …]
|
/linux/include/net/ |
H A 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 …]
|
/linux/Documentation/networking/ |
H A 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
|
H A 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
|
/linux/include/linux/avf/ |
H A D | virtchnl.h | 588 * If only outer capabilities are supported (for filtering, insertion, and/or 589 * stripping) then this refers to the outer most or single VLAN from the VF's 593 * stripping) then this refers to the outer most or single VLAN from the VF's 594 * perspective. Functionally this is the same as if only outer capabilities are 598 * If both outer and inner capabilities are supported (for filtering, insertion, 599 * and/or stripping) then outer refers to the outer most or single VLAN and 602 * There is no support for tunneled VLAN offloads, so outer or inner are never 606 u32 outer; member 619 * enabled for VLAN filtering. VLAN filtering in this case refers to the outer 620 * most VLAN from the VF's perspective. If both inner and outer filtering are [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_tunnel.c | 107 * 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/arch/m68k/math-emu/ |
H A 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
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_mmap_inner_array.c | 35 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/drivers/net/ethernet/sfc/siena/ |
H A 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
|
/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | map_in_map_batch_ops.c | 29 * 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/tools/testing/selftests/net/forwarding/ |
H A D | tc_mpls_l2vpn.sh | 17 # | -add outer Ethernet header | 22 # | | -remove outer Ethernet header | 32 # | -remove outer Ethernet header | 39 # | | -add outer Ethernet header |
|
/linux/arch/arm/mm/ |
H A D | proc-v7-2level.S | 19 /* 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
|
H A D | Kconfig | 590 Feroceon TLB (v4wbi with non-outer-cachable page table walks). 948 The outer cache has a outer_cache_fns.sync function pointer 949 that can be used to drain the write buffer of the outer cache. 989 bool "Enable the L2x0 outer cache controller" if MIGHT_HAVE_CACHE_L2X0 1001 of the L220 and PL310 outer cache controllers. 1050 on systems with an outer cache, the store buffer is drained 1065 bool "Enable the UniPhier outer cache controller" 1071 This option enables the UniPhier outer cache (system cache)
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | filter.h | 24 * @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/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 5 * 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/drivers/net/ethernet/sfc/ |
H A D | filter.h | 25 * @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
|
/linux/lib/ |
H A D | locking-selftest.c | 2525 #define GENERATE_2_CONTEXT_TESTCASE(outer, outer_lock, inner, inner_lock) \ argument 2527 static void __maybe_unused inner##_in_##outer(void) \ 2530 guard(outer)(outer_lock); \ 2537 * o: inner is allowed in outer 2538 * x: inner is disallowed in outer 2541 * outer \ | | | | 2579 /* the outer context allows all kinds of preemption */ 2580 #define DO_CONTEXT_TESTCASE_OUTER_PREEMPTIBLE(outer) \ argument 2581 dotest(RCU_in_##outer, SUCCESS, LOCKTYPE_RWLOCK); \ 2582 dotest(raw_spinlock_in_##outer, SUCCESS, LOCKTYPE_SPIN); \ [all …]
|