Home
last modified time | relevance | path

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

123

/linux/Documentation/bpf/
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/
A Dl2_tos_ttl_inherit.sh66 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 …]
A 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/include/net/
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()
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()
A 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/drivers/net/ethernet/mellanox/mlx5/core/steering/
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 …]
A 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()
1068 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_tnl_bit_mask()
[all …]
A 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()
1399 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_dst_bit_mask()
1432 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_tnl_bit_mask()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
A 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()
A Dport_sel.h27 struct mlx5_lag_ttc outer; member
/linux/Documentation/networking/
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
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
A Dseg6-sysctl.rst29 Controls the behaviour of computing the flowlabel of outer
/linux/drivers/net/ethernet/intel/ice/
A Dice_virtchnl.c2861 supported_caps->outer = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps()
3054 struct virtchnl_vlan *outer = &vlan_fltr->outer; in ice_vc_validate_vlan_filter_list() local
3057 if ((ice_vc_is_valid_vlan(outer) && in ice_vc_validate_vlan_filter_list()
3063 if ((outer->tci_mask && in ice_vc_validate_vlan_filter_list()
3069 if (((outer->tci & VLAN_PRIO_MASK) && in ice_vc_validate_vlan_filter_list()
3075 if ((ice_vc_is_valid_vlan(outer) && in ice_vc_validate_vlan_filter_list()
3077 outer->tpid)) || in ice_vc_validate_vlan_filter_list()
3140 vc_vlan = &vlan_fltr->outer; in ice_vc_del_vlans()
3246 vc_vlan = &vlan_fltr->outer; in ice_vc_add_vlans()
3410 (!caps->outer && !caps->inner)) in ice_vc_valid_vlan_setting_msg()
[all …]
/linux/tools/net/ynl/lib/
A 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/lib/
A Dlocking-selftest.c2527 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/Documentation/devicetree/bindings/cache/
A Dl2c2x0.yaml49 # compatible with the ARM one with outer cache mode.
50 - marvell,aurora-outer-cache
177 arm,outer-sync-disable:
178 description: disable the outer sync operation on the L2 cache.
180 will randomly hang unless outer sync operations are disabled.
A Dsocionext,uniphier-system-cache.yaml7 title: UniPhier outer cache controller
10 UniPhier ARM 32-bit SoCs are integrated with a full-custom outer cache
/linux/arch/m68k/math-emu/
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/include/linux/
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/net/tipc/
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/drivers/net/ethernet/intel/iavf/
A 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()
1514 if (insertion_support->outer) { in iavf_set_queue_vlan_tag_loc()
1515 if (insertion_support->outer & in iavf_set_queue_vlan_tag_loc()
4631 if (stripping_support->outer & in iavf_get_netdev_vlan_hw_features()
4634 if (stripping_support->outer & in iavf_get_netdev_vlan_hw_features()
4647 if (insertion_support->outer & in iavf_get_netdev_vlan_hw_features()
4650 if (insertion_support->outer & in iavf_get_netdev_vlan_hw_features()
4701 if (stripping_support->outer & in iavf_get_netdev_vlan_features()
4721 if (insertion_support->outer & in iavf_get_netdev_vlan_features()
[all …]
/linux/arch/arm/boot/dts/arm/
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/
A 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/Documentation/userspace-api/media/dvb/
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

Completed in 73 milliseconds

123