/linux-6.1.9/drivers/net/ethernet/cavium/thunder/ |
D | nic_main.c | 52 struct pkind_cfg pkind; member 446 nic->pkind.minlen = 0; in nic_init_hw() 447 nic->pkind.maxlen = NIC_HW_MAX_FRS + VLAN_ETH_HLEN + ETH_FCS_LEN + 4; in nic_init_hw() 448 nic->pkind.lenerr_en = 1; in nic_init_hw() 449 nic->pkind.rx_hdr = 0; in nic_init_hw() 450 nic->pkind.hdr_sl = 0; in nic_init_hw() 454 *(u64 *)&nic->pkind); in nic_init_hw() 888 struct pkind_cfg *pkind; in nic_config_timestamp() local 900 pkind = (struct pkind_cfg *)&pkind_val; in nic_config_timestamp() 902 if (ptp->enable && !pkind->hdr_sl) { in nic_config_timestamp() [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc.c | 86 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind() argument 96 val = pkind | 1ULL << 62; in rvu_npc_set_pkind() 97 rvu_write64(rvu, blkaddr, NPC_AF_PKINDX_CPI_DEFX(pkind, 0), val); in rvu_npc_set_pkind() 102 struct npc_pkind *pkind = &rvu->hw->pkind; in rvu_npc_get_pkind() local 106 for (i = 0; i < pkind->rsrc.max; i++) { in rvu_npc_get_pkind() 107 map = pkind->pfchan_map[i]; in rvu_npc_get_pkind() 118 int pkind, blkaddr; in npc_config_ts_kpuaction() local 121 pkind = rvu_npc_get_pkind(rvu, pf); in npc_config_ts_kpuaction() 122 if (pkind < 0) { in npc_config_ts_kpuaction() 133 val = rvu_read64(rvu, blkaddr, NPC_AF_PKINDX_ACTION0(pkind)); in npc_config_ts_kpuaction() [all …]
|
D | cgx.h | 140 int cgx_set_pkind(void *cgxd, u8 lmac_id, int pkind);
|
D | rvu_cgx.c | 121 struct npc_pkind *pkind = &rvu->hw->pkind; in rvu_map_cgx_lmac_pf() local 164 free_pkind = rvu_alloc_rsrc(&pkind->rsrc); in rvu_map_cgx_lmac_pf() 165 pkind->pfchan_map[free_pkind] = ((pf) & 0x3F) << 16; in rvu_map_cgx_lmac_pf()
|
D | rvu.h | 378 struct npc_pkind pkind; member 788 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf); 883 u64 pkind, u8 var_len_off, u8 var_len_off_mask,
|
D | rvu_nix.c | 299 int pkind, pf, vf, lbkid, vfid; in nix_interface_init() local 314 pkind = rvu_npc_get_pkind(rvu, pf); in nix_interface_init() 315 if (pkind < 0) { in nix_interface_init() 326 cgx_set_pkind(rvu_cgx_pdata(cgx_id, rvu), lmac_id, pkind); in nix_interface_init() 327 rvu_npc_set_pkind(rvu, pkind, pfvf); in nix_interface_init() 3045 mcast->replay_pkind = rvu_alloc_rsrc(&hw->pkind.rsrc); in nix_setup_mcast()
|
D | cgx.c | 481 int cgx_set_pkind(void *cgxd, u8 lmac_id, int pkind) in cgx_set_pkind() argument 488 cgx_write(cgx, lmac_id, CGXX_CMRX_RX_ID_MAP, (pkind & 0x3F)); in cgx_set_pkind()
|
D | mbox.h | 707 u8 pkind; /* valid only in case custom flag */ member
|
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/ |
D | liquidio_common.h | 369 u64 pkind:6; member 379 u64 pkind:6; 606 u64 pkind:8; member 638 u64 pkind:8; 730 u64 pkind:6; member 742 u64 pkind:6;
|
D | octeon_nic.h | 191 ih3->pkind = oct->instr_queue[setup->s.iq_no]->txpciq.s.pkind; in octnet_prepare_pci_cmd_o3()
|
D | octeon_device.c | 894 txpciq.s.pkind = oct->pfvf_hsword.pkind; in octeon_setup_instr_queues() 1228 oct->pfvf_hsword.pkind = recv_pkt->rh.r_core_drv_init.pkind; in octeon_core_drv_init() 1231 oct->instr_queue[i]->txpciq.s.pkind = oct->pfvf_hsword.pkind; in octeon_core_drv_init()
|
D | cn23xx_vf_device.c | 451 oct->instr_queue[q_no]->txpciq.s.pkind = oct->pfvf_hsword.pkind; in cn23xx_octeon_pfvf_handshake() 467 oct->pfvf_hsword.pkind); in cn23xx_octeon_pfvf_handshake()
|
D | octeon_device.h | 334 u64 pkind : 8; member 363 u64 pkind : 8;
|
D | request_manager.c | 603 ih3->pkind = oct->instr_queue[sc->iq_no]->txpciq.s.pkind; in octeon_prepare_soft_command()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_config.h | 56 #define CFG_GET_IQ_PKIND(cfg) ((cfg)->iq.pkind) 96 u16 pkind; member
|
D | octep_tx.h | 214 u64 pkind:6; member
|
D | octep_main.c | 656 ih->pkind = oct->pkind; in octep_start_xmit() 951 oct->pkind = CFG_GET_IQ_PKIND(oct->conf); in octep_device_setup()
|
D | octep_main.h | 224 u8 pkind; member
|
D | octep_cn9k_pf.c | 223 conf->iq.pkind = 0; in octep_init_config_cn93_pf()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_struct.h | 115 u64 pkind : 6; member
|