Searched refs:q_ops (Results 1 – 2 of 2) sorted by relevance
1241 const struct mlxsw_pci_queue_ops *q_ops, in mlxsw_pci_queue_init() argument1249 if (q_ops->pre_init) in mlxsw_pci_queue_init()1250 q_ops->pre_init(mlxsw_pci, q); in mlxsw_pci_queue_init()1253 q->count = q_ops->elem_count_f ? q_ops->elem_count_f(q) : in mlxsw_pci_queue_init()1254 q_ops->elem_count; in mlxsw_pci_queue_init()1255 q->elem_size = q_ops->elem_size_f ? q_ops->elem_size_f(q) : in mlxsw_pci_queue_init()1256 q_ops->elem_size; in mlxsw_pci_queue_init()1257 q->type = q_ops->type; in mlxsw_pci_queue_init()1285 err = q_ops->init(mlxsw_pci, mbox, q); in mlxsw_pci_queue_init()1299 const struct mlxsw_pci_queue_ops *q_ops, in mlxsw_pci_queue_fini() argument[all …]
495 void xskq_destroy(struct xsk_queue *q_ops);