Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c1157 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 Dsparx5_port.h152 struct sparx5_port_qos_dscp dscp; member
/openbmc/linux/drivers/net/netdevsim/
H A Dfib.c84 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 Ddcb.c399 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 Dip_fib.h176 dscp_t dscp; member
217 dscp_t dscp; member
230 dscp_t dscp; member
H A Ddsa.h953 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 Dmlx5_ifc_dr_ste_v1.h311 u8 dscp[0x6]; member
357 u8 dscp[0x6]; member
H A Dmlx5_ifc_dr.h260 u8 dscp[0x6]; member
347 u8 dscp[0x6]; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_actions.c1499 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 Dcore_acl_flex_actions.h82 u8 dscp, struct netlink_ext_ack *extack);
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.c822 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 Dice_txrx.c2435 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 Dsch_cake.c1566 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 Den_dcbnl.c65 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 Dport.c989 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 Docelot.c2614 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 Dport.h225 int mlx5_set_dscp2prio(struct mlx5_core_dev *mdev, u8 dscp, u8 prio);
/openbmc/linux/net/wireless/
H A Dutil.c926 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 Dassociola.c109 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 Dfelix.c2049 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 Dwlan.c336 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 Dstructs.h189 __u8 dscp; member
897 __u8 dscp; member
1827 __u8 dscp; member
/openbmc/linux/include/soc/mscc/
H A Docelot.h1041 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 Dmvgbe.h377 u32 dscp[7]; member
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.h223 u8 dscp; member

123