ena.h (4fa9e02d9b354e83f03a4409f6b0daab5137ec31) ena.h (82f5a7921c7ff4edb1aea86eb2813e720f23310e)
1/*-
2 * BSD LICENSE
3 *
4 * Copyright (c) 2015-2017 Amazon.com, Inc. or its affiliates.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 56 unchanged lines hidden (view full) ---

65#define ENA_MEM_BAR 2
66
67#define ENA_BUS_DMA_SEGS 32
68
69#define ENA_DEFAULT_BUF_RING_SIZE 4096
70
71#define ENA_DEFAULT_RING_SIZE 1024
72
1/*-
2 * BSD LICENSE
3 *
4 * Copyright (c) 2015-2017 Amazon.com, Inc. or its affiliates.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 56 unchanged lines hidden (view full) ---

65#define ENA_MEM_BAR 2
66
67#define ENA_BUS_DMA_SEGS 32
68
69#define ENA_DEFAULT_BUF_RING_SIZE 4096
70
71#define ENA_DEFAULT_RING_SIZE 1024
72
73/*
74 * Refill Rx queue when number of required descriptors is above
75 * QUEUE_SIZE / ENA_RX_REFILL_THRESH_DIVIDER or ENA_RX_REFILL_THRESH_PACKET
76 */
73#define ENA_RX_REFILL_THRESH_DIVIDER 8
77#define ENA_RX_REFILL_THRESH_DIVIDER 8
78#define ENA_RX_REFILL_THRESH_PACKET 256
74
75#define ENA_IRQNAME_SIZE 40
76
77#define ENA_PKT_MAX_BUFS 19
78
79#define ENA_RX_RSS_TABLE_LOG_SIZE 7
80#define ENA_RX_RSS_TABLE_SIZE (1 << ENA_RX_RSS_TABLE_LOG_SIZE)
81

--- 357 unchanged lines hidden ---
79
80#define ENA_IRQNAME_SIZE 40
81
82#define ENA_PKT_MAX_BUFS 19
83
84#define ENA_RX_RSS_TABLE_LOG_SIZE 7
85#define ENA_RX_RSS_TABLE_SIZE (1 << ENA_RX_RSS_TABLE_LOG_SIZE)
86

--- 357 unchanged lines hidden ---