ixl.h (1d767a8eae87497c53037a6e470505ce1061592c) ixl.h (6c4260596592702e3d33f60d1aea881b288e1651)
1/******************************************************************************
2
3 Copyright (c) 2013-2015, Intel Corporation
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8

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

157#define HW_DEBUGOUT(...)
158#endif /* IXL_DEBUG */
159
160/* Tunables */
161
162/*
163 * Ring Descriptors Valid Range: 32-4096 Default Value: 1024 This value is the
164 * number of tx/rx descriptors allocated by the driver. Increasing this
1/******************************************************************************
2
3 Copyright (c) 2013-2015, Intel Corporation
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8

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

157#define HW_DEBUGOUT(...)
158#endif /* IXL_DEBUG */
159
160/* Tunables */
161
162/*
163 * Ring Descriptors Valid Range: 32-4096 Default Value: 1024 This value is the
164 * number of tx/rx descriptors allocated by the driver. Increasing this
165 * value allows the driver to queue more operations. Each descriptor is 16
166 * or 32 bytes (configurable in FVL)
165 * value allows the driver to queue more operations.
166 *
167 * Tx descriptors are always 16 bytes, but Rx descriptors can be 32 bytes.
168 * The driver currently always uses 32 byte Rx descriptors.
167 */
168#define DEFAULT_RING 1024
169#define PERFORM_RING 2048
170#define MAX_RING 4096
171#define MIN_RING 32
172
173/*
174** Default number of entries in Tx queue buf_ring.

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

210#define IXL_AQ_LEN 256
211#define IXL_AQ_LEN_MAX 1024
212#define IXL_AQ_BUFSZ 4096
213#define IXL_RX_LIMIT 512
214#define IXL_RX_ITR 0
215#define IXL_TX_ITR 1
216#define IXL_ITR_NONE 3
217#define IXL_QUEUE_EOL 0x7FF
169 */
170#define DEFAULT_RING 1024
171#define PERFORM_RING 2048
172#define MAX_RING 4096
173#define MIN_RING 32
174
175/*
176** Default number of entries in Tx queue buf_ring.

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

212#define IXL_AQ_LEN 256
213#define IXL_AQ_LEN_MAX 1024
214#define IXL_AQ_BUFSZ 4096
215#define IXL_RX_LIMIT 512
216#define IXL_RX_ITR 0
217#define IXL_TX_ITR 1
218#define IXL_ITR_NONE 3
219#define IXL_QUEUE_EOL 0x7FF
218#define IXL_MAX_FRAME 0x2600
220#define IXL_MAX_FRAME 9728
219#define IXL_MAX_TX_SEGS 8
220#define IXL_MAX_TSO_SEGS 66
221#define IXL_SPARSE_CHAIN 6
222#define IXL_QUEUE_HUNG 0x80000000
223#define IXL_KEYSZ 10
224
225#define IXL_VF_MAX_BUFFER 0x3F80
226#define IXL_VF_MAX_HDR_BUFFER 0x840

--- 409 unchanged lines hidden ---
221#define IXL_MAX_TX_SEGS 8
222#define IXL_MAX_TSO_SEGS 66
223#define IXL_SPARSE_CHAIN 6
224#define IXL_QUEUE_HUNG 0x80000000
225#define IXL_KEYSZ 10
226
227#define IXL_VF_MAX_BUFFER 0x3F80
228#define IXL_VF_MAX_HDR_BUFFER 0x840

--- 409 unchanged lines hidden ---