Lines Matching refs:nix_req
158 struct nix_inline_ipsec_cfg *nix_req; in rx_inline_ipsec_lf_cfg() local
162 nix_req = (struct nix_inline_ipsec_cfg *) in rx_inline_ipsec_lf_cfg()
164 sizeof(*nix_req), in rx_inline_ipsec_lf_cfg()
166 if (nix_req == NULL) { in rx_inline_ipsec_lf_cfg()
170 memset(nix_req, 0, sizeof(*nix_req)); in rx_inline_ipsec_lf_cfg()
171 nix_req->hdr.id = MBOX_MSG_NIX_INLINE_IPSEC_CFG; in rx_inline_ipsec_lf_cfg()
172 nix_req->hdr.sig = OTX2_MBOX_REQ_SIG; in rx_inline_ipsec_lf_cfg()
173 nix_req->enable = 1; in rx_inline_ipsec_lf_cfg()
174 nix_req->credit_th = req->credit_th; in rx_inline_ipsec_lf_cfg()
175 nix_req->bpid = req->bpid; in rx_inline_ipsec_lf_cfg()
177 nix_req->cpt_credit = OTX2_CPT_INST_QLEN_MSGS - 1; in rx_inline_ipsec_lf_cfg()
179 nix_req->cpt_credit = req->credit - 1; in rx_inline_ipsec_lf_cfg()
180 nix_req->gen_cfg.egrp = egrp; in rx_inline_ipsec_lf_cfg()
182 nix_req->gen_cfg.opcode = req->opcode; in rx_inline_ipsec_lf_cfg()
184 nix_req->gen_cfg.opcode = cpt_inline_rx_opcode(pdev); in rx_inline_ipsec_lf_cfg()
185 nix_req->gen_cfg.param1 = req->param1; in rx_inline_ipsec_lf_cfg()
186 nix_req->gen_cfg.param2 = req->param2; in rx_inline_ipsec_lf_cfg()
187 nix_req->inst_qsel.cpt_pf_func = OTX2_CPT_RVU_PFFUNC(cptpf->pf_id, 0); in rx_inline_ipsec_lf_cfg()
188 nix_req->inst_qsel.cpt_slot = 0; in rx_inline_ipsec_lf_cfg()