nvme_ctrlr.c (550d5d64fef2d661ad87df92e9042ed3e5562540) | nvme_ctrlr.c (ead7e10308947fc5b9c6b96411f09d486d92833d) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (C) 2012-2016 Intel Corporation 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 506 unchanged lines hidden (view full) --- 515 nvme_completion_poll_cb, &status); 516 nvme_completion_poll(&status); 517 if (nvme_completion_is_error(&status.cpl)) { 518 nvme_printf(ctrlr, "nvme_create_io_cq failed!\n"); 519 return (ENXIO); 520 } 521 522 status.done = 0; | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (C) 2012-2016 Intel Corporation 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 506 unchanged lines hidden (view full) --- 515 nvme_completion_poll_cb, &status); 516 nvme_completion_poll(&status); 517 if (nvme_completion_is_error(&status.cpl)) { 518 nvme_printf(ctrlr, "nvme_create_io_cq failed!\n"); 519 return (ENXIO); 520 } 521 522 status.done = 0; |
523 nvme_ctrlr_cmd_create_io_sq(qpair->ctrlr, qpair, | 523 nvme_ctrlr_cmd_create_io_sq(ctrlr, qpair, |
524 nvme_completion_poll_cb, &status); 525 nvme_completion_poll(&status); 526 if (nvme_completion_is_error(&status.cpl)) { 527 nvme_printf(ctrlr, "nvme_create_io_sq failed!\n"); 528 return (ENXIO); 529 } 530 } 531 --- 1112 unchanged lines hidden --- | 524 nvme_completion_poll_cb, &status); 525 nvme_completion_poll(&status); 526 if (nvme_completion_is_error(&status.cpl)) { 527 nvme_printf(ctrlr, "nvme_create_io_sq failed!\n"); 528 return (ENXIO); 529 } 530 } 531 --- 1112 unchanged lines hidden --- |