Home
last modified time | relevance | path

Searched refs:tos (Results 26 – 50 of 316) sorted by relevance

12345678910>>...13

/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dtrace_cm.h119 TP_PROTO(struct irdma_device *iwdev, u8 tos, u8 user_pri),
120 TP_ARGS(iwdev, tos, user_pri),
122 __field(u8, tos)
126 __entry->tos = tos;
131 __entry->tos,
137 TP_PROTO(struct irdma_device *iwdev, u8 tos, u8 user_pri),
138 TP_ARGS(iwdev, tos, user_pri));
141 TP_PROTO(struct irdma_device *iwdev, u8 tos, u8 user_pri),
142 TP_ARGS(iwdev, tos, user_pri));
H A Dcm.h260 u8 tos; member
318 u8 tos; member
339 u8 tos; member
388 static inline u8 irdma_tos2dscp(u8 tos) in irdma_tos2dscp() argument
391 return (u8)FIELD_GET(IRDMA_DSCP_VAL, tos); in irdma_tos2dscp()
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_red_core.sh436 backlog=$(build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01)
451 $h3_mac tos=0x01
492 $h3_mac tos=0x01
519 $h3_mac tos=0x01
523 backlog=$(build_backlog $vlan $((2 * limit / 3)) tcp tos=0x01)
531 backlog=$(build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01)
588 $h3_mac tos=0x01
593 build_backlog $vlan $((2 * limit / 3)) tcp tos=0x01 >/dev/null
602 build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01 >/dev/null
H A Dmirror_gre.sh21 ttl 100 tos inherit allow-localremote \
48 ttl 100 tos inherit allow-localremote
140 ip link set dev $tundev type $type tos 0x10
144 ip link set dev $tundev type $type tos inherit
H A Dextack.sh43 dstport 4789 nolearning noudpcsum tos inherit ttl 100
56 dstport 4789 nolearning noudpcsum tos inherit ttl 100
95 dstport 4789 tos inherit ttl 100
123 dstport 4789 tos inherit ttl 100
H A Ddevlink_trap_tunnel_ipip.sh71 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit
168 len=48,tos=$outer_tos,proto=47,p=$payload -q &
233 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit key 233
/openbmc/linux/include/trace/events/
H A Dfib6.h25 __field( __u8, tos )
45 __entry->tos = ip6_tclass(flp->flowlabel);
82 __entry->tos, __entry->scope, __entry->flags,
H A Dfib.h26 __field( __u8, tos )
47 __entry->tos = flp->flowi4_tos;
96 __entry->tos, __entry->scope, __entry->flags,
/openbmc/linux/net/ipv4/
H A Dfib_rules.c229 if (!inet_validate_dscp(frh->tos)) { in fib4_rule_configure()
235 if (frh->tos & ~IPTOS_TOS_MASK) { in fib4_rule_configure()
239 rule4->dscp = inet_dsfield_to_dscp(frh->tos); in fib4_rule_configure()
323 if (frh->tos && inet_dscp_to_dsfield(rule4->dscp) != frh->tos) in fib4_rule_compare()
347 frh->tos = inet_dscp_to_dsfield(rule4->dscp); in fib4_rule_fill()
H A Dxfrm4_policy.c21 int tos, int oif, in __xfrm4_dst_lookup() argument
30 fl4->flowi4_tos = tos; in __xfrm4_dst_lookup()
43 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, in xfrm4_dst_lookup() argument
50 return __xfrm4_dst_lookup(net, &fl4, tos, oif, saddr, daddr, mark); in xfrm4_dst_lookup()
H A Droute.c504 __u8 tos = RT_FL_TOS(fl4); in ip_rt_fix_tos() local
507 if (tos & RTO_ONLINK) in ip_rt_fix_tos()
521 tos = ip_sock_rt_tos(sk); in __build_flow_key()
540 __u8 tos = iph->tos; in build_skb_flow_key() local
833 __u8 tos = iph->tos; in ip_do_redirect() local
2178 tos &= IPTOS_RT_MASK; in ip_route_use_hint()
2284 fl4.flowi4_tos = tos; in ip_route_input_slow()
2474 tos, dev, our); in ip_route_input_rcu()
2488 tos &= IPTOS_RT_MASK; in ip_route_input_noref()
2894 __u8 tos; in ip_route_output_tunnel() local
[all …]
H A Dah4.c135 top_iph->tos = iph->tos; in ah_output_done()
194 iph->tos = top_iph->tos; in ah_output()
209 top_iph->tos = 0; in ah_output()
251 top_iph->tos = iph->tos; in ah_output()
387 iph->tos = 0; in ah_input()
H A Dicmp.c429 inet->tos = ip_hdr(skb)->tos; in icmp_reply()
444 fl4.flowi4_tos = RT_TOS(ip_hdr(skb)->tos); in icmp_reply()
481 __be32 saddr, u8 tos, u32 mark, in icmp_route_lookup() argument
496 fl4->flowi4_tos = RT_TOS(tos); in icmp_route_lookup()
544 RT_TOS(tos), rt2->dst.dev); in icmp_route_lookup()
598 u8 tos; in __icmp_send() local
712 tos = icmp_pointers[type].error ? (RT_TOS(iph->tos) | in __icmp_send()
714 iph->tos; in __icmp_send()
731 inet_sk(sk)->tos = tos; in __icmp_send()
737 rt = icmp_route_lookup(net, &fl4, skb_in, iph, saddr, tos, mark, in __icmp_send()
H A Dip_output.c151 u8 tos) in ip_build_and_send_pkt() argument
164 iph->tos = tos; in ip_build_and_send_pkt()
457 __u8 tos) in __ip_queue_xmit() argument
496 RT_CONN_FLAGS_TOS(sk, tos), in __ip_queue_xmit()
512 *((__be16 *)iph) = htons((4 << 12) | (5 << 8) | (tos & 0xff)); in __ip_queue_xmit()
549 return __ip_queue_xmit(sk, skb, fl, inet_sk(sk)->tos); in ip_queue_xmit()
1320 cork->tos = ipc->tos; in ip_setup_cork()
1442 iph->tos = (cork->tos != -1) ? cork->tos : inet->tos; in __ip_make_skb()
1454 skb->priority = (cork->tos != -1) ? cork->priority: sk->sk_priority; in __ip_make_skb()
1617 RT_TOS(arg->tos), in ip_send_unicast_reply()
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_topo_lib.sh64 ttl 100 tos inherit
67 ttl 100 tos inherit allow-localremote
H A Dipip_lib.sh182 tunnel_create g1a $type 192.0.2.65 192.0.2.66 tos inherit "$@"
217 tunnel_create g2a $type 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 \
253 tunnel_create g1a $type 192.0.2.65 192.0.2.66 tos inherit dev dummy1 \
292 tunnel_create g2a $type 192.0.2.66 192.0.2.65 tos inherit dev dummy2 \
H A Dgre_multipath.sh85 tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1
89 tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1
123 tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2
127 tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2
/openbmc/linux/arch/x86/events/amd/
H A Dbrs.c287 u32 i, nr = 0, num, tos, start; in amd_brs_drain() local
316 tos = amd_brs_get_tos(&cfg); in amd_brs_drain()
318 num = tos - start + 1; in amd_brs_drain()
325 u32 brs_idx = tos - i; in amd_brs_drain()
/openbmc/linux/net/rds/
H A Dconnection.c87 u8 tos, int dev_if) in rds_conn_lookup() argument
95 conn->c_tos == tos && in rds_conn_lookup()
164 gfp_t gfp, u8 tos, in __rds_conn_create() argument
176 conn = rds_conn_lookup(net, head, laddr, faddr, trans, tos, dev_if); in __rds_conn_create()
210 conn->c_tos = tos; in __rds_conn_create()
315 tos, dev_if); in __rds_conn_create()
350 struct rds_transport *trans, u8 tos, in rds_conn_create() argument
353 return __rds_conn_create(net, laddr, faddr, trans, gfp, tos, 0, dev_if); in rds_conn_create()
361 u8 tos, gfp_t gfp, int dev_if) in rds_conn_create_outgoing() argument
363 return __rds_conn_create(net, laddr, faddr, trans, gfp, tos, 1, dev_if); in rds_conn_create_outgoing()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1091 fsp->h_u.tcp_ip4_spec.tos = rule->ip_data.tos; in iavf_get_ethtool_fdir_entry()
1096 fsp->m_u.tcp_ip4_spec.tos = rule->ip_mask.tos; in iavf_get_ethtool_fdir_entry()
1103 fsp->h_u.ah_ip4_spec.tos = rule->ip_data.tos; in iavf_get_ethtool_fdir_entry()
1107 fsp->m_u.ah_ip4_spec.tos = rule->ip_mask.tos; in iavf_get_ethtool_fdir_entry()
1113 fsp->h_u.usr_ip4_spec.tos = rule->ip_data.tos; in iavf_get_ethtool_fdir_entry()
1119 fsp->m_u.usr_ip4_spec.tos = rule->ip_mask.tos; in iavf_get_ethtool_fdir_entry()
1279 fltr->ip_data.tos = fsp->h_u.tcp_ip4_spec.tos; in iavf_add_fdir_fltr_info()
1284 fltr->ip_mask.tos = fsp->m_u.tcp_ip4_spec.tos; in iavf_add_fdir_fltr_info()
1292 fltr->ip_data.tos = fsp->h_u.ah_ip4_spec.tos; in iavf_add_fdir_fltr_info()
1296 fltr->ip_mask.tos = fsp->m_u.ah_ip4_spec.tos; in iavf_add_fdir_fltr_info()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c226 tmp = match.key->tos & match.mask->tos; in nfp_flower_compile_ip_ext()
227 ext->tos |= tmp & (~msk->tos); in nfp_flower_compile_ip_ext()
228 msk->tos |= match.mask->tos; in nfp_flower_compile_ip_ext()
446 ext->tos |= match.key->tos & match.mask->tos; in nfp_flower_compile_tun_ip_ext()
448 msk->tos |= match.mask->tos; in nfp_flower_compile_tun_ip_ext()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c239 attr.fl.fl4.flowi4_tos = tun_key->tos & ~INET_ECN_MASK; in mlx5e_tc_tun_create_header_ipv4()
290 ip->tos = tun_key->tos; in mlx5e_tc_tun_create_header_ipv4()
354 attr.fl.fl4.flowi4_tos = tun_key->tos & ~INET_ECN_MASK; in mlx5e_tc_tun_update_header_ipv4()
394 ip->tos = tun_key->tos; in mlx5e_tc_tun_update_header_ipv4()
509 attr.fl.fl6.flowlabel = ip6_make_flowinfo(tun_key->tos, tun_key->label); in mlx5e_tc_tun_create_header_ipv6()
559 ip6_flow_hdr(ip6h, tun_key->tos, 0); in mlx5e_tc_tun_create_header_ipv6()
662 ip6_flow_hdr(ip6h, tun_key->tos, 0); in mlx5e_tc_tun_update_header_ipv6()
904 match.mask->tos & 0x3); in mlx5e_tc_tun_parse()
906 match.key->tos & 0x3); in mlx5e_tc_tun_parse()
909 match.mask->tos >> 2); in mlx5e_tc_tun_parse()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_cm.c95 __be16 peer_port, u8 tos) in cxgb_find_route() argument
103 tos & ~INET_ECN_MASK, 0); in cxgb_find_route()
124 __be16 peer_port, u8 tos, __u32 sin6_scope_id) in cxgb_find_route6() argument
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/
H A Dqemu-targets.inc9 tos = d.getVar('HOST_OS')
20 if 'linux' not in tos:
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32_parse.h48 f->val.tos = (ntohl(val) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos()
49 f->mask.tos = (ntohl(mask) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos()
116 f->val.tos = (ntohl(val) >> 20) & 0x000000FF; in cxgb4_fill_ipv6_tos()
117 f->mask.tos = (ntohl(mask) >> 20) & 0x000000FF; in cxgb4_fill_ipv6_tos()

12345678910>>...13