diff options
author | Michael Chan <michael.chan@broadcom.com> | 2020-10-04 15:22:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-04 14:41:05 -0700 |
commit | 7737d325f867faa5e809c607699d2253dfb6ab09 (patch) | |
tree | b16e3a83fcfdb672798af194492cfe1e28e6bd40 /drivers/net/dsa/dsa_loop.c | |
parent | 975bc99a4a397d1b1584a99b4adb7948b6e6944b (diff) |
bnxt_en: Refactor bnxt_init_one_rx_ring().
bnxt_init_one_rx_ring() includes logic to initialize the BDs for one RX
ring and to allocate the buffers. Separate the allocation logic into a
new bnxt_alloc_one_rx_ring() function. The allocation function will be
used later to allocate new buffers for one specified RX ring when we
reset that RX ring.
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions