Page MenuHomeFreeBSD

IFLIB: do not remove dmamap on buffer unload
AbandonedPublic

Authored by wma on Jan 17 2018, 11:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 7:41 AM
Unknown Object (File)
Feb 11 2024, 6:46 PM
Unknown Object (File)
Dec 20 2023, 5:59 AM
Unknown Object (File)
Nov 25 2023, 4:37 AM
Unknown Object (File)
Aug 11 2023, 5:47 AM
Unknown Object (File)
Jun 27 2023, 7:46 PM
Unknown Object (File)
May 22 2023, 12:52 AM
Unknown Object (File)
May 5 2023, 11:24 PM
Subscribers

Details

Summary

Dmamap is created only on IFC attach. If we remove it on
buffer release, we won't be able to do ifconfig down&up.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

shurd requested changes to this revision.Jan 22 2018, 7:16 PM

With this change, the RX map is never destroyed. Won't they need to be destroyed in iflib_rx_sds_free() before bus_dma_tag_destroy() is called?

This revision now requires changes to proceed.Jan 22 2018, 7:16 PM