/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | lib.sh | 1104 "skip_hw ip_tos $((dscp << 2))" 1132 echo "[$dscp]=$t "
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | lib.sh | 1104 "skip_hw ip_tos $((dscp << 2))" 1132 echo "[$dscp]=$t "
|
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | net_forwarding_lib.sh | 1104 "skip_hw ip_tos $((dscp << 2))" 1132 echo "[$dscp]=$t "
|
/openbmc/linux/tools/testing/selftests/drivers/net/team/ |
H A D | net_forwarding_lib.sh | 1104 "skip_hw ip_tos $((dscp << 2))" 1132 echo "[$dscp]=$t "
|
/openbmc/linux/net/sctp/ |
H A D | socket.c | 2595 trans->dscp |= SCTP_DSCP_SET_MASK; in sctp_apply_peer_addr_params() 2601 t->dscp = params->spp_dscp & in sctp_apply_peer_addr_params() 2603 t->dscp |= SCTP_DSCP_SET_MASK; in sctp_apply_peer_addr_params() 2606 asoc->dscp |= SCTP_DSCP_SET_MASK; in sctp_apply_peer_addr_params() 2608 sp->dscp = params->spp_dscp & SCTP_DSCP_VAL_MASK; in sctp_apply_peer_addr_params() 2609 sp->dscp |= SCTP_DSCP_SET_MASK; in sctp_apply_peer_addr_params() 5966 if (trans->dscp & SCTP_DSCP_SET_MASK) { in sctp_getsockopt_peer_addr_params() 5984 if (asoc->dscp & SCTP_DSCP_SET_MASK) { in sctp_getsockopt_peer_addr_params() 5985 params.spp_dscp = asoc->dscp & SCTP_DSCP_VAL_MASK; in sctp_getsockopt_peer_addr_params() 6002 if (sp->dscp & SCTP_DSCP_SET_MASK) { in sctp_getsockopt_peer_addr_params() [all …]
|
H A D | ipv6.c | 234 if (t->dscp & SCTP_DSCP_SET_MASK) in sctp_v6_xmit() 235 tclass = t->dscp & SCTP_DSCP_VAL_MASK; in sctp_v6_xmit()
|
/openbmc/linux/net/dsa/ |
H A D | slave.c | 2189 u8 dscp = app->protocol; in dsa_slave_dcbnl_add_dscp_prio() local 2194 if (dscp >= 64) { in dsa_slave_dcbnl_add_dscp_prio() 2196 dscp); in dsa_slave_dcbnl_add_dscp_prio() 2207 err = ds->ops->port_add_dscp_prio(ds, port, dscp, new_prio); in dsa_slave_dcbnl_add_dscp_prio() 2268 u8 dscp = app->protocol; in dsa_slave_dcbnl_del_dscp_prio() local 2277 err = ds->ops->port_del_dscp_prio(ds, port, dscp, app->priority); in dsa_slave_dcbnl_del_dscp_prio()
|
/openbmc/linux/net/ipv4/ |
H A D | route.c | 2933 struct rtable *rt, u32 table_id, dscp_t dscp, in rt_fill_info() argument 2951 r->rtm_tos = inet_dscp_to_dsfield(dscp); in rt_fill_info() 3397 fri.dscp = res.dscp; in inet_rtm_getroute() 3410 fa->fa_dscp == fri.dscp && in inet_rtm_getroute() 3424 err = rt_fill_info(net, dst, src, rt, table_id, res.dscp, &fl4, in inet_rtm_getroute()
|
H A D | fib_semantics.c | 530 fri.dscp = fa->fa_dscp; in rtmsg_fib() 1796 rtm->rtm_tos = inet_dscp_to_dsfield(fri->dscp); in fib_dump_info()
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router.c | 708 fri.dscp = fc->fen4_info.dscp; in __prestera_k_arb_fib_lpm_offload_set()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | reg.h | 4210 MLXSW_ITEM32(reg, qrwe, dscp, 0x04, 1, 1); 4305 mlxsw_reg_qpdsm_prio_pack(char *payload, unsigned short prio, u8 dscp) in mlxsw_reg_qpdsm_prio_pack() argument 4308 mlxsw_reg_qpdsm_prio_entry_color0_dscp_set(payload, prio, dscp); in mlxsw_reg_qpdsm_prio_pack() 4310 mlxsw_reg_qpdsm_prio_entry_color1_dscp_set(payload, prio, dscp); in mlxsw_reg_qpdsm_prio_pack() 4312 mlxsw_reg_qpdsm_prio_entry_color2_dscp_set(payload, prio, dscp); in mlxsw_reg_qpdsm_prio_pack() 4392 mlxsw_reg_qpdpm_dscp_pack(char *payload, unsigned short dscp, u8 prio) in mlxsw_reg_qpdpm_dscp_pack() argument 4394 mlxsw_reg_qpdpm_dscp_entry_e_set(payload, dscp, 1); in mlxsw_reg_qpdpm_dscp_pack() 4395 mlxsw_reg_qpdpm_dscp_entry_prio_set(payload, dscp, prio); in mlxsw_reg_qpdpm_dscp_pack() 12224 MLXSW_ITEM32(reg, tnqdr, dscp, 0x04, 0, 6);
|
H A D | spectrum_router.c | 487 dscp_t dscp; member 5693 return !fib4_entry->dscp; in mlxsw_sp_fib4_entry_should_offload() 5755 fri.dscp = fen_info->dscp; in mlxsw_sp_fib4_offload_failed_flag_set() 5780 fri.dscp = fib4_entry->dscp; in mlxsw_sp_fib4_entry_hw_flags_set() 5803 fri.dscp = fib4_entry->dscp; in mlxsw_sp_fib4_entry_hw_flags_clear() 6256 fib4_entry->dscp = fen_info->dscp; in mlxsw_sp_fib4_entry_create() 6307 fib4_entry->dscp == fen_info->dscp && in mlxsw_sp_fib4_entry_lookup()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 2983 u8 dscp = HNS3_INVALID_DSCP; in hns3_get_skb_dscp() local 2989 dscp = ipv4_get_dsfield(ip_hdr(skb)) >> HNS3_DSCP_SHIFT; in hns3_get_skb_dscp() 2991 dscp = ipv6_get_dsfield(ipv6_hdr(skb)) >> HNS3_DSCP_SHIFT; in hns3_get_skb_dscp() 2993 return dscp; in hns3_get_skb_dscp() 3001 u8 dscp; in hns3_nic_select_queue() local 3007 dscp = hns3_get_skb_dscp(skb); in hns3_nic_select_queue() 3008 if (unlikely(dscp >= HNAE3_MAX_DSCP)) in hns3_nic_select_queue() 3011 skb->priority = h->kinfo.dscp_prio[dscp]; in hns3_nic_select_queue()
|
H A D | hnae3.h | 774 int (*get_dscp_prio)(struct hnae3_handle *handle, u8 dscp,
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.h | 434 struct lan966x_port_qos_dscp dscp; member
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_dcb.c | 461 dscp2pri->dscp = app->protocol; in bnxt_hwrm_queue_dscp2pri_cfg()
|
/openbmc/qemu/hw/net/ |
H A D | cadence_gem.c | 875 uint8_t dscp = rxbuf_ptr[14 + 1]; in get_queue_from_screen() local 876 if (dscp == FIELD_EX32(reg, SCREENING_TYPE1_REG0, DSTC_MATCH)) { in get_queue_from_screen()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste_v0.c | 858 DR_STE_SET_TAG(eth_l3_ipv4_5_tuple, tag, dscp, spec, ip_dscp); in dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag() 1187 DR_STE_SET_TAG(eth_l4, tag, dscp, spec, ip_dscp); in dr_ste_v0_build_eth_ipv6_l3_l4_tag()
|
H A D | dr_ste_v1.c | 1234 DR_STE_SET_TAG(eth_l3_ipv4_5_tuple_v1, tag, dscp, spec, ip_dscp); in dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag() 1544 DR_STE_SET_TAG(eth_l4_v1, tag, dscp, spec, ip_dscp); in dr_ste_v1_build_eth_ipv6_l3_l4_tag()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 809 u8 dscp[0x6]; member 4295 u8 dscp[0x6]; member 11156 struct mlx5_ifc_qpdpm_dscp_reg_bits dscp[64]; member
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 12670 static int hclge_get_dscp_prio(struct hnae3_handle *h, u8 dscp, u8 *tc_mode, in hclge_get_dscp_prio() argument 12675 if (dscp >= HNAE3_MAX_DSCP) in hclge_get_dscp_prio() 12681 *priority = vport->nic.kinfo.dscp_prio[dscp] == HNAE3_PRIO_ID_INVALID ? 0 : in hclge_get_dscp_prio() 12682 vport->nic.kinfo.dscp_prio[dscp]; in hclge_get_dscp_prio()
|
/openbmc/linux/include/net/ |
H A D | cfg80211.h | 3530 u8 dscp; member
|
/openbmc/linux/net/netfilter/ |
H A D | Kconfig | 1302 tristate '"dscp" and "tos" match support'
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | qp.c | 3565 MLX5_SET(ads, path, dscp, grh->traffic_class >> 2); in mlx5_set_path()
|