Searched refs:mtu_conf (Results 1 – 3 of 3) sorted by relevance
133 spin_lock_bh(&app_priv->mtu_conf.lock); in nfp_flower_process_mtu_ack()134 if (!app_priv->mtu_conf.requested_val || in nfp_flower_process_mtu_ack()135 app_priv->mtu_conf.portnum != be32_to_cpu(msg->portnum) || in nfp_flower_process_mtu_ack()136 be16_to_cpu(msg->mtu) != app_priv->mtu_conf.requested_val) { in nfp_flower_process_mtu_ack()138 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_process_mtu_ack()142 app_priv->mtu_conf.ack = true; in nfp_flower_process_mtu_ack()143 app_priv->mtu_conf.requested_val = 0; in nfp_flower_process_mtu_ack()144 wake_up(&app_priv->mtu_conf.wait_q); in nfp_flower_process_mtu_ack()145 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_process_mtu_ack()
743 init_waitqueue_head(&app_priv->mtu_conf.wait_q); in nfp_flower_init()744 spin_lock_init(&app_priv->mtu_conf.lock); in nfp_flower_init()831 spin_lock_bh(&app_priv->mtu_conf.lock); in nfp_flower_check_ack()832 ret = app_priv->mtu_conf.ack; in nfp_flower_check_ack()833 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_check_ack()855 spin_lock_bh(&app_priv->mtu_conf.lock); in nfp_flower_repr_change_mtu()856 app_priv->mtu_conf.ack = false; in nfp_flower_repr_change_mtu()857 app_priv->mtu_conf.requested_val = new_mtu; in nfp_flower_repr_change_mtu()858 app_priv->mtu_conf.portnum = repr->dst->u.port_info.port_id; in nfp_flower_repr_change_mtu()859 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_repr_change_mtu()[all …]
188 struct nfp_mtu_conf mtu_conf; member