On Mon, Oct 28, 2019 at 03:38:13PM +0200, Or Gerlitz wrote: > On Sun, Oct 27, 2019 at 8:29 AM Leon Romanovsky <leon@xxxxxxxxxx> wrote: > > > > From: Michael Guralnik <michaelgur@xxxxxxxxxxxx> > > > > Add a test in mlx5_ib initialization process to test whether > > write-combining is supported on the machine. > > The test will run as part of the enable_driver callback to ensure that > > the test runs after the device is setup and can create and modify the > > QP needed, but runs before the device is exposed to the users. > > > > The test opens UD QP and posts NOP WQEs, the WQE written to the BlueFlame > > is differnet from the WQE in memory, requesting CQE only on the BlueFlame > > nit: different Thanks, Jason/Doug should I resend? > > > WQE. By checking whether we received a completion on one of these WQEs we > > can know if BlueFlame succeeded and whether write-combining is supported. > > > > Change reporting of BlueFlame support to be dependent on write-combining > > support.