p4lang / tdi

Table-Driven Interface (TDI) for a P4-programmable backend device.
Apache License 2.0
40 stars 23 forks source link

Clear the device map when device remove is called #50

Closed swaroopsarma closed 2 years ago

swaroopsarma commented 2 years ago

Clear the device map when devRemove routine is called, so that the subsequent deviceAdd routines will succeed. Otherwise the deviceAdd will fail stating that device already exists.