Messages in this thread | | | Date | Tue, 28 Mar 2023 16:44:59 +0200 | From | Simon Horman <> | Subject | Re: [net-next Patch v5 4/6] octeontx2-pf: Refactor schedular queue alloc/free calls |
| |
On Sun, Mar 26, 2023 at 11:42:43PM +0530, Hariprasad Kelam wrote: > Multiple transmit scheduler queues can be configured at different > levels to support traffic shaping and scheduling. But on txschq free > requests, the transmit schedular config in hardware is not getting > reset. This patch adds support to reset the stale config. > > The txschq alloc response handler updates the default txschq > array which is used to configure the transmit packet path from > SMQ to TL2 levels. However, for new features such as QoS offload > that requires it's own txschq queues, this handler is still > invoked and results in undefined behavior. The code now handles > txschq response in the mbox caller function. > > Signed-off-by: Hariprasad Kelam <hkelam@marvell.com> > Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com> > Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
| |