/linux-6.12.1/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.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc.c | 64 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind() argument 74 val = pkind | 1ULL << 62; in rvu_npc_set_pkind() 75 rvu_write64(rvu, blkaddr, NPC_AF_PKINDX_CPI_DEFX(pkind, 0), val); in rvu_npc_set_pkind() 80 struct npc_pkind *pkind = &rvu->hw->pkind; in rvu_npc_get_pkind() local 84 for (i = 0; i < pkind->rsrc.max; i++) { in rvu_npc_get_pkind() 85 map = pkind->pfchan_map[i]; in rvu_npc_get_pkind() 96 int pkind, blkaddr; in npc_config_ts_kpuaction() local 99 pkind = rvu_npc_get_pkind(rvu, pf); in npc_config_ts_kpuaction() 100 if (pkind < 0) { in npc_config_ts_kpuaction() 111 val = rvu_read64(rvu, blkaddr, NPC_AF_PKINDX_ACTION0(pkind)); in npc_config_ts_kpuaction() [all …]
|
D | cgx.h | 139 int cgx_set_pkind(void *cgxd, u8 lmac_id, int pkind);
|
D | rvu_cgx.c | 123 struct npc_pkind *pkind = &rvu->hw->pkind; in rvu_map_cgx_lmac_pf() local 169 free_pkind = rvu_alloc_rsrc(&pkind->rsrc); in rvu_map_cgx_lmac_pf() 170 pkind->pfchan_map[free_pkind] = ((pf) & 0x3F) << 16; in rvu_map_cgx_lmac_pf()
|
D | rvu.h | 432 struct npc_pkind pkind; member 937 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf); 1051 u64 pkind, u8 var_len_off, u8 var_len_off_mask,
|
D | cgx.c | 478 int cgx_set_pkind(void *cgxd, u8 lmac_id, int pkind) in cgx_set_pkind() argument 485 cgx_write(cgx, lmac_id, cgx->mac_ops->rxid_map_offset, (pkind & 0x3F)); in cgx_set_pkind()
|
D | rvu_nix.c | 334 int pkind, pf, vf, lbkid, vfid; in nix_interface_init() local 349 pkind = rvu_npc_get_pkind(rvu, pf); in nix_interface_init() 350 if (pkind < 0) { in nix_interface_init() 361 cgx_set_pkind(rvu_cgx_pdata(cgx_id, rvu), lmac_id, pkind); in nix_interface_init() 362 rvu_npc_set_pkind(rvu, pkind, pfvf); in nix_interface_init() 3645 mcast->replay_pkind = rvu_alloc_rsrc(&hw->pkind.rsrc); in nix_setup_mcast()
|
D | mbox.h | 732 u8 pkind; /* valid only in case custom flag */ member
|
/linux-6.12.1/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 | 902 txpciq.s.pkind = oct->pfvf_hsword.pkind; in octeon_setup_instr_queues() 1242 oct->pfvf_hsword.pkind = recv_pkt->rh.r_core_drv_init.pkind; in octeon_core_drv_init() 1245 oct->instr_queue[i]->txpciq.s.pkind = oct->pfvf_hsword.pkind; in octeon_core_drv_init()
|
D | cn23xx_vf_device.c | 450 oct->instr_queue[q_no]->txpciq.s.pkind = oct->pfvf_hsword.pkind; in cn23xx_octeon_pfvf_handshake() 466 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 | 600 ih3->pkind = oct->instr_queue[sc->iq_no]->txpciq.s.pkind; in octeon_prepare_soft_command()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_pfvf_mbox.h | 148 u64 pkind:8; member
|
D | octep_tx.h | 227 u64 pkind:6; member
|
D | octep_config.h | 196 u8 pkind; member
|
D | octep_pfvf_mbox.c | 213 rsp->s_fw_info.pkind = fw_info.pkind; in octep_pfvf_get_fw_info()
|
D | octep_main.c | 879 ih->pkind = oct->conf->fw_info.pkind; in octep_start_xmit()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_tx.h | 185 u64 pkind:6; member
|
D | octep_vf_mbox.h | 134 u64 pkind:8; member
|
D | octep_vf_mbox.c | 402 oct->fw_info.pkind = rsp.s_fw_info.pkind; in octep_vf_mbox_get_fw_info()
|
D | octep_vf_main.h | 207 u8 pkind; member
|
D | octep_vf_main.c | 634 ih->pkind = oct->fw_info.pkind; in octep_vf_start_xmit()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_struct.h | 115 u64 pkind : 6; member
|