Searched refs:tclass (Results 26 - 50 of 67) sorted by relevance

123

/linux-master/net/ipv6/
H A Dipv6_sockglue.c745 val |= np->tclass & INET_ECN_MASK;
747 if (np->tclass != val) {
748 np->tclass = val;
1172 int tclass = (int)ip6_tclass(np->rcv_flowinfo); local
1174 put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass);
1278 val = np->tclass;
H A Dtcp_ipv6.c265 fl6.flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label);
539 u8 tclass; local
556 tclass = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_reflect_tos) ?
558 (np->tclass & INET_ECN_MASK) :
559 np->tclass;
561 if (!INET_ECN_is_capable(tclass) &&
563 tclass |= INET_ECN_ECT_0;
570 opt, tclass, READ_ONCE(sk->sk_priority));
866 int oif, int rst, u8 tclass, __be32 label,
999 tclass
864 tcp_v6_send_response(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, int rst, u8 tclass, __be32 label, u32 priority, u32 txhash, struct tcp_key *key) argument
1144 tcp_v6_send_ack(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, struct tcp_key *key, u8 tclass, __be32 label, u32 priority, u32 txhash) argument
[all...]
H A Ddatagram.c55 fl6->flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label);
633 int tclass = ipv6_get_dsfield(ipv6_hdr(skb)); local
634 put_cmsg(msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass);
1013 ipc6->tclass = tc;
H A Dinet6_connection_sock.c136 np->tclass, READ_ONCE(sk->sk_priority));
H A Dping.c152 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel);
H A Draw.c893 if (ipc6.tclass < 0)
894 ipc6.tclass = np->tclass;
896 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel);
H A Dudp.c1551 if (ipc6.tclass < 0)
1552 ipc6.tclass = np->tclass;
1554 fl6->flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6->flowlabel);
H A Dicmp.c593 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel);
796 ipc6.tclass = ipv6_get_dsfield(ipv6_hdr(skb));
H A Dip6_output.c264 __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority)
330 ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel,
1379 v6_cork->tclass = ipc6->tclass;
1917 ip6_flow_hdr(hdr, v6_cork->tclass,
263 ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6, __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority) argument
H A Dndisc.c450 unsigned tclass; local
454 tclass = idev ? READ_ONCE(idev->cnf.ndisc_tclass) : 0;
461 ip6_flow_hdr(hdr, tclass, 0);
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c68 if (fltr->ip_mask.tclass && fltr->ip_mask.tclass != U8_MAX)
359 if (fltr->ip_mask.tclass == U8_MAX) {
360 iph->priority = (fltr->ip_data.tclass >> 4) & 0xF;
361 iph->flow_lbl[0] = FIELD_PREP(0xF0, fltr->ip_data.tclass);
/linux-master/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c204 const __u8 tclass = DEFAULT_TOS_VALUE; local
209 ip6_flow_hdr(ip6h, tclass, 0);
/linux-master/drivers/infiniband/hw/mlx4/
H A Dmcg.c91 u8 tclass; member in struct:ib_sa_mcmember_data
400 src->tclass != dst->tclass)
1041 group->rec.tclass,
/linux-master/include/linux/mlx5/
H A Dqp.h331 u8 tclass; member in struct:mlx5_av
/linux-master/include/uapi/linux/
H A Dethtool.h1026 * @tclass: Traffic Class
1035 __u8 tclass; member in struct:ethtool_tcpip6_spec
1043 * @tclass: Traffic Class
1051 __u8 tclass; member in struct:ethtool_ah_espip6_spec
1059 * @tclass: Traffic Class
1066 __u8 tclass; member in struct:ethtool_usrip6_spec
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c615 if (l3_mask->l4_4_bytes || l3_mask->tclass)
633 if (l4_mask->tclass)
H A Dport.c658 MLX5_SET(qtct_reg, in, tclass, prio_tc[i]);
686 *tc = MLX5_GET(qtct_reg, out, tclass);
/linux-master/drivers/net/ethernet/sfc/
H A Dethtool_common.c1029 if (ip6_mask->tclass)
1060 if (uip6_mask->l4_4_bytes || uip6_mask->tclass)
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c1131 if (ip6_mask->tclass)
1162 if (uip6_mask->l4_4_bytes || uip6_mask->tclass)
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c1030 if (ip6_mask->tclass)
1061 if (uip6_mask->l4_4_bytes || uip6_mask->tclass)
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c3787 u8 tclass; local
3798 tclass = hw->local_dcbx_config.etscfg.prioritytable[prio];
3800 if (unlikely(!(vsi->tc_config.enabled_tc & BIT(tclass))))
3801 tclass = 0;
3804 qcount = vsi->tc_config.tc_info[tclass].qcount;
3807 qoffset = vsi->tc_config.tc_info[tclass].qoffset;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dpci.c294 int tclass; local
301 tclass = q->num == MLXSW_PCI_SDQ_EMAD_INDEX ? MLXSW_PCI_SDQ_EMAD_TC :
309 mlxsw_cmd_mbox_sw2hw_dq_sdq_tclass_set(mbox, tclass);
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c798 (ah_esp_mask->tclass & ah_esp_hdr->tclass))
/linux-master/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c371 val_16 = htons(match->tclass << 4);
372 mask_16 = htons(mask->tclass << 4);
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c250 fsp->h_u.tcp_ip6_spec.tclass)) {
252 "ethtool: The specified tos tclass are not supported\n");

Completed in 345 milliseconds

123