Searched refs:tun_ctx (Results 1 – 4 of 4) sorted by relevance
567 struct nft_inner_tun_ctx *tun_ctx) in nft_payload_inner_eval() 579 if (!(tun_ctx->flags & NFT_PAYLOAD_CTX_INNER_TUN)) in nft_payload_inner_eval() 582 offset = tun_ctx->inner_tunoff; in nft_payload_inner_eval() 585 if (!(tun_ctx->flags & NFT_PAYLOAD_CTX_INNER_LL)) in nft_payload_inner_eval() 588 offset = tun_ctx->inner_lloff; in nft_payload_inner_eval() 591 if (!(tun_ctx->flags & NFT_PAYLOAD_CTX_INNER_NH)) in nft_payload_inner_eval() 594 offset = tun_ctx->inner_nhoff; in nft_payload_inner_eval() 597 if (!(tun_ctx->flags & NFT_PAYLOAD_CTX_INNER_TH)) in nft_payload_inner_eval() 600 offset = tun_ctx->inner_thoff; in nft_payload_inner_eval() 566 nft_payload_inner_eval(const struct nft_expr * expr,struct nft_regs * regs,const struct nft_pktinfo * pkt,struct nft_inner_tun_ctx * tun_ctx) nft_payload_inner_eval() argument
876 struct nft_inner_tun_ctx *tun_ctx) in nft_meta_inner_eval() argument883 nft_reg_store16(dest, (__force u16)tun_ctx->llproto); in nft_meta_inner_eval()886 if (!(tun_ctx->flags & NFT_PAYLOAD_CTX_INNER_TH)) in nft_meta_inner_eval()889 nft_reg_store8(dest, tun_ctx->l4proto); in nft_meta_inner_eval()
51 struct nft_inner_tun_ctx *tun_ctx);
518 struct mlx4_ib_demux_pv_ctx *tun_ctx; in mlx4_ib_send_to_slave() local536 tun_ctx = dev->sriov.demux[port-1].tun[slave]; in mlx4_ib_send_to_slave()539 if (!tun_ctx || tun_ctx->state != DEMUX_PV_STATE_ACTIVE) in mlx4_ib_send_to_slave()543 tun_qp = &tun_ctx->qp[0]; in mlx4_ib_send_to_slave()545 tun_qp = &tun_ctx->qp[1]; in mlx4_ib_send_to_slave()588 ah = rdma_create_ah(tun_ctx->pd, &attr, 0); in mlx4_ib_send_to_slave()656 list.lkey = tun_ctx->pd->local_dma_lkey; in mlx4_ib_send_to_slave()