Changeset 0436d64 in rtems-libbsd


Ignore:
Timestamp:
Jan 9, 2017, 10:43:40 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 7f47f2784138109b8363804c2aecd3d83231ab0f, f1f03620800b14146977d78fb4322d80da04b53a, 90a9fd66e0a85d8520bbb4bbcb72bfd274965961
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.