On Tuesday 02 April 2013 12:15, Or Gerlitz wrote: > On 28/03/2013 20:45, Kleber Sacilotto de Souza wrote: > > When the PCI adapter is going through error recovery, a call to > > mlx4_ib_post_send() will return success without the command actually > > arriving to the hardware. Adding a call to pci_channel_offline() to > > check the state of the PCI slot and returning an error will allow the > > upper layers to be aware that the command didn't succeed. > > Is putting this call in fast path common practice in other (e.g > Ethernet) drivers? > > Or. > In addition, have you done any timing tests to see how this affects the data path? I am very concerned here that you penalize normal performance for the sake of a very rare corner case.
-Jack -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html