* Retrieve the Interface ID of the NFP * * @param cpp * NFP CPP handle * * @return * NFP CPP Interface ID */
| 189 | * NFP CPP Interface ID |
| 190 | */ |
| 191 | uint16_t |
| 192 | nfp_cpp_interface(struct nfp_cpp *cpp) |
| 193 | { |
| 194 | if (cpp == NULL) |
| 195 | return NFP_CPP_INTERFACE(NFP_CPP_INTERFACE_TYPE_INVALID, 0, 0); |
| 196 | |
| 197 | return cpp->interface; |
| 198 | } |
| 199 | |
| 200 | /** |
| 201 | * Retrieve the driver need lock flag |
no outgoing calls
no test coverage detected