MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ionic_admin_qcq_alloc

Function ionic_admin_qcq_alloc

dpdk/drivers/net/ionic/ionic_lif.c:868–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866}
867
868static int
869ionic_admin_qcq_alloc(struct ionic_lif *lif)
870{
871 uint16_t flags = 0;
872 int err;
873
874 err = ionic_qcq_alloc(lif,
875 IONIC_QTYPE_ADMINQ,
876 sizeof(struct ionic_admin_qcq),
877 rte_socket_id(),
878 0,
879 "admin",
880 flags,
881 IONIC_ADMINQ_LENGTH,
882 1,
883 sizeof(struct ionic_admin_cmd),
884 sizeof(struct ionic_admin_comp),
885 0,
886 (struct ionic_qcq **)&lif->adminqcq);
887 if (err)
888 return err;
889
890 return 0;
891}
892
893static int
894ionic_notify_qcq_alloc(struct ionic_lif *lif)

Callers 1

ionic_lif_allocFunction · 0.85

Calls 2

ionic_qcq_allocFunction · 0.85
rte_socket_idFunction · 0.85

Tested by

no test coverage detected