Home
last modified time | relevance | path

Searched refs:pkind (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dnic_main.c52 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/
Drvu_npc.c64 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 …]
Dcgx.h139 int cgx_set_pkind(void *cgxd, u8 lmac_id, int pkind);
Drvu_cgx.c123 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()
Drvu.h432 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,
Dcgx.c478 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()
Drvu_nix.c334 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()
Dmbox.h732 u8 pkind; /* valid only in case custom flag */ member
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/
Dliquidio_common.h369 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;
Docteon_nic.h191 ih3->pkind = oct->instr_queue[setup->s.iq_no]->txpciq.s.pkind; in octnet_prepare_pci_cmd_o3()
Docteon_device.c902 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()
Dcn23xx_vf_device.c450 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()
Docteon_device.h334 u64 pkind : 8; member
363 u64 pkind : 8;
Drequest_manager.c600 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/
Doctep_pfvf_mbox.h148 u64 pkind:8; member
Doctep_tx.h227 u64 pkind:6; member
Doctep_config.h196 u8 pkind; member
Doctep_pfvf_mbox.c213 rsp->s_fw_info.pkind = fw_info.pkind; in octep_pfvf_get_fw_info()
Doctep_main.c879 ih->pkind = oct->conf->fw_info.pkind; in octep_start_xmit()
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/
Doctep_vf_tx.h185 u64 pkind:6; member
Doctep_vf_mbox.h134 u64 pkind:8; member
Doctep_vf_mbox.c402 oct->fw_info.pkind = rsp.s_fw_info.pkind; in octep_vf_mbox_get_fw_info()
Doctep_vf_main.h207 u8 pkind; member
Doctep_vf_main.c634 ih->pkind = oct->fw_info.pkind; in octep_vf_start_xmit()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_struct.h115 u64 pkind : 6; member