Home
last modified time | relevance | path

Searched refs:outer (Results 1 – 25 of 73) sorted by relevance

123

/linux/Documentation/bpf/
H A 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/tools/testing/selftests/net/
H A Dl2_tos_ttl_inherit.sh66 local outer="$2"
102 "$type" "$outer" "$inner" "$tos" "$ttl" "$vlan"
117 if [ "$outer" = "4" ]; then
120 elif [ "$outer" = "6" ]; then
134 if [ "$outer" = "4" ]; then
146 elif [ "$outer" = "6" ]; then
195 local outer="$1"
222 if [ "$outer" = "4" ]; then
281 elif [ "$outer" = "6" ]; then
348 if [ "$outer" = "4" ]; then
[all …]
H A Dpmtu.sh408 outer="${1}"
412 if [ "${outer}" = "4" ]; then
490 outer=${2}
492 if [ "${outer}" -eq 4 ]; then
1706 outer=${2}
1709 setup namespaces routing ip${inner}ip${outer} || return $ksft_skip
1723 if [ ${outer} -eq 4 ]; then
1743 check_pmtu_value ${exp_mtu} "${pmtu}" "exceeding link layer MTU on ip${inner}ip${outer} interface"
2111 outer="${1}"
2118 setup namespaces routing ${encap}${outer} || return $ksft_skip
/linux/include/net/
H A 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()
265 static inline int __INET_ECN_decapsulate(__u8 outer, __u8 inner, bool *set_ce) in __INET_ECN_decapsulate() argument
268 switch (outer & INET_ECN_MASK) { in __INET_ECN_decapsulate()
279 *set_ce = INET_ECN_is_ce(outer); in __INET_ECN_decapsulate()
284 __u8 outer, __u8 inner) in INET_ECN_decapsulate() argument
289 rc = __INET_ECN_decapsulate(outer, inner, &set_ce); in INET_ECN_decapsulate()
293 else if ((outer & INET_ECN_MASK) == INET_ECN_ECT_1) in INET_ECN_decapsulate()
/linux/Documentation/networking/
H A Dsegmentation-offloads.rst48 For encapsulated packets, SKB_GSO_TCP_FIXEDID refers only to the outer header.
55 NETIF_F_TSO_MANGLEID is relevant for both outer and inner headers, unless the
56 DF bit is not set on the outer header, in which case the device driver must
57 guarantee that the IP ID field is incremented in the outer header with every
78 contain additional headers such as an outer tunnel. In order to account
87 refer to the tunnel headers as the outer headers, while the encapsulated
107 fact that the outer header also requests to have a non-zero checksum
108 included in the outer header.
112 headers will be left with a partial checksum and only the outer header
145 only the inner-most transport header and possibly the outer-most network
[all …]
H A 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
H A Dseg6-sysctl.rst32 Controls the behaviour of computing the flowlabel of outer
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_matcher.c422 mask.outer = matcher->mask.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()
515 if (dr_mask_is_ttl_set(&mask.outer) || in dr_matcher_set_ste_builders()
[all …]
H A Ddr_ste_v0.c709 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_bit_mask()
742 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_tag()
798 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_dst_tag()
824 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_src_tag()
850 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag()
886 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_bit_mask()
937 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_tag()
998 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_bit_mask()
1011 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_tag()
1034 struct mlx5dr_match_spec *mask = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_dst_bit_mask()
[all …]
H A Ddr_ste_v1.c968 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_bit_mask()
994 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_tag()
1040 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_dst_tag()
1064 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_src_tag()
1088 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag()
1122 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask()
1172 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1230 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_bit_mask()
1242 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_tag()
1263 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_dst_bit_mask()
[all …]
/linux/drivers/net/ethernet/intel/ice/virt/
H A Dvirtchnl.c1530 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_dvm_caps()
1536 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_dvm_caps()
1544 supported_caps->outer = VIRTCHNL_VLAN_ETHERTYPE_8100 | in ice_vc_set_dvm_caps()
1556 supported_caps->outer = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps()
1567 supported_caps->outer = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps()
1602 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
1606 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
1610 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
1618 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
1625 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
[all …]
/linux/tools/net/ynl/lib/
H A Dynl-priv.h215 #define ynl_attr_for_each_nested_off(attr, outer, offset) \ argument
216 for ((attr) = ynl_attr_first(outer, outer->nla_len, \
219 (attr) = ynl_attr_next(ynl_attr_data_end(outer), attr))
221 #define ynl_attr_for_each_nested(attr, outer) \ argument
222 ynl_attr_for_each_nested_off(attr, outer, 0)
/linux/rust/syn/
H A Dpat.rs824 tokens.append_all(self.attrs.outer()); in to_tokens()
838 tokens.append_all(self.attrs.outer()); in to_tokens()
847 tokens.append_all(self.attrs.outer()); in to_tokens()
857 tokens.append_all(self.attrs.outer()); in to_tokens()
867 tokens.append_all(self.attrs.outer()); in to_tokens()
875 tokens.append_all(self.attrs.outer()); in to_tokens()
885 tokens.append_all(self.attrs.outer()); in to_tokens()
901 tokens.append_all(self.attrs.outer()); in to_tokens()
920 tokens.append_all(self.attrs.outer()); in to_tokens()
931 tokens.append_all(self.attrs.outer()); in to_tokens()
[all …]
H A Ditem.rs2956 tokens.append_all(self.attrs.outer()); in to_tokens()
2972 tokens.append_all(self.attrs.outer()); in to_tokens()
2984 tokens.append_all(self.attrs.outer()); in to_tokens()
3000 tokens.append_all(self.attrs.outer()); in to_tokens()
3015 tokens.append_all(self.attrs.outer()); in to_tokens()
3028 tokens.append_all(self.attrs.outer()); in to_tokens()
3047 tokens.append_all(self.attrs.outer()); in to_tokens()
3060 tokens.append_all(self.attrs.outer()); in to_tokens()
3075 tokens.append_all(self.attrs.outer()); in to_tokens()
3090 tokens.append_all(self.attrs.outer()); in to_tokens()
[all …]
H A Dlit.rs1291 'outer: loop { in parse_lit_str_cooked()
1320 _ => continue 'outer, in parse_lit_str_cooked()
1387 'outer: loop { in parse_lit_byte_str_cooked()
1411 continue 'outer; in parse_lit_byte_str_cooked()
1463 'outer: loop { in parse_lit_c_str_cooked()
1481 continue 'outer; in parse_lit_c_str_cooked()
1494 continue 'outer; in parse_lit_c_str_cooked()
1706 'outer: loop { in parse_lit_int()
1731 break 'outer; in parse_lit_int()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.c378 if (port_sel->outer.definers[tt]) in mlx5_lag_destroy_definers()
380 port_sel->outer.definers[tt]); in mlx5_lag_destroy_definers()
402 port_sel->outer.definers[tt] = lag_definer; in mlx5_lag_create_definers()
497 ttc_params->dests[tt].ft = port_sel->outer.definers[tt]->ft; in mlx5_lag_set_outer_ttc_params()
525 port_sel->outer.ttc = mlx5_create_ttc_table(dev, &ttc_params); in mlx5_lag_create_ttc_table()
526 return PTR_ERR_OR_ZERO(port_sel->outer.ttc); in mlx5_lag_create_ttc_table()
632 port_sel->outer.definers, in mlx5_lag_port_sel_modify()
649 mlx5_destroy_ttc_table(port_sel->outer.ttc); in mlx5_lag_port_sel_destroy()
H A Dport_sel.h27 struct mlx5_lag_ttc outer; member
/linux/lib/
H A Dlocking-selftest.c2525 #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); \
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); \
2583 dotest(spinlock_in_##outer, SUCCESS, LOCKTYPE_SPIN); \
2584 dotest(mutex_in_##outer, SUCCESS, LOCKTYPE_MUTEX); \
2590 #define DO_CONTEXT_TESTCASE_OUTER_LIMITED_PREEMPTIBLE(outer) \ argument
2591 dotest(RCU_in_##outer, SUCCESS, LOCKTYPE_RWLOCK); \
[all …]
/linux/net/tipc/
H A Dmsg.c523 struct tipc_msg *msg, *inner, *outer; in tipc_msg_try_bundle() local
556 outer = buf_msg(tskb); in tipc_msg_try_bundle()
557 tipc_msg_init(msg_prevnode(inner), outer, MSG_BUNDLER, 0, INT_H_SIZE, in tipc_msg_try_bundle()
559 msg_set_importance(outer, msg_importance(inner)); in tipc_msg_try_bundle()
560 msg_set_size(outer, INT_H_SIZE + tsz); in tipc_msg_try_bundle()
561 msg_set_msgcnt(outer, 1); in tipc_msg_try_bundle()
/linux/include/linux/
H A Dlockdep.h129 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type);
133 struct lock_class_key *key, int subclass, u8 inner, u8 outer) in lockdep_init_map_waits() argument
135 lockdep_init_map_type(lock, name, key, subclass, inner, outer, LD_LOCK_NORMAL); in lockdep_init_map_waits()
343 # define lockdep_init_map_type(lock, name, key, sub, inner, outer, type) \ argument
345 # define lockdep_init_map_waits(lock, name, key, sub, inner, outer) \ argument
/linux/arch/m68k/math-emu/
H A Dfp_decode.h356 | 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/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c1495 if (stripping_support->outer) { in iavf_set_queue_vlan_tag_loc()
1496 if (stripping_support->outer & in iavf_set_queue_vlan_tag_loc()
1500 else if (stripping_support->outer & in iavf_set_queue_vlan_tag_loc()
1515 if (insertion_support->outer) { in iavf_set_queue_vlan_tag_loc()
1516 if (insertion_support->outer & in iavf_set_queue_vlan_tag_loc()
1520 else if (insertion_support->outer & in iavf_set_queue_vlan_tag_loc()
4776 if (stripping_support->outer != VIRTCHNL_VLAN_UNSUPPORTED && in iavf_get_netdev_vlan_hw_features()
4777 stripping_support->outer & VIRTCHNL_VLAN_TOGGLE) { in iavf_get_netdev_vlan_hw_features()
4778 if (stripping_support->outer & in iavf_get_netdev_vlan_hw_features()
4781 if (stripping_support->outer & in iavf_get_netdev_vlan_hw_features()
[all …]
/linux/arch/arm/boot/dts/arm/
H A Darm-realview-eb-mp.dtsi75 * since th outer sync operation can cause the
83 arm,outer-sync-disable;
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-srggb8-pisp-comp.rst54 Each of the outer samples (q0,q3) is encoded using a 7-bit field based
57 (q0-384). Otherwise for quantization modes 0, 1 and 2: The outer sample
/linux/Documentation/userspace-api/media/dvb/
H A Dfrontend-stat-properties.rst210 Measures the number of block errors after the outer forward error
211 correction coding (after Reed-Solomon or other outer code).
222 - ``FE_SCALE_COUNTER`` - Number of error blocks counted after the outer

123