diff options
author | Subbaraya Sundeep <sbhatta@marvell.com> | 2021-03-18 19:45:45 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-18 14:12:42 -0700 |
commit | 297887872973555cb9fb83fdd5a2748d6cd8fc1d (patch) | |
tree | 35972ac5d9b867da9fac44d79c9c2e77fd4e864d /drivers/net/ethernet/marvell/octeontx2/af/rvu.c | |
parent | ce86c2a531e2f2995ee55ea527c1f39ba1d95f73 (diff) | |
download | linux-297887872973555cb9fb83fdd5a2748d6cd8fc1d.tar.bz2 |
octeontx2-af: Return correct CGX RX fifo size
CGX receive buffer size is a constant value and
cannot be read from CGX0 block always since
CGX0 may not enabled everytime. Hence return CGX
receive buffer size from first enabled CGX block
instead of CGX0.
Fixes: 6e54e1c5399a ("octeontx2-af: cn10K: MTU configuration")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/rvu.c')
0 files changed, 0 insertions, 0 deletions