Page MenuHomeFreeBSD

Split Rx/Tx from initialization code in ENA driver
Needs ReviewPublic

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

Details

Reviewers
cperciva
mw
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
Lint Skipped
Unit
Unit Tests Skipped