ena.h (04cf2b885d7dc385ed8e48df1d0218b5e4162869) ena.h (8483b844e7e48dbfc61c6e38908921c4fa691d4c)
1/*-
2 * BSD LICENSE
3 *
4 * Copyright (c) 2015-2019 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

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

315
316 };
317
318 bool first_interrupt;
319 uint16_t no_interrupt_event_cnt;
320
321 struct ena_com_rx_buf_info ena_bufs[ENA_PKT_MAX_BUFS];
322
1/*-
2 * BSD LICENSE
3 *
4 * Copyright (c) 2015-2019 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

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

315
316 };
317
318 bool first_interrupt;
319 uint16_t no_interrupt_event_cnt;
320
321 struct ena_com_rx_buf_info ena_bufs[ENA_PKT_MAX_BUFS];
322
323 /*
324 * Fields used for Adaptive Interrupt Modulation - to be implemented in
325 * the future releases
326 */
327 uint32_t smoothed_interval;
328 enum ena_intr_moder_level moder_tbl_idx;
329
330 struct ena_que *que;
331 struct lro_ctrl lro;
332
333 uint16_t next_to_use;
334 uint16_t next_to_clean;
335
336 union {
337 struct ena_tx_buffer *tx_buffer_info; /* contex of tx packet */

--- 175 unchanged lines hidden ---
323 struct ena_que *que;
324 struct lro_ctrl lro;
325
326 uint16_t next_to_use;
327 uint16_t next_to_clean;
328
329 union {
330 struct ena_tx_buffer *tx_buffer_info; /* contex of tx packet */

--- 175 unchanged lines hidden ---