OSDN Git Service

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)
commit252df8b86667fe4640a2d9fb5cfc705ad285d578
tree165b4670b0bc1090adc730f2096795eaea1e2eb9
parentec5791c202aca90c1b3b99dff268a995cf2d6aa1
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