mbox_cmsg 118 drivers/net/ethernet/netronome/nfp/ccm_mbox.c return skb_queue_is_first(&nn->mbox_cmsg.queue, skb); mbox_cmsg 133 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb = skb_peek(&nn->mbox_cmsg.queue); mbox_cmsg 140 drivers/net/ethernet/netronome/nfp/ccm_mbox.c queue_work(nn->mbox_cmsg.workq, &nn->mbox_cmsg.runq_work); mbox_cmsg 159 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb = __skb_peek(&nn->mbox_cmsg.queue); mbox_cmsg 192 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb = skb_queue_next(&nn->mbox_cmsg.queue, skb); mbox_cmsg 203 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb = __skb_peek(&nn->mbox_cmsg.queue); mbox_cmsg 210 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb = skb_queue_next(&nn->mbox_cmsg.queue, skb); mbox_cmsg 330 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_lock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 332 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb = __skb_dequeue(&nn->mbox_cmsg.queue); mbox_cmsg 351 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_unlock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 360 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_lock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 362 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb = __skb_dequeue(&nn->mbox_cmsg.queue); mbox_cmsg 371 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_unlock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 375 drivers/net/ethernet/netronome/nfp/ccm_mbox.c __releases(&nn->mbox_cmsg.queue.lock) mbox_cmsg 385 drivers/net/ethernet/netronome/nfp/ccm_mbox.c last = skb = __skb_peek(&nn->mbox_cmsg.queue); mbox_cmsg 388 drivers/net/ethernet/netronome/nfp/ccm_mbox.c while (!skb_queue_is_last(&nn->mbox_cmsg.queue, last)) { mbox_cmsg 389 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb = skb_queue_next(&nn->mbox_cmsg.queue, last); mbox_cmsg 399 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_unlock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 417 drivers/net/ethernet/netronome/nfp/ccm_mbox.c wake_up_all(&nn->mbox_cmsg.wq); mbox_cmsg 436 drivers/net/ethernet/netronome/nfp/ccm_mbox.c __releases(&nn->mbox_cmsg.queue.lock) mbox_cmsg 441 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_unlock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 443 drivers/net/ethernet/netronome/nfp/ccm_mbox.c wait_event(nn->mbox_cmsg.wq, nfp_ccm_mbox_done(skb)); mbox_cmsg 449 drivers/net/ethernet/netronome/nfp/ccm_mbox.c __skb_unlink(skb, &nn->mbox_cmsg.queue); mbox_cmsg 453 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_unlock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 456 drivers/net/ethernet/netronome/nfp/ccm_mbox.c wake_up_all(&nn->mbox_cmsg.wq); mbox_cmsg 522 drivers/net/ethernet/netronome/nfp/ccm_mbox.c assert_spin_locked(&nn->mbox_cmsg.queue.lock); mbox_cmsg 524 drivers/net/ethernet/netronome/nfp/ccm_mbox.c if (!critical && nn->mbox_cmsg.queue.qlen >= NFP_CCM_MAX_QLEN) { mbox_cmsg 532 drivers/net/ethernet/netronome/nfp/ccm_mbox.c hdr->tag = cpu_to_be16(nn->mbox_cmsg.tag++); mbox_cmsg 534 drivers/net/ethernet/netronome/nfp/ccm_mbox.c __skb_queue_tail(&nn->mbox_cmsg.queue, skb); mbox_cmsg 551 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_lock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 561 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_unlock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 563 drivers/net/ethernet/netronome/nfp/ccm_mbox.c to = !wait_event_timeout(nn->mbox_cmsg.wq, mbox_cmsg 574 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_lock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 591 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_unlock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 611 drivers/net/ethernet/netronome/nfp/ccm_mbox.c nn = container_of(work, struct nfp_net, mbox_cmsg.runq_work); mbox_cmsg 613 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_lock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 615 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb = __skb_peek(&nn->mbox_cmsg.queue); mbox_cmsg 618 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_unlock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 631 drivers/net/ethernet/netronome/nfp/ccm_mbox.c nn = container_of(work, struct nfp_net, mbox_cmsg.wait_work); mbox_cmsg 633 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb = skb_peek(&nn->mbox_cmsg.queue); mbox_cmsg 645 drivers/net/ethernet/netronome/nfp/ccm_mbox.c wake_up_all(&nn->mbox_cmsg.wq); mbox_cmsg 660 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_lock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 671 drivers/net/ethernet/netronome/nfp/ccm_mbox.c queue_work(nn->mbox_cmsg.workq, mbox_cmsg 672 drivers/net/ethernet/netronome/nfp/ccm_mbox.c &nn->mbox_cmsg.wait_work); mbox_cmsg 678 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_unlock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 683 drivers/net/ethernet/netronome/nfp/ccm_mbox.c spin_unlock_bh(&nn->mbox_cmsg.queue.lock); mbox_cmsg 723 drivers/net/ethernet/netronome/nfp/ccm_mbox.c drain_workqueue(nn->mbox_cmsg.workq); mbox_cmsg 728 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb_queue_head_init(&nn->mbox_cmsg.queue); mbox_cmsg 729 drivers/net/ethernet/netronome/nfp/ccm_mbox.c init_waitqueue_head(&nn->mbox_cmsg.wq); mbox_cmsg 730 drivers/net/ethernet/netronome/nfp/ccm_mbox.c INIT_WORK(&nn->mbox_cmsg.wait_work, nfp_ccm_mbox_post_wait_work); mbox_cmsg 731 drivers/net/ethernet/netronome/nfp/ccm_mbox.c INIT_WORK(&nn->mbox_cmsg.runq_work, nfp_ccm_mbox_post_runq_work); mbox_cmsg 733 drivers/net/ethernet/netronome/nfp/ccm_mbox.c nn->mbox_cmsg.workq = alloc_workqueue("nfp-ccm-mbox", WQ_UNBOUND, 0); mbox_cmsg 734 drivers/net/ethernet/netronome/nfp/ccm_mbox.c if (!nn->mbox_cmsg.workq) mbox_cmsg 741 drivers/net/ethernet/netronome/nfp/ccm_mbox.c destroy_workqueue(nn->mbox_cmsg.workq); mbox_cmsg 742 drivers/net/ethernet/netronome/nfp/ccm_mbox.c WARN_ON(!skb_queue_empty(&nn->mbox_cmsg.queue)); mbox_cmsg 685 drivers/net/ethernet/netronome/nfp/nfp_net.h } mbox_cmsg;