ffec: Increase buffer descriptor count to 512

Update #3090.
This commit is contained in:
Sebastian Huber 2017-10-25 13:25:15 +02:00
parent 0cb40755cc
commit fd5ee57372

View File

@ -127,9 +127,9 @@ static struct ofw_compat_data compat_data[] = {
/* /*
* Driver data and defines. The descriptor counts must be a power of two. * Driver data and defines. The descriptor counts must be a power of two.
*/ */
#define RX_DESC_COUNT 64 #define RX_DESC_COUNT 512
#define RX_DESC_SIZE (sizeof(struct ffec_hwdesc) * RX_DESC_COUNT) #define RX_DESC_SIZE (sizeof(struct ffec_hwdesc) * RX_DESC_COUNT)
#define TX_DESC_COUNT 64 #define TX_DESC_COUNT 512
#define TX_DESC_SIZE (sizeof(struct ffec_hwdesc) * TX_DESC_COUNT) #define TX_DESC_SIZE (sizeof(struct ffec_hwdesc) * TX_DESC_COUNT)
#define TX_MAX_DMA_SEGS 8 #define TX_MAX_DMA_SEGS 8