Lines Matching refs:mtu_conf
814 init_waitqueue_head(&app_priv->mtu_conf.wait_q); in nfp_flower_init()
815 spin_lock_init(&app_priv->mtu_conf.lock); in nfp_flower_init()
877 spin_lock_bh(&app_priv->mtu_conf.lock); in nfp_flower_check_ack()
878 ret = app_priv->mtu_conf.ack; in nfp_flower_check_ack()
879 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_check_ack()
901 spin_lock_bh(&app_priv->mtu_conf.lock); in nfp_flower_repr_change_mtu()
902 app_priv->mtu_conf.ack = false; in nfp_flower_repr_change_mtu()
903 app_priv->mtu_conf.requested_val = new_mtu; in nfp_flower_repr_change_mtu()
904 app_priv->mtu_conf.portnum = repr->dst->u.port_info.port_id; in nfp_flower_repr_change_mtu()
905 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_repr_change_mtu()
910 spin_lock_bh(&app_priv->mtu_conf.lock); in nfp_flower_repr_change_mtu()
911 app_priv->mtu_conf.requested_val = 0; in nfp_flower_repr_change_mtu()
912 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_repr_change_mtu()
917 if (!wait_event_timeout(app_priv->mtu_conf.wait_q, in nfp_flower_repr_change_mtu()
920 spin_lock_bh(&app_priv->mtu_conf.lock); in nfp_flower_repr_change_mtu()
921 app_priv->mtu_conf.requested_val = 0; in nfp_flower_repr_change_mtu()
922 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_repr_change_mtu()