commit | 975bc99a4a397d1b1584a99b4adb7948b6e6944b | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Sun Oct 04 15:22:56 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 04 14:41:05 2020 -0700 |
tree | 8f44965a4d6433ed04be966edf366dac4d5306f1 | |
parent | fc8864e0b6ee2120d9b438f411159afe99348ff0 [diff] |
bnxt_en: Refactor bnxt_free_rx_skbs(). bnxt_free_rx_skbs() frees all the allocated buffers and SKBs for every RX ring. Refactor this function by calling a new function bnxt_free_one_rx_ring_skbs() to free these buffers on one specified RX ring at a time. This is preparation work for resetting one RX ring during run-time. 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>