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()
823 init_waitqueue_head(&app_priv->mtu_conf.wait_q); in nfp_flower_init()824 spin_lock_init(&app_priv->mtu_conf.lock); in nfp_flower_init()886 spin_lock_bh(&app_priv->mtu_conf.lock); in nfp_flower_check_ack()887 ret = app_priv->mtu_conf.ack; in nfp_flower_check_ack()888 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_check_ack()910 spin_lock_bh(&app_priv->mtu_conf.lock); in nfp_flower_repr_change_mtu()911 app_priv->mtu_conf.ack = false; in nfp_flower_repr_change_mtu()912 app_priv->mtu_conf.requested_val = new_mtu; in nfp_flower_repr_change_mtu()913 app_priv->mtu_conf.portnum = repr->dst->u.port_info.port_id; in nfp_flower_repr_change_mtu()914 spin_unlock_bh(&app_priv->mtu_conf.lock); in nfp_flower_repr_change_mtu()[all …]
323 struct nfp_mtu_conf mtu_conf; member