| /linux-6.15/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-6.15/tools/testing/selftests/net/ |
| H A D | l2_tos_ttl_inherit.sh | 66 local outer="$2" 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 355 elif [ "$outer" = "6" ]; then [all …]
|
| H A D | pmtu.sh | 409 outer="${1}" 413 if [ "${outer}" = "4" ]; then 491 outer=${2} 493 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-6.15/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() 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()
|
| H A D | gro.h | 448 struct sk_buff *p, bool outer) in inet_gro_flush() argument 460 if (flush | (outer && df)) in inet_gro_flush() 485 bool outer) in __gro_receive_network_flush() argument 493 return inet_gro_flush(nh, nh2, p, outer); in __gro_receive_network_flush()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_matcher.c | 422 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 D | dr_ste_v0.c | 709 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() 1070 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_tnl_bit_mask() [all …]
|
| H A D | dr_ste_v1.c | 968 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() 1263 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_dst_bit_mask() 1296 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_tnl_bit_mask() [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | port_sel.c | 378 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 D | port_sel.h | 27 struct mlx5_lag_ttc outer; member
|
| /linux-6.15/Documentation/networking/ |
| 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
|
| 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 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 | seg6-sysctl.rst | 29 Controls the behaviour of computing the flowlabel of outer
|
| /linux-6.15/tools/net/ynl/lib/ |
| H A D | ynl-priv.h | 207 #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.15/lib/ |
| H A D | locking-selftest.c | 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); \ 2583 dotest(spinlock_in_##outer, SUCCESS, LOCKTYPE_SPIN); \ 2584 dotest(mutex_in_##outer, SUCCESS, LOCKTYPE_MUTEX); \ 2591 dotest(RCU_in_##outer, SUCCESS, LOCKTYPE_RWLOCK); \ 2593 dotest(spinlock_in_##outer, SUCCESS, LOCKTYPE_SPIN); \ 2594 dotest(mutex_in_##outer, FAILURE, LOCKTYPE_MUTEX); \ 2598 dotest(RCU_in_##outer, SUCCESS, LOCKTYPE_RWLOCK); \ [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/cache/ |
| H A D | l2c2x0.yaml | 49 # compatible with the ARM one with outer cache mode. 50 - marvell,aurora-outer-cache 176 arm,outer-sync-disable: 177 description: disable the outer sync operation on the L2 cache. 179 will randomly hang unless outer sync operations are disabled.
|
| H A D | socionext,uniphier-system-cache.yaml | 7 title: UniPhier outer cache controller 10 UniPhier ARM 32-bit SoCs are integrated with a full-custom outer cache
|
| /linux-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_virtchnl.c | 3196 supported_caps->outer = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps() 3389 struct virtchnl_vlan *outer = &vlan_fltr->outer; in ice_vc_validate_vlan_filter_list() local 3392 if ((ice_vc_is_valid_vlan(outer) && in ice_vc_validate_vlan_filter_list() 3398 if ((outer->tci_mask && in ice_vc_validate_vlan_filter_list() 3404 if (((outer->tci & VLAN_PRIO_MASK) && in ice_vc_validate_vlan_filter_list() 3410 if ((ice_vc_is_valid_vlan(outer) && in ice_vc_validate_vlan_filter_list() 3412 outer->tpid)) || in ice_vc_validate_vlan_filter_list() 3475 vc_vlan = &vlan_fltr->outer; in ice_vc_del_vlans() 3581 vc_vlan = &vlan_fltr->outer; in ice_vc_add_vlans() 3746 (!caps->outer && !caps->inner)) in ice_vc_valid_vlan_setting_msg() [all …]
|
| /linux-6.15/arch/m68k/math-emu/ |
| H A D | fp_decode.h | 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.15/include/linux/ |
| H A D | lockdep.h | 129 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.15/net/tipc/ |
| H A D | msg.c | 523 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.15/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_main.c | 1556 if (stripping_support->outer) { in iavf_set_queue_vlan_tag_loc() 1557 if (stripping_support->outer & in iavf_set_queue_vlan_tag_loc() 1576 if (insertion_support->outer) { in iavf_set_queue_vlan_tag_loc() 1577 if (insertion_support->outer & in iavf_set_queue_vlan_tag_loc() 4918 if (stripping_support->outer & in iavf_get_netdev_vlan_hw_features() 4921 if (stripping_support->outer & in iavf_get_netdev_vlan_hw_features() 4934 if (insertion_support->outer & in iavf_get_netdev_vlan_hw_features() 4937 if (insertion_support->outer & in iavf_get_netdev_vlan_hw_features() 4988 if (stripping_support->outer & in iavf_get_netdev_vlan_features() 5008 if (insertion_support->outer & in iavf_get_netdev_vlan_features() [all …]
|
| /linux-6.15/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-srggb8-pisp-comp.rst | 53 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.15/arch/arm/boot/dts/arm/ |
| H A D | arm-realview-eb-mp.dtsi | 75 * since th outer sync operation can cause the 83 arm,outer-sync-disable;
|
| /linux-6.15/Documentation/userspace-api/media/dvb/ |
| H A D | frontend-stat-properties.rst | 210 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
|