[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140831.213823.1615189696117720659.davem@davemloft.net>
Date: Sun, 31 Aug 2014 21:38:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hayeswang@...ltek.com
Cc: netdev@...r.kernel.org, nic_swsd@...ltek.com,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH net-next v2] r8152: reduce the number of Tx
From: Hayes Wang <hayeswang@...ltek.com>
Date: Mon, 1 Sep 2014 02:46:38 +0000
> From: David Miller [mailto:davem@...emloft.net]
> [...]
>> This driver has a loop that iterates MAX_TX times to initialize both
>> the RX and TX buffers.
>>
>> So if they are not equal, it can't possibly work.
>
> Excuse me. I don't find that the "RTL8152_MAX_TX" is used by
> rx buffer. The rx buffer only use "RTL8152_MAX_RX". Although
> the tx buffer size is determined by "rx_buf_sz", the tx buffers
> are independent of rx buffers.
Ok, but that is really confusing code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists