Skip to content
Commit 3698b912 authored by Andrei Warkentin's avatar Andrei Warkentin Committed by Ard Biesheuvel
Browse files

Silicon/Broadcom/BcmGenetDxe: Fix reliability issues



TFTP and HTTP downloads were failing. The problem was that the incorrect
PROD index was being written TX ring. The PROD index should be the
TxProdIndex (in the range [0-0xffff]), not the descriptor index (in the
range [0-num descs)).

Also, mod 0xffff is not the same as & 0xffff, so fix that as well.

Signed-off-by: default avatarAndrei Warkentin <andrey.warkentin@gmail.com>
Tested-by: default avatarSamer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
parent 8977ff44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment