/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 67 int prio; in get_flow_table() local 75 prio = MLX5E_ETHTOOL_L3_L4_PRIO + (max_tuples - num_tuples); in get_flow_table() 76 eth_ft = &priv->fs.ethtool.l3_l4_ft[prio]; in get_flow_table() 81 prio = MLX5E_ETHTOOL_L3_L4_PRIO + (max_tuples - num_tuples); in get_flow_table() 82 eth_ft = &priv->fs.ethtool.l3_l4_ft[prio]; in get_flow_table() 86 prio = max_tuples - num_tuples; in get_flow_table() 87 eth_ft = &priv->fs.ethtool.l2_ft[prio]; in get_flow_table() 88 prio += MLX5E_ETHTOOL_L2_PRIO; in get_flow_table() 107 ft_attr.prio = prio; in get_flow_table() [all...] |
H A D | eswitch_offloads.c | 65 u16 prio; member 72 u16 prio; member 93 ft_attr.prio = FDB_PER_VPORT; in esw_vport_tbl_create() 109 key->prio = attr->prio; in flow_attr_to_vport_key() 205 attr.prio = 1; in mlx5_esw_vport_tbl_get() 226 attr.prio = 1; in mlx5_esw_vport_tbl_put() 324 flow_act.vlan[0].prio = esw_attr->vlan_prio[0]; in mlx5_eswitch_add_offloaded_rule() 328 flow_act.vlan[1].prio = esw_attr->vlan_prio[1]; in mlx5_eswitch_add_offloaded_rule() 398 fwd_attr.prio in mlx5_eswitch_add_offloaded_rule() [all...] |
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_mrp.c | 192 hdr->prio = cpu_to_be16(mrp->prio); in br_mrp_alloc_test_skb() 480 mrp->prio = instance->prio; in br_mrp_add() 889 u16 prio = be16_to_cpu(hdr->prio); in br_mrp_test_better_than_own() local 891 if (prio < mrp->prio || in br_mrp_test_better_than_own() 892 (prio == mrp->prio in br_mrp_test_better_than_own() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_nl.c | 166 u8 prio, u8 bwg_id, u8 bw_pct, in ixgbe_dcbnl_set_pg_tc_cfg_tx() 171 if (prio != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_tx() 172 adapter->temp_dcb_cfg.tc_config[tc].path[0].prio_type = prio; in ixgbe_dcbnl_set_pg_tc_cfg_tx() 192 u8 prio, u8 bwg_id, u8 bw_pct, in ixgbe_dcbnl_set_pg_tc_cfg_rx() 197 if (prio != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_rx() 198 adapter->temp_dcb_cfg.tc_config[tc].path[1].prio_type = prio; in ixgbe_dcbnl_set_pg_tc_cfg_rx() 218 u8 *prio, u8 *bwg_id, u8 *bw_pct, in ixgbe_dcbnl_get_pg_tc_cfg_tx() 223 *prio = adapter->dcb_cfg.tc_config[tc].path[0].prio_type; in ixgbe_dcbnl_get_pg_tc_cfg_tx() 238 u8 *prio, u8 *bwg_id, u8 *bw_pct, in ixgbe_dcbnl_get_pg_tc_cfg_rx() 243 *prio in ixgbe_dcbnl_get_pg_tc_cfg_rx() 165 ixgbe_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 prio, u8 bwg_id, u8 bw_pct, u8 up_map) ixgbe_dcbnl_set_pg_tc_cfg_tx() argument 191 ixgbe_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 prio, u8 bwg_id, u8 bw_pct, u8 up_map) ixgbe_dcbnl_set_pg_tc_cfg_rx() argument 217 ixgbe_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) ixgbe_dcbnl_get_pg_tc_cfg_tx() argument 237 ixgbe_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) ixgbe_dcbnl_get_pg_tc_cfg_rx() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | itmt.c | 177 * @prio: Priority of cpu core 189 void sched_set_itmt_core_prio(int prio, int core_cpu) in sched_set_itmt_core_prio() argument 201 smt_prio = prio * smp_num_siblings / i; in sched_set_itmt_core_prio()
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
H A D | sja1105_vl.h | 22 struct sja1105_key *key, u32 index, s32 prio, 54 struct sja1105_key *key, u32 index, s32 prio, in sja1105_vl_gate() 51 sja1105_vl_gate(struct sja1105_private *priv, int port, struct netlink_ext_ack *extack, unsigned long cookie, struct sja1105_key *key, u32 index, s32 prio, u64 base_time, u64 cycle_time, u64 cycle_time_ext, u32 num_entries, struct action_gate_entry *entries) sja1105_vl_gate() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | flowring.h | 51 u8 prio, u8 ifidx); 53 u8 prio, u8 ifidx);
|
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_vl.h | 22 struct sja1105_key *key, u32 index, s32 prio, 54 struct sja1105_key *key, u32 index, s32 prio, in sja1105_vl_gate() 51 sja1105_vl_gate(struct sja1105_private *priv, int port, struct netlink_ext_ack *extack, unsigned long cookie, struct sja1105_key *key, u32 index, s32 prio, u64 base_time, u64 cycle_time, u64 cycle_time_ext, u32 num_entries, struct action_gate_entry *entries) sja1105_vl_gate() argument
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | flowring.h | 51 u8 prio, u8 ifidx); 53 u8 prio, u8 ifidx);
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | itmt.c | 168 * @prio: Priority of @cpu 180 void sched_set_itmt_core_prio(int prio, int cpu) in sched_set_itmt_core_prio() argument 182 per_cpu(sched_core_priority, cpu) = prio; in sched_set_itmt_core_prio()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/mux/full/ |
H A D | It_los_mutex_041.c | 65 UINT16 prio = LOS_TaskPriGet(OsCurrTaskGet()->taskID); in Testcase() local 102 ICUNIT_GOTO_EQUAL(priority, prio, priority, EXIT); in Testcase()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_object_blt.c | 211 unsigned int prio; in igt_fill_blt_thread() local 222 prio = i915_prandom_u32_max_state(I915_PRIORITY_MAX, prng); in igt_fill_blt_thread() 223 ctx->sched.priority = I915_USER_PRIORITY(prio); in igt_fill_blt_thread() 329 unsigned int prio; in igt_copy_blt_thread() local 340 prio = i915_prandom_u32_max_state(I915_PRIORITY_MAX, prng); in igt_copy_blt_thread() 341 ctx->sched.priority = I915_USER_PRIORITY(prio); in igt_copy_blt_thread()
|
/kernel/linux/linux-5.10/tools/lib/traceevent/ |
H A D | event-plugin.c | 45 enum tep_plugin_load_priority prio; member 585 if (dir->prio == TEP_PLUGIN_FIRST) in tep_load_plugins_hook() 628 if (dir->prio == TEP_PLUGIN_LAST) in tep_load_plugins_hook() 651 *@prio: Load priority of the plugins in that directory. 656 enum tep_plugin_load_priority prio) in tep_add_plugin_path() 672 dir->prio = prio; in tep_add_plugin_path() 655 tep_add_plugin_path(struct tep_handle *tep, char *path, enum tep_plugin_load_priority prio) tep_add_plugin_path() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | port_buffer.c | 392 * @buffer: <input> current prio to buffer mapping 418 int prio; in update_buffer_lossy() local 426 for (prio = 0; prio < MLX5E_MAX_PRIORITY; prio++) { in update_buffer_lossy() 427 if (buffer[prio] != i) in update_buffer_lossy() 431 lossy_count += !(pfc_en & (1 << prio)); in update_buffer_lossy() 531 netdev_dbg(priv->netdev, "%s: requested to map prio[%d] to buffer %d\n", in mlx5e_port_manual_buffer_config()
|
/kernel/linux/linux-6.6/net/dsa/ |
H A D | tag_ksz.c | 274 u8 prio = netdev_txq_to_tc(dev, queue_mapping); in ksz9477_xmit() local 291 val |= FIELD_PREP(KSZ9477_TAIL_TAG_PRIO, prio); in ksz9477_xmit() 338 u8 prio = netdev_txq_to_tc(dev, queue_mapping); in ksz9893_xmit() local 354 *tag |= FIELD_PREP(KSZ9893_TAIL_TAG_PRIO, prio); in ksz9893_xmit() 404 u8 prio = netdev_txq_to_tc(dev, queue_mapping); in lan937x_xmit() local 419 val |= FIELD_PREP(LAN937X_TAIL_TAG_PRIO, prio); in lan937x_xmit()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 361 /* find cos for nw prio and extend it with unmapped */ in bnx2x_dcbx_map_nw() 728 u8 prio, cos; in bnx2x_dcbx_update_tc_mapping() local 730 for (prio = 0; prio < BNX2X_MAX_PRIORITY; prio++) { in bnx2x_dcbx_update_tc_mapping() 732 & (1 << prio)) { in bnx2x_dcbx_update_tc_mapping() 733 bp->prio_to_cos[prio] = cos; in bnx2x_dcbx_update_tc_mapping() 735 "tx_mapping %d --> %d\n", prio, cos); in bnx2x_dcbx_update_tc_mapping() 1978 static void bnx2x_dcbnl_set_pg_tccfg_tx(struct net_device *netdev, int prio, in bnx2x_dcbnl_set_pg_tccfg_tx() argument 1984 DP(BNX2X_MSG_DCB, "prio[ in bnx2x_dcbnl_set_pg_tccfg_tx() 2018 bnx2x_dcbnl_set_pg_tccfg_rx(struct net_device *netdev, int prio, u8 prio_type, u8 pgid, u8 bw_pct, u8 up_map) bnx2x_dcbnl_set_pg_tccfg_rx() argument 2033 bnx2x_dcbnl_get_pg_tccfg_tx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) bnx2x_dcbnl_get_pg_tccfg_tx() argument 2074 bnx2x_dcbnl_get_pg_tccfg_rx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) bnx2x_dcbnl_get_pg_tccfg_rx() argument 2093 bnx2x_dcbnl_set_pfc_cfg(struct net_device *netdev, int prio, u8 setting) bnx2x_dcbnl_set_pfc_cfg() argument 2110 bnx2x_dcbnl_get_pfc_cfg(struct net_device *netdev, int prio, u8 *setting) bnx2x_dcbnl_get_pfc_cfg() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 361 /* find cos for nw prio and extend it with unmapped */ in bnx2x_dcbx_map_nw() 728 u8 prio, cos; in bnx2x_dcbx_update_tc_mapping() local 730 for (prio = 0; prio < BNX2X_MAX_PRIORITY; prio++) { in bnx2x_dcbx_update_tc_mapping() 732 & (1 << prio)) { in bnx2x_dcbx_update_tc_mapping() 733 bp->prio_to_cos[prio] = cos; in bnx2x_dcbx_update_tc_mapping() 735 "tx_mapping %d --> %d\n", prio, cos); in bnx2x_dcbx_update_tc_mapping() 1978 static void bnx2x_dcbnl_set_pg_tccfg_tx(struct net_device *netdev, int prio, in bnx2x_dcbnl_set_pg_tccfg_tx() argument 1984 DP(BNX2X_MSG_DCB, "prio[ in bnx2x_dcbnl_set_pg_tccfg_tx() 2018 bnx2x_dcbnl_set_pg_tccfg_rx(struct net_device *netdev, int prio, u8 prio_type, u8 pgid, u8 bw_pct, u8 up_map) bnx2x_dcbnl_set_pg_tccfg_rx() argument 2033 bnx2x_dcbnl_get_pg_tccfg_tx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) bnx2x_dcbnl_get_pg_tccfg_tx() argument 2074 bnx2x_dcbnl_get_pg_tccfg_rx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) bnx2x_dcbnl_get_pg_tccfg_rx() argument 2093 bnx2x_dcbnl_set_pfc_cfg(struct net_device *netdev, int prio, u8 setting) bnx2x_dcbnl_set_pfc_cfg() argument 2110 bnx2x_dcbnl_get_pfc_cfg(struct net_device *netdev, int prio, u8 *setting) bnx2x_dcbnl_get_pfc_cfg() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 152 u8 prio, tc_map; in i40e_dcbnl_set_all() local 167 prio = dcbxcfg->app[i].priority; in i40e_dcbnl_set_all() 168 tc_map = BIT(dcbxcfg->etscfg.prioritytable[prio]); in i40e_dcbnl_set_all() 174 sapp.priority = prio; in i40e_dcbnl_set_all() 221 dev_dbg(&pf->pdev->dev, "Deleting app for VSI seid=%d err=%d sel=%d proto=0x%x prio=%d\n", in i40e_dcbnl_del_app()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | mmap.c | 149 int delta_max, i, prio, ret; in perf_mmap__aio_mmap() local 188 * are kept in separate per-prio queues and adding in perf_mmap__aio_mmap() 189 * a new request will iterate thru shorter per-prio in perf_mmap__aio_mmap() 193 prio = delta_max - i; in perf_mmap__aio_mmap() 194 map->aio.cblocks[i].aio_reqprio = prio >= 0 ? prio : 0; in perf_mmap__aio_mmap()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_dcb.c | 152 /* Get default prio. */ in sparx5_dcb_app_update() 271 u8 prio; in sparx5_dcb_ieee_setapp() local 278 prio = dcb_getapp(dev, app); in sparx5_dcb_ieee_setapp() 279 if (prio) { in sparx5_dcb_ieee_setapp() 281 app_itr.priority = prio; in sparx5_dcb_ieee_setapp()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_dcb.c | 71 /* Get default prio */ in lan966x_dcb_app_update() 200 u8 prio; in lan966x_dcb_ieee_setapp() local 207 prio = dcb_getapp(dev, app); in lan966x_dcb_ieee_setapp() 208 if (prio) { in lan966x_dcb_ieee_setapp() 210 app_itr.priority = prio; in lan966x_dcb_ieee_setapp()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_tc.c | 20 entry->prio = ~0x0; in tc_fill_all_pass_entry() 97 u32 prio = cls->common.prio << 16; in tc_fill_entry() local 141 entry->prio = prio; in tc_fill_entry() 148 frag->prio = prio; in tc_fill_entry() 155 entry->prio = prio; in tc_fill_entry()
|
/kernel/linux/linux-6.6/drivers/net/dsa/ |
H A D | rzn1_a5psw.h | 197 #define A5PSW_VLAN_TAG(prio, id) (((prio) << 12) | (id)) 221 u16 prio:3; member
|
/kernel/linux/linux-6.6/include/linux/mlx5/ |
H A D | fs.h | 200 int prio; member 226 int prio, u32 level); 255 u8 prio; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_tc.c | 20 entry->prio = ~0x0; in tc_fill_all_pass_entry() 97 u32 prio = cls->common.prio << 16; in tc_fill_entry() local 141 entry->prio = prio; in tc_fill_entry() 148 frag->prio = prio; in tc_fill_entry() 155 entry->prio = prio; in tc_fill_entry() 692 u32 prio; in tc_add_vlan_flow() local [all...] |