/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_port.c | 1157 sparx5_port_qos_dscp_set(port, &qos->dscp); in sparx5_port_qos_set() 1263 u16 dscp; in sparx5_port_qos_dscp_rewr_set() local 1280 dscp = qos->map.map[i]; in sparx5_port_qos_dscp_rewr_set() 1281 spx5_rmw(ANA_CL_QOS_MAP_CFG_DSCP_REWR_VAL_SET(dscp), in sparx5_port_qos_dscp_rewr_set() 1293 u8 *dscp = qos->map.map; in sparx5_port_qos_dscp_set() local 1308 spx5_rmw(ANA_CL_DSCP_CFG_DSCP_QOS_VAL_SET(*(dscp + i)) | in sparx5_port_qos_dscp_set()
|
H A D | sparx5_port.h | 152 struct sparx5_port_qos_dscp dscp; member
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | fib.c | 84 dscp_t dscp; member 289 fib4_rt->dscp = fen_info->dscp; in nsim_fib4_rt_create() 328 fri.dscp = fen_info->dscp; in nsim_fib4_rt_offload_failed_flag_set() 348 fri.dscp = fib4_rt->dscp; in nsim_fib4_rt_hw_flags_set()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nic/ |
H A D | dcb.c | 399 static int nfp_nic_set_dscp2prio(struct nfp_net *nn, u8 dscp, u8 prio) in nfp_nic_set_dscp2prio() argument 416 NFP_DCB_DATA_OFF_DSCP2IDX + dscp); in nfp_nic_set_dscp2prio() 425 dcb->dscp2prio[dscp] = prio; in nfp_nic_set_dscp2prio()
|
/openbmc/linux/include/net/ |
H A D | ip_fib.h | 176 dscp_t dscp; member 217 dscp_t dscp; member 230 dscp_t dscp; member
|
H A D | dsa.h | 953 int (*port_get_dscp_prio)(struct dsa_switch *ds, int port, u8 dscp); 954 int (*port_add_dscp_prio)(struct dsa_switch *ds, int port, u8 dscp, 956 int (*port_del_dscp_prio)(struct dsa_switch *ds, int port, u8 dscp,
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | mlx5_ifc_dr_ste_v1.h | 311 u8 dscp[0x6]; member 357 u8 dscp[0x6]; member
|
H A D | mlx5_ifc_dr.h | 260 u8 dscp[0x6]; member 347 u8 dscp[0x6]; member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_acl_flex_actions.c | 1499 MLXSW_ITEM32(afa, qos, dscp, 0x04, 0, 6); 1538 enum mlxsw_afa_qos_dscp_cmd dscp_cmd, u8 dscp) in mlxsw_afa_qos_dscp_pack() argument 1541 mlxsw_afa_qos_dscp_set(payload, dscp); in mlxsw_afa_qos_dscp_pack() 1554 bool set_dscp, u8 dscp, in __mlxsw_afa_block_append_qos_dsfield() argument 1571 dscp); in __mlxsw_afa_block_append_qos_dsfield() 1590 u8 dscp, struct netlink_ext_ack *extack) in mlxsw_afa_block_append_qos_dscp() argument 1593 true, dscp, in mlxsw_afa_block_append_qos_dscp()
|
H A D | core_acl_flex_actions.h | 82 u8 dscp, struct netlink_ext_ack *extack);
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 822 int dscp, offset; in ice_dcbnl_setapp() local 824 dscp = (i * max_tc) + j; in ice_dcbnl_setapp() 827 new_cfg->dscp_map[dscp] = i; in ice_dcbnl_setapp() 830 new_cfg->dscp_map[dscp + offset] = i; in ice_dcbnl_setapp()
|
H A D | ice_txrx.c | 2435 u8 dscp = 0; in ice_get_dscp_up() local 2438 dscp = ipv4_get_dsfield(ip_hdr(skb)) >> 2; in ice_get_dscp_up() 2440 dscp = ipv6_get_dsfield(ipv6_hdr(skb)) >> 2; in ice_get_dscp_up() 2442 return dcbcfg->dscp_map[dscp]; in ice_get_dscp_up()
|
/openbmc/linux/net/sched/ |
H A D | sch_cake.c | 1566 u8 dscp; in cake_handle_diffserv() local 1575 dscp = ipv4_get_dsfield((struct iphdr *)buf) >> 2; in cake_handle_diffserv() 1577 if (wash && dscp) { in cake_handle_diffserv() 1587 return dscp; in cake_handle_diffserv() 1595 dscp = ipv6_get_dsfield((struct ipv6hdr *)buf) >> 2; in cake_handle_diffserv() 1597 if (wash && dscp) { in cake_handle_diffserv() 1607 return dscp; in cake_handle_diffserv() 1624 u8 dscp; in cake_select_tin() local 1633 dscp = cake_handle_diffserv(skb, wash); in cake_select_tin() 1648 dscp = cake_handle_diffserv(skb, wash); in cake_select_tin() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dcbnl.c | 65 static int mlx5e_set_dscp2prio(struct mlx5e_priv *priv, u8 dscp, u8 prio); 1169 static int mlx5e_set_dscp2prio(struct mlx5e_priv *priv, u8 dscp, u8 prio) in mlx5e_set_dscp2prio() argument 1173 err = mlx5_set_dscp2prio(priv->mdev, dscp, prio); in mlx5e_set_dscp2prio() 1177 priv->dcbx_dp.dscp2prio[dscp] = prio; in mlx5e_set_dscp2prio()
|
H A D | port.c | 989 int mlx5_set_dscp2prio(struct mlx5_core_dev *mdev, u8 dscp, u8 prio) in mlx5_set_dscp2prio() argument 1013 qpdpm_dscp = MLX5_ADDR_OF(qpdpm_reg, in, dscp[dscp]); in mlx5_set_dscp2prio() 1048 qpdpm_dscp = MLX5_ADDR_OF(qpdpm_reg, out, dscp[i]); in mlx5_query_dscp2prio()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 2614 int ocelot_port_get_dscp_prio(struct ocelot *ocelot, int port, u8 dscp) in ocelot_port_get_dscp_prio() argument 2617 int dscp_cfg = ocelot_read_rix(ocelot, ANA_DSCP_CFG, dscp); in ocelot_port_get_dscp_prio() 2624 dscp = ANA_DSCP_CFG_DSCP_TRANSLATE_VAL_X(dscp_cfg); in ocelot_port_get_dscp_prio() 2626 dscp_cfg = ocelot_read_rix(ocelot, ANA_DSCP_CFG, dscp); in ocelot_port_get_dscp_prio() 2639 int ocelot_port_add_dscp_prio(struct ocelot *ocelot, int port, u8 dscp, u8 prio) in ocelot_port_add_dscp_prio() argument 2660 ocelot_write_rix(ocelot, val, ANA_DSCP_CFG, dscp); in ocelot_port_add_dscp_prio() 2666 int ocelot_port_del_dscp_prio(struct ocelot *ocelot, int port, u8 dscp, u8 prio) in ocelot_port_del_dscp_prio() argument 2668 int dscp_cfg = ocelot_read_rix(ocelot, ANA_DSCP_CFG, dscp); in ocelot_port_del_dscp_prio() 2683 ocelot_write_rix(ocelot, 0, ANA_DSCP_CFG, dscp); in ocelot_port_del_dscp_prio()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | port.h | 225 int mlx5_set_dscp2prio(struct mlx5_core_dev *mdev, u8 dscp, u8 prio);
|
/openbmc/linux/net/wireless/ |
H A D | util.c | 926 unsigned int dscp; in cfg80211_classify8021d() local 951 dscp = ipv4_get_dsfield(ip_hdr(skb)) & 0xfc; in cfg80211_classify8021d() 954 dscp = ipv6_get_dsfield(ipv6_hdr(skb)) & 0xfc; in cfg80211_classify8021d() 977 unsigned int i, tmp_dscp = dscp >> 2; in cfg80211_classify8021d() 980 if (tmp_dscp == qos_map->dscp_exception[i].dscp) { in cfg80211_classify8021d() 995 ret = dscp >> 5; in cfg80211_classify8021d()
|
/openbmc/linux/net/sctp/ |
H A D | associola.c | 109 asoc->dscp = sp->dscp; in sctp_association_init() 654 peer->dscp = asoc->dscp; in sctp_assoc_add_peer()
|
/openbmc/linux/drivers/net/dsa/ocelot/ |
H A D | felix.c | 2049 static int felix_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp) in felix_port_get_dscp_prio() argument 2053 return ocelot_port_get_dscp_prio(ocelot, port, dscp); in felix_port_get_dscp_prio() 2056 static int felix_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, in felix_port_add_dscp_prio() argument 2061 return ocelot_port_add_dscp_prio(ocelot, port, dscp, prio); in felix_port_add_dscp_prio() 2064 static int felix_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, in felix_port_del_dscp_prio() argument 2069 return ocelot_port_del_dscp_prio(ocelot, port, dscp, prio); in felix_port_del_dscp_prio()
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan.c | 336 u8 dscp; in ac_classify() local 340 dscp = ipv4_get_dsfield(ip_hdr(skb)) & 0xfc; in ac_classify() 343 dscp = ipv6_get_dsfield(ipv6_hdr(skb)) & 0xfc; in ac_classify() 349 switch (dscp) { in ac_classify()
|
/openbmc/linux/include/net/sctp/ |
H A D | structs.h | 189 __u8 dscp; member 897 __u8 dscp; member 1827 __u8 dscp; member
|
/openbmc/linux/include/soc/mscc/ |
H A D | ocelot.h | 1041 int ocelot_port_get_dscp_prio(struct ocelot *ocelot, int port, u8 dscp); 1042 int ocelot_port_add_dscp_prio(struct ocelot *ocelot, int port, u8 dscp, u8 prio); 1043 int ocelot_port_del_dscp_prio(struct ocelot *ocelot, int port, u8 dscp, u8 prio);
|
/openbmc/u-boot/drivers/net/ |
H A D | mvgbe.h | 377 u32 dscp[7]; member
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.h | 223 u8 dscp; member
|