/linux-master/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_defs_cna.h | 155 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member in struct:bfa_cee_dcbx_cfg
|
/linux-master/include/uapi/linux/ |
H A D | coda.h | 299 __kernel_pid_t pgid; member in struct:coda_in_hdr
|
/linux-master/arch/s390/include/uapi/asm/ |
H A D | dasd.h | 285 __u8 pgid[11]; member in struct:dasd_snid_data
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 1153 pid_t pgid, pid; local 1160 pgid = task_pgrp_vnr(current); 1161 pid = atomic_cmpxchg(&dev_priv->mksstat_user_pids[slot], pgid, MKSSTAT_PID_RESERVED); 1166 if (pid == pgid) {
|
/linux-master/drivers/misc/ |
H A D | fastrpc.c | 141 s32 pgid; member in struct:fastrpc_mmap_req_msg 148 s32 pgid; member in struct:fastrpc_mem_map_req_msg 158 s32 pgid; member in struct:fastrpc_munmap_req_msg 164 s32 pgid; member in struct:fastrpc_mem_unmap_req_msg 1242 int pgid; member in struct:__anon171 1295 inbuf.pgid = fl->tgid; 1364 int pgid; member in struct:__anon172 1396 inbuf.pgid = fl->tgid; 1800 req_msg.pgid = fl->tgid; 1886 req_msg.pgid [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 1979 u8 prio_type, u8 pgid, u8 bw_pct, 1984 DP(BNX2X_MSG_DCB, "prio[%d] = %d\n", prio, pgid); 1995 * to the standard pgid 15 is dedicated to strict 2001 bp->dcbx_config_params.admin_configuration_ets_pg[prio] = pgid; 2006 int pgid, u8 bw_pct) 2009 DP(BNX2X_MSG_DCB, "pgid[%d] = %d\n", pgid, bw_pct); 2011 if (!bnx2x_dcbnl_set_valid(bp) || pgid >= DCBX_MAX_NUM_PG_BW_ENTRIES) 2014 bp->dcbx_config_params.admin_configuration_bw_precentage[pgid] = bw_pct; 2019 u8 prio_type, u8 pgid, u 1978 bnx2x_dcbnl_set_pg_tccfg_tx(struct net_device *netdev, int prio, u8 prio_type, u8 pgid, u8 bw_pct, u8 up_map) argument 2005 bnx2x_dcbnl_set_pg_bwgcfg_tx(struct net_device *netdev, int pgid, u8 bw_pct) argument 2018 bnx2x_dcbnl_set_pg_tccfg_rx(struct net_device *netdev, int prio, u8 prio_type, u8 pgid, u8 bw_pct, u8 up_map) argument 2026 bnx2x_dcbnl_set_pg_bwgcfg_rx(struct net_device *netdev, int pgid, u8 bw_pct) 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) argument 2060 bnx2x_dcbnl_get_pg_bwgcfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) 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) argument 2084 bnx2x_dcbnl_get_pg_bwgcfg_rx(struct net_device *netdev, int pgid, u8 *bw_pct) argument [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_dcb.c | 281 int dcb_type = pcmd->u.dcb.pgid.type; 333 dcb->pgid = be32_to_cpu(fwdcb->pgid.pgid); 439 u8 *prio_type, u8 *pgid, u8 *bw_per, 447 *prio_type = *pgid = *bw_per = *up_tc_map = 0; 454 pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; 460 *pgid = (be32_to_cpu(pcmd.u.dcb.pgid.pgid) >> (t 438 cxgb4_getpgtccfg(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map, int local) argument 482 cxgb4_getpgtccfg_tx(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map) argument 492 cxgb4_getpgtccfg_rx(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map) argument 501 cxgb4_setpgtccfg_tx(struct net_device *dev, int tc, u8 prio_type, u8 pgid, u8 bw_per, u8 up_tc_map) argument 564 cxgb4_getpgbwgcfg(struct net_device *dev, int pgid, u8 *bw_per, int local) argument 588 cxgb4_getpgbwgcfg_tx(struct net_device *dev, int pgid, u8 *bw_per) argument 593 cxgb4_getpgbwgcfg_rx(struct net_device *dev, int pgid, u8 *bw_per) argument 598 cxgb4_setpgbwgcfg_tx(struct net_device *dev, int pgid, u8 bw_per) argument 1186 u32 pgid; local [all...] |
H A D | cxgb4_dcb.h | 105 u32 pgid; /* Priority Group[0..7] */ member in struct:port_dcb_info
|
H A D | cxgb4_debugfs.c | 2416 int prio, pgid; local 2420 pgid = (dcb->pgid >> 4 * (7 - prio)) & 0xf; 2421 seq_printf(seq, " %3d", pgid); 2702 (ethqset2pinfo(adap, base_qset + i)->dcb.pgid >>
|
H A D | t4fw_api.h | 2846 __be32 pgid; member in struct:fw_port_cmd::fw_port::fw_port_dcb::fw_port_dcb_pgid 2848 } pgid; member in union:fw_port_cmd::fw_port::fw_port_dcb
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 357 u8 pgid; member in struct:hclge_tc_info
|
H A D | hclge_tm.c | 776 hdev->tm_info.tc_info[i].pgid = 0; 1193 &hdev->tm_info.pg_info[hdev->tm_info.tc_info[i].pgid]; 1232 pg_info = &hdev->tm_info.pg_info[hdev->tm_info.tc_info[i].pgid];
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 396 * @pgid: the corresponding traffic class 401 static void i40e_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, argument 411 if (pgid >= I40E_MAX_TRAFFIC_CLASS) 414 pf->tmp_cfg.etscfg.tcbwtable[pgid] = bw_pct; 416 pgid, bw_pct); 424 * @pgid: the BW group id the traffic class belongs to 434 u8 __always_unused pgid, 446 * @pgid: the corresponding traffic class 452 static void i40e_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, argument 465 * @pgid 431 i40e_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int __always_unused prio, u8 __always_unused prio_type, u8 __always_unused pgid, u8 __always_unused bw_pct, u8 __always_unused up_map) argument 471 i40e_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) argument 499 i40e_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) argument 529 i40e_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument 555 i40e_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, u8 *bw_pct) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 428 * @pgid: the BW group ID the traffic class belongs to 434 u8 __always_unused *prio_type, u8 *pgid, 448 *pgid = pi->qos_cfg.local_dcbx_cfg.etscfg.prio_table[prio]; 450 *pgid); local 498 * @pgid: corresponding traffic class 502 ice_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) argument 511 if (pgid >= ICE_MAX_TRAFFIC_CLASS) 514 *bw_pct = pi->qos_cfg.local_dcbx_cfg.etscfg.tcbwtable[pgid]; 516 pgid, *bw_pct); local 522 * @pgid 433 ice_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) argument 526 ice_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 bw_pct) argument 558 ice_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) argument 588 ice_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int __always_unused prio, u8 __always_unused prio_type, u8 __always_unused pgid, u8 __always_unused bw_pct, u8 __always_unused up_map) argument 607 ice_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 *bw_pct) argument 628 ice_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 __always_unused bw_pct) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dcbnl.c | 698 u8 pgid, u8 bw_pct, u8 up_map) 709 if (pgid >= CEE_DCBX_MAX_PGS) { 715 cee_cfg->prio_to_pg_map[priority] = pgid; 719 int pgid, u8 bw_pct) 724 if (pgid >= CEE_DCBX_MAX_PGS) { 730 cee_cfg->pg_bw_pct[pgid] = bw_pct; 735 u8 *pgid, u8 *bw_pct, u8 *up_map) 755 if (mlx5_query_port_prio_tc(mdev, priority, pgid)) 756 *pgid = 0; 760 int pgid, u 696 mlx5e_dcbnl_setpgtccfgtx(struct net_device *netdev, int priority, u8 prio_type, u8 pgid, u8 bw_pct, u8 up_map) argument 718 mlx5e_dcbnl_setpgbwgcfgtx(struct net_device *netdev, int pgid, u8 bw_pct) argument 733 mlx5e_dcbnl_getpgtccfgtx(struct net_device *netdev, int priority, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument 759 mlx5e_dcbnl_getpgbwgcfgtx(struct net_device *netdev, int pgid, u8 *bw_pct) argument [all...] |
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_mac.c | 73 static int __lan966x_mac_learn_locked(struct lan966x *lan966x, int pgid, argument 87 ANA_MACACCESS_DEST_IDX_SET(pgid) | 95 static int __lan966x_mac_learn(struct lan966x *lan966x, int pgid, argument 104 ret = __lan966x_mac_learn_locked(lan966x, pgid, cpu_copy, mac, vid, type);
|
H A D | lan966x_mdb.c | 19 struct lan966x_pgid_entry *pgid; member in struct:lan966x_mdb_entry 207 /* Try to find an existing pgid that uses the same ports as the 217 /* Try to find an empty pgid entry and allocate one in case it finds it, 264 lan966x_pgid_entry_del(lan966x, mdb_entry->pgid); 282 mdb_entry->pgid = pgid_entry; 328 lan966x_pgid_entry_del(lan966x, mdb_entry->pgid); 344 mdb_entry->pgid = pgid_entry; 371 * reason is that for ipv4/ipv6 it doesn't require to use any pgid 372 * entry, while for l2 is required to use pgid entries 388 * reason is that for ipv4/ipv6 it doesn't require to use any pgid [all...] |
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_mactable.c | 80 int sparx5_mact_learn(struct sparx5 *sparx5, int pgid, argument 85 if (pgid < SPX5_PORTS) { 87 addr = pgid % 32; 88 addr += (pgid / 32) << 5; /* Add upsid */ 91 addr = pgid - SPX5_PORTS;
|
H A D | sparx5_main.h | 348 void sparx5_pgid_update_mask(struct sparx5_port *port, int pgid, bool enable); 349 void sparx5_pgid_clear(struct sparx5 *spx5, int pgid); 350 void sparx5_pgid_read_mask(struct sparx5 *sparx5, int pgid, u32 portmask[3]);
|
H A D | sparx5_switchdev.c | 35 int pgid; local 37 for (pgid = PGID_IPV4_MC_DATA; pgid <= PGID_IPV6_MC_CTRL; pgid++) 38 sparx5_pgid_update_mask(port, pgid, should_flood); 506 static void sparx5_cpu_copy_ena(struct sparx5 *spx5, u16 pgid, bool enable) argument 510 ANA_AC_PGID_MISC_CFG(pgid)); 608 /* Clear pgid in case mrouter ports exists
|
H A D | sparx5_vlan.c | 118 void sparx5_pgid_update_mask(struct sparx5_port *port, int pgid, bool enable) argument 127 spx5_rmw(val, mask, sparx5, ANA_AC_PGID_CFG(pgid)); 131 spx5_rmw(val, mask, sparx5, ANA_AC_PGID_CFG1(pgid)); 135 spx5_rmw(val, mask, sparx5, ANA_AC_PGID_CFG2(pgid)); 141 void sparx5_pgid_clear(struct sparx5 *spx5, int pgid) argument 143 spx5_wr(0, spx5, ANA_AC_PGID_CFG(pgid)); 144 spx5_wr(0, spx5, ANA_AC_PGID_CFG1(pgid)); 145 spx5_wr(0, spx5, ANA_AC_PGID_CFG2(pgid)); 148 void sparx5_pgid_read_mask(struct sparx5 *spx5, int pgid, u32 portmask[3]) argument 150 portmask[0] = spx5_rd(spx5, ANA_AC_PGID_CFG(pgid)); [all...] |
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 1800 struct ocelot_pgid *pgid; local 1802 pgid = kzalloc(sizeof(*pgid), GFP_KERNEL); 1803 if (!pgid) 1806 pgid->ports = ports; 1807 pgid->index = index; 1808 refcount_set(&pgid->refcount, 1); 1809 list_add_tail(&pgid->list, &ocelot->pgids); 1811 return pgid; 1814 static void ocelot_pgid_free(struct ocelot *ocelot, struct ocelot_pgid *pgid) argument 1826 struct ocelot_pgid *pgid; local 1887 struct ocelot_pgid *pgid; local 1944 struct ocelot_pgid *pgid; local 2149 struct ocelot_pgid *pgid; local [all...] |
H A D | ocelot.h | 74 struct ocelot_pgid *pgid; member in struct:ocelot_multicast
|
H A D | ocelot_net.c | 607 int pgid; member in struct:ocelot_mact_work_ctx::__anon1422::__anon1423 627 ocelot_mact_learn(ocelot, w->learn.pgid, w->learn.addr, 678 w.learn.pgid = PGID_CPU;
|
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_dev.c | 586 int ionic_get_cmb(struct ionic_lif *lif, u32 *pgid, phys_addr_t *pgaddr, int order) argument 598 *pgid = ret; 604 void ionic_put_cmb(struct ionic_lif *lif, u32 pgid, int order) argument 609 bitmap_release_region(idev->cmb_inuse, pgid, order);
|