drivers/net/ethernet/marvell/octeontx2/af/cn20k/nix.c
raw| 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* Marvell RVU Admin Function driver |
| 3 | * |
| 4 | * Copyright (C) 2024 Marvell. |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #include <linux/module.h> |
| 9 | #include <linux/pci.h> |
| 10 | |
| 11 | #include "struct.h" |
| 12 | #include "../rvu.h" |
| 13 | |
| 14 | int rvu_mbox_handler_nix_cn20k_aq_enq(struct rvu *rvu, |
| 15 | struct nix_cn20k_aq_enq_req *req, |
| 16 | struct nix_cn20k_aq_enq_rsp *rsp) |
| 17 | { |
| 18 | return rvu_nix_aq_enq_inst(rvu, (struct nix_aq_enq_req *)req, |
| 19 | (struct nix_aq_enq_rsp *)rsp); |
| 20 | } |