summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2020-10-04 15:22:57 -0400
committerDavid S. Miller <davem@davemloft.net>2020-10-04 14:41:05 -0700
commit7737d325f867faa5e809c607699d2253dfb6ab09 (patch)
treeb16e3a83fcfdb672798af194492cfe1e28e6bd40 /drivers/net/dsa/dsa_loop.c
parent975bc99a4a397d1b1584a99b4adb7948b6e6944b (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