Searched refs:dwrr_mtu (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | cn10k.h | 20 weight = mtu / pfvf->hw.dwrr_mtu; in mtu_to_dwrr_weight() 21 if (mtu % pfvf->hw.dwrr_mtu) in mtu_to_dwrr_weight()
|
D | otx2_common.c | 1850 pfvf->hw.dwrr_mtu = get_dwrr_mtu(pfvf, rsp); in otx2_get_max_mtu() 1851 if (!pfvf->hw.dwrr_mtu) in otx2_get_max_mtu() 1852 pfvf->hw.dwrr_mtu = 1; in otx2_get_max_mtu()
|
D | qos.c | 75 weight = quantum / pfvf->hw.dwrr_mtu; in otx2_qos_quantum_to_dwrr_weight() 76 if (quantum % pfvf->hw.dwrr_mtu) in otx2_qos_quantum_to_dwrr_weight()
|
D | otx2_common.h | 230 u32 dwrr_mtu; member
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_devlink.c | 1171 int dwrr_mtu = val.vu32; in rvu_af_dl_dwrr_mtu_validate() local 1181 if ((dwrr_mtu > 65536 || !is_power_of_2(dwrr_mtu)) && in rvu_af_dl_dwrr_mtu_validate() 1182 (dwrr_mtu != 9728 && dwrr_mtu != 10240)) { in rvu_af_dl_dwrr_mtu_validate() 1210 u64 dwrr_mtu; in rvu_af_dl_dwrr_mtu_set() local 1212 dwrr_mtu = convert_bytes_to_dwrr_mtu(ctx->val.vu32); in rvu_af_dl_dwrr_mtu_set() 1214 nix_get_dwrr_mtu_reg(rvu->hw, SMQ_LINK_TYPE_RPM), dwrr_mtu); in rvu_af_dl_dwrr_mtu_set() 1224 u64 dwrr_mtu; in rvu_af_dl_dwrr_mtu_get() local 1229 dwrr_mtu = rvu_read64(rvu, BLKADDR_NIX0, in rvu_af_dl_dwrr_mtu_get() 1231 ctx->val.vu32 = convert_dwrr_mtu_to_bytes(dwrr_mtu); in rvu_af_dl_dwrr_mtu_get()
|
D | rvu_nix.c | 229 u32 convert_dwrr_mtu_to_bytes(u8 dwrr_mtu) in convert_dwrr_mtu_to_bytes() argument 231 dwrr_mtu &= 0x1FULL; in convert_dwrr_mtu_to_bytes() 237 switch (dwrr_mtu) { in convert_dwrr_mtu_to_bytes() 243 return BIT_ULL(dwrr_mtu); in convert_dwrr_mtu_to_bytes() 3823 u64 dwrr_mtu; in rvu_mbox_handler_nix_get_hw_info() local 3847 dwrr_mtu = rvu_read64(rvu, blkaddr, in rvu_mbox_handler_nix_get_hw_info() 3849 rsp->rpm_dwrr_mtu = convert_dwrr_mtu_to_bytes(dwrr_mtu); in rvu_mbox_handler_nix_get_hw_info() 3851 dwrr_mtu = rvu_read64(rvu, blkaddr, in rvu_mbox_handler_nix_get_hw_info() 3853 rsp->sdp_dwrr_mtu = convert_dwrr_mtu_to_bytes(dwrr_mtu); in rvu_mbox_handler_nix_get_hw_info() 3855 dwrr_mtu = rvu_read64(rvu, blkaddr, in rvu_mbox_handler_nix_get_hw_info() [all …]
|
D | rvu.h | 923 u32 convert_dwrr_mtu_to_bytes(u8 dwrr_mtu);
|
/linux-6.12.1/Documentation/networking/devlink/ |
D | octeontx2.rst | 38 * - ``dwrr_mtu``
|