Device Driver Close

The close entry point for the device drivers is called to close the specified network device. This function resets the device to a known state and frees system resources associated with the device.

The device will not be detached from the network until the device's transmit queue drains. That is, the close entry point will not return until all packets have been transmitted or timed out. If the device is inoperable at the time of the close, the device's transmit queue does not have to drain.

At the beginning of the close entry point, the device state is set to be CLOSE_PENDING. The NDD_RUNNING flag in the ndd_flags is turned off. After the outstanding transmit queue is all done, the device driver starts a sequence of operations to deactivate the adapter and to free up resources. Before the close entry point returns to the caller, the device state is set to CLOSED.

The close entry points are as follows:
  • bent_close for the Gigabit Ethernet-SX Adapter Device Driver (e414a816).
  • elxent_close for the 2-port 10GbE SR PCIe2 Adapter (a21910071410d003).
  • elxent_close for the PCIe2 2-port 10GbE SFP+Copper Adapter (a21910071410d103).
  • elxent_close for the 10GbE 4-port Mezzanine PCIe Adapter (a2191007df1033e7).
  • elxent_close for the Int Multifunction Card SR Optical 10GbE (a219100714100904) and Base-TX 10/100/1000 1GbE (a21910071410d203).
  • elxent_close for the Int Multifunction Card Copper SFP+ 10GbE (a219100714100a04) and Base-TX 10/100/1000 1GbE (a21910071410d203).
  • gxent_close for the Gigabit Ethernet-SX PCI Adapter Device Driver (14100401)
  • goent_close for the Gigabit Ethernet-SX PCI-X Adapter Device Driver (14106802), the 10/100/1000 Base-T Ethernet PCI-X Adapter Device Driver (14106902), the 2-Port Gigabit Ethernet-SX PCI-X Adapter Device Driver (14108802), the 2-Port 10/100/1000 Base-TX PCI-X Adapter Device Driver (14108902), the 4-Port 10/100/1000 Base-TX PCI-X Adapter Device Driver (14101103), and 4-Port 10/100/1000 Base-TX PCI-Express Adapter Device Driver (14106803), the 2-Port Gigabit Ethernet-SX PCI-Express Adapter Device Driver (14103f03), and the 2-Port 10/100/1000 Base-TX PCI-Express Adapter Device Driver (14104003).
  • hea_close for the Host Ethernet Adapter Device Driver.
  • kent_close for the PCI Ethernet Device Driver (22100020).
  • kngent_close for the 10 Gigabit Ethernet-SR PCI-X 2.0 DDR Adapter Device Driver (1410eb02) and the 10 Gigabit Ethernet-LR PCI_X 2.0 DDR Adapter Device Driver (1410ec02).
  • ment_close for the Gigabit Ethernet-SX Adapter Device Driver (14101403) and the Gigabit Ethernet-SX PCI-X Adapter Device Driver (14106703).
  • msnent_close for the 10 Gb Ethernet PCI Express Dual Port Adapter (7710008077108001).
  • msnent_close for the 10 Gb Ethernet-SR PCI Express Dual Port Adapter (771000801410b003).
  • musent_close for the 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004).
  • musent_close for the 1GbE 4-port Mezzanine Adapter (e4145616e4140518) and 1GbE 4-port Mezzanine Adapter (e4145616e4140528).
  • nment_close for the 4-Port Gigabit Ethernet PCI-Express Adapter (e4143a16e4143009).
  • nment_close for the 2-Port Gigabit Ethernet PCI-Express Adapter (e4143a16e4140909).
  • nment_close for the 2-Port Gigabit Ethernet PCI-Express Combo Adapter (e4143a161410a003).
  • nment_close for the 2-Port Integrated Gigabit Ethernet PCI-Express Adapter (e4143a161410ed03).
  • scent_close for the 10/100 Mbps Ethernet PCI Adapter II Device Driver (1410ff01).
  • phxent_close for the 10/100 Mbps Ethernet PCI Adapter Device Driver (23100020).
  • vent_close for the 10 Gigabit Ethernet-SR PCI-X Adapter Device Driver (1410ba02) and the 10 Gigabit Ethernet-LR PCI_X Adapter Device Driver (1410bb02).