osi: mgbe: configure MTL RXFIFO and flow control

MTL RXFIFO memory available for MGBE - 192KB
Below is the distribution -
1) Q0 - 160KB
2) Q1 to Q8 - 2KB
3) Q9 - 16KB

It also update flow control parameters for
the Rx queues
1) Q0 - FULL_MINUS_32K
2) Q1 to Q9 - FULL_MINUS_1_5K

Bug 3787316

Change-Id: I3049d742e784aa3273090191856482121a3e1d3e
Signed-off-by: Bhadram Varka <vbhadram@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2779472
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Bhadram Varka
2022-09-21 11:02:48 +00:00
committed by mobile promotions
parent 5750d03d79
commit 5fba408c31
3 changed files with 38 additions and 133 deletions

View File

@@ -40,10 +40,6 @@
#define FULL_MINUS_6_K ((nveu32_t)10)
#define FULL_MINUS_10_K ((nveu32_t)18)
#define FULL_MINUS_16_K ((nveu32_t)30)
#define FULL_MINUS_18_K ((nveu32_t)34)
#define FULL_MINUS_21_K ((nveu32_t)40)
#define FULL_MINUS_24_K ((nveu32_t)46)
#define FULL_MINUS_29_K ((nveu32_t)56)
#define FULL_MINUS_32_K ((nveu32_t)62)
/** @} */