Home
last modified time | relevance | path

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

123

/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/tools/testing/selftests/net/
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 …]
Dpmtu.sh399 outer="${1}"
403 if [ "${outer}" = "4" ]; then
481 outer=${2}
483 if [ "${outer}" -eq 4 ]; then
1658 outer=${2}
1661 setup namespaces routing ip${inner}ip${outer} || return $ksft_skip
1675 if [ ${outer} -eq 4 ]; then
1695 check_pmtu_value ${exp_mtu} "${pmtu}" "exceeding link layer MTU on ip${inner}ip${outer} interface"
2063 outer="${1}"
2070 setup namespaces routing ${encap}${outer} || return $ksft_skip
/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()
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
275 rc = __INET_ECN_decapsulate(outer, inner, &set_ce); in INET_ECN_decapsulate()
279 else if ((outer & INET_ECN_MASK) == INET_ECN_ECT_1) in INET_ECN_decapsulate()
Dgro.h445 struct sk_buff *p, bool outer) in inet_gro_flush() argument
457 if (flush | (outer && df)) in inet_gro_flush()
482 bool outer) in __gro_receive_network_flush() argument
490 return inet_gro_flush(nh, nh2, p, outer); in __gro_receive_network_flush()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
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 …]
Ddr_ste_v0.c707 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_bit_mask()
740 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_tag()
796 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_dst_tag()
822 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_src_tag()
848 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag()
884 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_bit_mask()
935 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_tag()
996 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_bit_mask()
1009 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_tag()
1032 struct mlx5dr_match_spec *mask = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_dst_bit_mask()
[all …]
Ddr_ste_v1.c1104 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_bit_mask()
1130 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_tag()
1176 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_dst_tag()
1200 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_src_tag()
1224 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag()
1258 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask()
1308 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1366 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_bit_mask()
1378 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_tag()
1399 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_dst_bit_mask()
[all …]
/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()
Dport_sel.h27 struct mlx5_lag_ttc outer; member
/linux-6.12.1/Documentation/networking/
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
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
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
Dseg6-sysctl.rst29 Controls the behaviour of computing the flowlabel of outer
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_virtchnl.c2835 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_dvm_caps()
2841 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_dvm_caps()
2849 supported_caps->outer = VIRTCHNL_VLAN_ETHERTYPE_8100 | in ice_vc_set_dvm_caps()
2861 supported_caps->outer = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps()
2872 supported_caps->outer = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps()
2907 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2911 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2915 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2923 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2930 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
[all …]
/linux-6.12.1/tools/net/ynl/lib/
Dynl-priv.h207 #define ynl_attr_for_each_nested(attr, outer) \ argument
208 for ((attr) = ynl_attr_first(outer, outer->nla_len, \
210 (attr) = ynl_attr_next(ynl_attr_data_end(outer), attr))
/linux-6.12.1/lib/
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-6.12.1/net/tipc/
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-6.12.1/include/linux/
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-6.12.1/arch/m68k/math-emu/
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-6.12.1/drivers/net/ethernet/intel/iavf/
Diavf_main.c1494 if (stripping_support->outer) { in iavf_set_queue_vlan_tag_loc()
1495 if (stripping_support->outer & in iavf_set_queue_vlan_tag_loc()
1499 else if (stripping_support->outer & in iavf_set_queue_vlan_tag_loc()
1514 if (insertion_support->outer) { in iavf_set_queue_vlan_tag_loc()
1515 if (insertion_support->outer & in iavf_set_queue_vlan_tag_loc()
1519 else if (insertion_support->outer & in iavf_set_queue_vlan_tag_loc()
4629 if (stripping_support->outer != VIRTCHNL_VLAN_UNSUPPORTED && in iavf_get_netdev_vlan_hw_features()
4630 stripping_support->outer & VIRTCHNL_VLAN_TOGGLE) { in iavf_get_netdev_vlan_hw_features()
4631 if (stripping_support->outer & in iavf_get_netdev_vlan_hw_features()
4634 if (stripping_support->outer & in iavf_get_netdev_vlan_hw_features()
[all …]
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dpixfmt-srggb8-pisp-comp.rst53 Each of the outer samples (q0,q3) is encoded using a 7-bit field based
56 (q0-384). Otherwise for quantization modes 0, 1 and 2: The outer sample
/linux-6.12.1/arch/arm/boot/dts/arm/
Darm-realview-eb-mp.dtsi75 * since th outer sync operation can cause the
83 arm,outer-sync-disable;
/linux-6.12.1/Documentation/userspace-api/media/dvb/
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
/linux-6.12.1/scripts/
Dkernel-doc941 my $outer;
956 $outer = $lineprefix . " ";
957 $lineprefix = $outer . " ";
958 print $outer . "**Constants**\n\n";
960 print $outer . "``$parameter``\n";
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h127 u8 mlx5e_tc_get_ip_version(struct mlx5_flow_spec *spec, bool outer);

123