Changeset ebc797f in rtems-libbsd


Ignore:
Timestamp:
Apr 7, 2015, 11:53:16 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
Children:
da5e3a2
Parents:
fb7a532
git-author:
Sebastian Huber <sebastian.huber@…> (04/07/15 11:53:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/08/15 05:57:05)
Message:

if_dwc: Increase DMA descriptor count

This prevents some packet loss under heavy load conditions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/dwc/if_dwc.c

    rfb7a532 rebc797f  
    154154#define RX_DESC_COUNT   1024
    155155#else /* __rtems__ */
    156 #define RX_DESC_COUNT   64
     156#define RX_DESC_COUNT   256
    157157#endif /* __rtems__ */
    158158#define RX_DESC_SIZE    (sizeof(struct dwc_hwdesc) * RX_DESC_COUNT)
    159 #ifndef __rtems__
    160159#define TX_DESC_COUNT   1024
    161 #else /* __rtems__ */
    162 #define TX_DESC_COUNT   64
    163 #endif /* __rtems__ */
    164160#define TX_DESC_SIZE    (sizeof(struct dwc_hwdesc) * TX_DESC_COUNT)
    165161#define TX_MAX_DMA_SEGS 8       /* maximum segs in a tx mbuf dma */
Note: See TracChangeset for help on using the changeset viewer.