Page MenuHomeFreeBSD

Split Rx/Tx from initialization code in ENA driver

Authored by on Oct 8 2019, 8:18 AM.



Move Rx/Tx routines to separate file.
Some functions:

  • ena_restore_device,
  • ena_destroy_device,
  • ena_up,
  • ena_down,
  • ena_refill_rx_bufs

could be reused in upcoming netmap code in the driver. To make it
possible, they were moved to ena.h header.

Submitted by: Rafal Kozik <>
Obtained from: Semihalf
Sponsored by: Amazon, Inc.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline created this revision.Oct 8 2019, 8:18 AM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 31 2019, 3:44 PM
This revision was automatically updated to reflect the committed changes.