fw.c (272027) | fw.c (299179) |
---|---|
1/* 2 * Copyright (c) 2004, 2005 Topspin Communications. All rights reserved. 3 * Copyright (c) 2005, 2006, 2007, 2008, 2014 Mellanox Technologies. All rights reserved. 4 * Copyright (c) 2005, 2006, 2007 Cisco Systems, Inc. All rights reserved. 5 * 6 * This software is available to you under a choice of one of two 7 * licenses. You may choose to be licensed under the terms of the GNU 8 * General Public License (GPL) Version 2, available from the file --- 1887 unchanged lines hidden (view full) --- 1896 } 1897 outbox = mailbox->buf; 1898 1899 while (num_tasks) { 1900 err = mlx4_cmd_box(dev, 0, mailbox->dma, 0, 0, 1901 MLX4_CMD_GET_OP_REQ, MLX4_CMD_TIME_CLASS_A, 1902 MLX4_CMD_NATIVE); 1903 if (err) { | 1/* 2 * Copyright (c) 2004, 2005 Topspin Communications. All rights reserved. 3 * Copyright (c) 2005, 2006, 2007, 2008, 2014 Mellanox Technologies. All rights reserved. 4 * Copyright (c) 2005, 2006, 2007 Cisco Systems, Inc. All rights reserved. 5 * 6 * This software is available to you under a choice of one of two 7 * licenses. You may choose to be licensed under the terms of the GNU 8 * General Public License (GPL) Version 2, available from the file --- 1887 unchanged lines hidden (view full) --- 1896 } 1897 outbox = mailbox->buf; 1898 1899 while (num_tasks) { 1900 err = mlx4_cmd_box(dev, 0, mailbox->dma, 0, 0, 1901 MLX4_CMD_GET_OP_REQ, MLX4_CMD_TIME_CLASS_A, 1902 MLX4_CMD_NATIVE); 1903 if (err) { |
1904 mlx4_err(dev, "Failed to retreive required operation: %d\n", err); | 1904 mlx4_err(dev, "Failed to retrieve required operation: %d\n", err); |
1905 return; 1906 } 1907 MLX4_GET(modifier, outbox, GET_OP_REQ_MODIFIER_OFFSET); 1908 MLX4_GET(token, outbox, GET_OP_REQ_TOKEN_OFFSET); 1909 MLX4_GET(type, outbox, GET_OP_REQ_TYPE_OFFSET); 1910 type_m = type >> 12; 1911 type &= 0xfff; 1912 --- 42 unchanged lines hidden --- | 1905 return; 1906 } 1907 MLX4_GET(modifier, outbox, GET_OP_REQ_MODIFIER_OFFSET); 1908 MLX4_GET(token, outbox, GET_OP_REQ_TOKEN_OFFSET); 1909 MLX4_GET(type, outbox, GET_OP_REQ_TYPE_OFFSET); 1910 type_m = type >> 12; 1911 type &= 0xfff; 1912 --- 42 unchanged lines hidden --- |