diff options
author | hayeswang <hayeswang@realtek.com> | 2014-08-28 06:24:18 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-02 04:47:21 +0400 |
commit | 1764bcd9fe0fa075b3c847836b646c386f7a672b (patch) | |
tree | c495a8cc7c0e2a2664b13746156b68dfb5a6aea7 /drivers/net/usb | |
parent | 53fda7f7f9e88fa9015b2cdabebfaf5477a28241 (diff) | |
download | linux-1764bcd9fe0fa075b3c847836b646c386f7a672b.tar.xz |
r8152: reduce the number of Tx
Because the Tx has the features of stopping queue and aggregation,
We don't need many tx buffers. Change the tx number from 10 to 4
to reduce the usage of the memory. This could save 16K * 6 bytes
memory.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r-- | drivers/net/usb/r8152.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 33dcc975c62d..cc64dc0ba6fc 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c @@ -424,7 +424,7 @@ enum rtl_register_content { FULL_DUP = 0x01, }; -#define RTL8152_MAX_TX 10 +#define RTL8152_MAX_TX 4 #define RTL8152_MAX_RX 10 #define INTBUFSIZE 2 #define CRC_SIZE 4 |