i40e_adminq.h (27067774dce3388702a4cf744d7096c6fb71b688) i40e_adminq.h (ceebc2f348c028b21bf9bcc99f7a3c4b0cb7d926)
1/******************************************************************************
2
1/******************************************************************************
2
3 Copyright (c) 2013-2015, Intel Corporation
3 Copyright (c) 2013-2017, Intel Corporation
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

--- 142 unchanged lines hidden (view full) ---

154 if (!((u32)aq_rc < (sizeof(aq_to_posix) / sizeof((aq_to_posix)[0]))))
155 return -ERANGE;
156
157 return aq_to_posix[aq_rc];
158}
159
160/* general information */
161#define I40E_AQ_LARGE_BUF 512
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

--- 142 unchanged lines hidden (view full) ---

154 if (!((u32)aq_rc < (sizeof(aq_to_posix) / sizeof((aq_to_posix)[0]))))
155 return -ERANGE;
156
157 return aq_to_posix[aq_rc];
158}
159
160/* general information */
161#define I40E_AQ_LARGE_BUF 512
162#define I40E_ASQ_CMD_TIMEOUT 250 /* msecs */
162#define I40E_ASQ_CMD_TIMEOUT 250000 /* usecs */
163
164void i40e_fill_default_direct_cmd_desc(struct i40e_aq_desc *desc,
165 u16 opcode);
166
167#endif /* _I40E_ADMINQ_H_ */
163
164void i40e_fill_default_direct_cmd_desc(struct i40e_aq_desc *desc,
165 u16 opcode);
166
167#endif /* _I40E_ADMINQ_H_ */