Subject: Re: [PATCH 1/2] usb: xhci-mtk: add a bandwidth budget table

Il 30/08/23 14:28, Chunfeng Yun ha scritto:
> In order to estimate when fs/ls transactions appear on a downstream bus,
> the host must calculate a best case full-speed budget, use a table to
> track how many bytes occure in each microframe.
> This patch is prepared for introducing an improved bandwidth scheduling.
>

Hello Chunfeng,

it would be helpful if you add a cover letter with some test results for
the BW improvements that you're seeing here.

Thanks,
Angelo

> Signed-off-by: Chunfeng Yun <[email protected]>
> ---
> drivers/usb/host/xhci-mtk-sch.c | 113 +++++++++++++++++++++++---------
> drivers/usb/host/xhci-mtk.h | 4 +-
> 2 files changed, 85 insertions(+), 32 deletions(-)
>


2023-09-19 13:37:43

by Chunfeng Yun

[permalink] [raw]
Subject: Re: [PATCH 1/2] usb: xhci-mtk: add a bandwidth budget table

On Thu, 2023-09-14 at 12:14 +0200, AngeloGioacchino Del Regno wrote:
> Il 30/08/23 14:28, Chunfeng Yun ha scritto:
> > In order to estimate when fs/ls transactions appear on a downstream
> > bus,
> > the host must calculate a best case full-speed budget, use a table
> > to
> > track how many bytes occure in each microframe.
> > This patch is prepared for introducing an improved bandwidth
> > scheduling.
> >
>
> Hello Chunfeng,
>
> it would be helpful if you add a cover letter with some test results
> for
> the BW improvements that you're seeing here.
Ok
>
> Thanks,
> Angelo
>
> > Signed-off-by: Chunfeng Yun <[email protected]>
> > ---
> > drivers/usb/host/xhci-mtk-sch.c | 113 +++++++++++++++++++++++--
> > -------
> > drivers/usb/host/xhci-mtk.h | 4 +-
> > 2 files changed, 85 insertions(+), 32 deletions(-)
> >
>
>