Changeset 0436d64 in rtems-libbsd


Ignore:
Timestamp:
01/09/17 10:43:40 (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, 5-freebsd-12, 6-freebsd-12, master
Children:
3ef41be
Parents:
88dad3b
git-author:
Sebastian Huber <sebastian.huber@…> (01/09/17 10:43:40)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/10/17 08:53:34)
Message:

if_dwc: Reduce DMA descriptor count

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/dwc/if_dwcvar.h

    r88dad3b r0436d64  
    4646 */
    4747#define RX_MAX_PACKET   0x7ff
     48#ifndef __rtems__
    4849#define RX_DESC_COUNT   1024
     50#else /* __rtems__ */
     51#define RX_DESC_COUNT   64
     52#endif /* __rtems__ */
    4953#define RX_DESC_SIZE    (sizeof(struct dwc_hwdesc) * RX_DESC_COUNT)
     54#ifndef __rtems__
    5055#define TX_DESC_COUNT   1024
     56#else /* __rtems__ */
     57#define TX_DESC_COUNT   256
     58#endif /* __rtems__ */
    5159#define TX_DESC_SIZE    (sizeof(struct dwc_hwdesc) * TX_DESC_COUNT)
    5260#define TX_MAX_DMA_SEGS 8       /* maximum segs in a tx mbuf dma */
Note: See TracChangeset for help on using the changeset viewer.