Home
last modified time | relevance | path

Searched refs:dscp (Results 51 – 74 of 74) sorted by relevance

123

/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dlib.sh1104 "skip_hw ip_tos $((dscp << 2))"
1132 echo "[$dscp]=$t "
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dlib.sh1104 "skip_hw ip_tos $((dscp << 2))"
1132 echo "[$dscp]=$t "
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Dnet_forwarding_lib.sh1104 "skip_hw ip_tos $((dscp << 2))"
1132 echo "[$dscp]=$t "
/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dnet_forwarding_lib.sh1104 "skip_hw ip_tos $((dscp << 2))"
1132 echo "[$dscp]=$t "
/openbmc/linux/net/sctp/
H A Dsocket.c2595 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 Dipv6.c234 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 Dslave.c2189 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 Droute.c2933 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 Dfib_semantics.c530 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 Dprestera_router.c708 fri.dscp = fc->fen4_info.dscp; in __prestera_k_arb_fib_lpm_offload_set()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dreg.h4210 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 Dspectrum_router.c487 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 Dhns3_enet.c2983 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 Dhnae3.h774 int (*get_dscp_prio)(struct hnae3_handle *handle, u8 dscp,
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.h434 struct lan966x_port_qos_dscp dscp; member
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dcb.c461 dscp2pri->dscp = app->protocol; in bnxt_hwrm_queue_dscp2pri_cfg()
/openbmc/qemu/hw/net/
H A Dcadence_gem.c875 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 Ddr_ste_v0.c858 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 Ddr_ste_v1.c1234 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 Dmlx5_ifc.h809 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 Dhclge_main.c12670 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 Dcfg80211.h3530 u8 dscp; member
/openbmc/linux/net/netfilter/
H A DKconfig1302 tristate '"dscp" and "tos" match support'
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dqp.c3565 MLX5_SET(ads, path, dscp, grh->traffic_class >> 2); in mlx5_set_path()

123