Home
last modified time | relevance | path

Searched refs:dwrr_mtu (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k.h20 weight = mtu / pfvf->hw.dwrr_mtu; in mtu_to_dwrr_weight()
21 if (mtu % pfvf->hw.dwrr_mtu) in mtu_to_dwrr_weight()
H A Dotx2_common.h230 u32 dwrr_mtu; member
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_devlink.c1171 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()
H A Drvu_nix.c229 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 …]
H A Drvu.h923 u32 convert_dwrr_mtu_to_bytes(u8 dwrr_mtu);
/linux/Documentation/networking/devlink/
H A Docteontx2.rst38 * - ``dwrr_mtu``