| 213 | } |
| 214 | |
| 215 | static __rte_always_inline void |
| 216 | ice_dcf_vc_cmd_set(struct ice_dcf_hw *hw, struct dcf_virtchnl_cmd *cmd) |
| 217 | { |
| 218 | cmd->v_ret = IAVF_ERR_NOT_READY; |
| 219 | cmd->rsp_msglen = 0; |
| 220 | cmd->pending = 1; |
| 221 | |
| 222 | rte_spinlock_lock(&hw->vc_cmd_queue_lock); |
| 223 | |
| 224 | TAILQ_INSERT_TAIL(&hw->vc_cmd_queue, cmd, next); |
| 225 | |
| 226 | rte_spinlock_unlock(&hw->vc_cmd_queue_lock); |
| 227 | } |
| 228 | |
| 229 | static __rte_always_inline int |
| 230 | ice_dcf_vc_cmd_send(struct ice_dcf_hw *hw, struct dcf_virtchnl_cmd *cmd) |
no test coverage detected