Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c86 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 …]
Dcgx.h140 int cgx_set_pkind(void *cgxd, u8 lmac_id, int pkind);
Drvu_cgx.c121 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()
Drvu.h378 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,
Drvu_nix.c299 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()
Dcgx.c481 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()
Dmbox.h707 u8 pkind; /* valid only in case custom flag */ member
/linux-6.1.9/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.c894 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()
Dcn23xx_vf_device.c451 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()
Docteon_device.h334 u64 pkind : 8; member
363 u64 pkind : 8;
Drequest_manager.c603 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/
Doctep_config.h56 #define CFG_GET_IQ_PKIND(cfg) ((cfg)->iq.pkind)
96 u16 pkind; member
Doctep_tx.h214 u64 pkind:6; member
Doctep_main.c656 ih->pkind = oct->pkind; in octep_start_xmit()
951 oct->pkind = CFG_GET_IQ_PKIND(oct->conf); in octep_device_setup()
Doctep_main.h224 u8 pkind; member
Doctep_cn9k_pf.c223 conf->iq.pkind = 0; in octep_init_config_cn93_pf()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_struct.h115 u64 pkind : 6; member