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)
Thu, Jan 30, 3:08 AM
Unknown Object (File)
Fri, Jan 17, 9:08 AM
Unknown Object (File)
Dec 29 2024, 10:56 PM
Unknown Object (File)
Dec 14 2024, 12:13 AM
Unknown Object (File)
Nov 28 2024, 3:05 AM
Unknown Object (File)
Sep 19 2024, 12:36 AM
Unknown Object (File)
Sep 8 2024, 7:13 AM
Unknown Object (File)
Sep 3 2024, 12:24 AM
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