]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: replace array with linking list for rx information
authorHayes Wang <hayeswang@realtek.com>
Tue, 13 Aug 2019 03:42:06 +0000 (11:42 +0800)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 14 Aug 2019 01:12:08 +0000 (18:12 -0700)
commit0955761de1d124490051c920a5b1520d21a872ac
tree165b4670b0bc1090adc730f2096795eaea1e2eb9
parentbcd0ad160c38b125823d00b0855c7aeeda0796ba
r8152: replace array with linking list for rx information

The original method uses an array to store the rx information. The
new one uses a list to link each rx structure. Then, it is possible
to increase/decrease the number of rx structure dynamically.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/usb/r8152.c