Page MenuHomeFreeBSD

Split Rx/Tx from initialization code in ENA driver
ClosedPublic

Authored by mk_semihalf.com on Oct 8 2019, 8:18 AM.
Referenced Files
F132146018: D21933.id63028.diff
Tue, Oct 14, 4:27 AM
Unknown Object (File)
Thu, Oct 2, 9:00 AM
Unknown Object (File)
Mon, Sep 29, 7:15 PM
Unknown Object (File)
Sat, Sep 27, 2:24 PM
Unknown Object (File)
Thu, Sep 25, 7:54 PM
Unknown Object (File)
Thu, Sep 18, 5:40 AM
Unknown Object (File)
Sep 9 2025, 6:11 PM
Unknown Object (File)
Sep 9 2025, 6:01 PM

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable