Page MenuHomeFreeBSD

Split Rx/Tx from initialization code in ENA driver
ClosedPublic

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

Details

Summary

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 <rk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon, Inc.

Diff Detail

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

Event Timeline

mk_semihalf.com 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.