struct pending_queue { struct pending_entry *head; /* head of the queue */
u32 front; /* Process work from here */
u32 rear; /* Append new work here */
atomic64_t pending_count;
spinlock_t lock; /* Queue lock */
};
#define for_each_pending_queue(qinfo, q, i) \ for (i = 0, q = &qinfo->queue[i]; i < qinfo->nr_queues; i++, \
q = &qinfo->queue[i])
struct cpt_vf {
u16 flags; /* Flags to hold device status bits */
u8 vfid; /* Device Index 0...CPT_MAX_VF_NUM */
u8 vftype; /* VF type of SE_TYPE(1) or AE_TYPE(1) */
u8 vfgrp; /* VF group (0 - 8) */
u8 node; /* Operating node: Bits (46:44) in BAR0 address */
u8 priority; /* VF priority ring: 1-High proirity round * robin ring;0-Low priority round robin ring;
*/ struct pci_dev *pdev; /* pci device handle */ void __iomem *reg_base; /* Register start address */ void *wqe_info; /* BH worker info */ /* MSI-X */
cpumask_var_t affinity_mask[CPT_VF_MSIX_VECTORS]; /* Command and Pending queues */
u32 qsize;
u32 nr_queues; struct command_qinfo cqinfo; /* Command queue information */ struct pending_qinfo pqinfo; /* Pending queue information */ /* VF-PF mailbox communication */ bool pf_acked; bool pf_nacked;
};
int cptvf_send_vf_up(struct cpt_vf *cptvf); int cptvf_send_vf_down(struct cpt_vf *cptvf); int cptvf_send_vf_to_grp_msg(struct cpt_vf *cptvf); int cptvf_send_vf_priority_msg(struct cpt_vf *cptvf); int cptvf_send_vq_size_msg(struct cpt_vf *cptvf); int cptvf_check_pf_ready(struct cpt_vf *cptvf); void cptvf_handle_mbox_intr(struct cpt_vf *cptvf); void cvm_crypto_exit(void); int cvm_crypto_init(struct cpt_vf *cptvf); void vq_post_process(struct cpt_vf *cptvf, u32 qno); void cptvf_write_vq_doorbell(struct cpt_vf *cptvf, u32 val); #endif/* __CPTVF_H */
Messung V0.5 in Prozent
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.11Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-06-07)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.