From: kbuild test robot <lkp@intel.com>
To: Atul Gupta <atul.gupta@chelsio.com>
Cc: kbuild-all@01.org, herbert@gondor.apana.org.au,
linux-crypto@vger.kernel.org, netdev@vger.kernel.org,
steffen.klassert@secunet.com, Harsh Jain <harsh@chelsio.com>,
Ganesh Goudar <ganeshgr@chelsio.com>
Subject: Re: [PATCH v2 2/2] chcr: Add support for Inline IPSec
Date: Thu, 16 Nov 2017 13:19:52 +0800 [thread overview]
Message-ID: <201711161235.7CcyCmC8%fengguang.wu@intel.com> (raw)
In-Reply-To: <1510226941-20472-1-git-send-email-atul.gupta@chelsio.com>
[-- Attachment #1: Type: text/plain, Size: 2608 bytes --]
Hi Atul,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on cryptodev/master]
[also build test ERROR on next-20171115]
[cannot apply to v4.14]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Atul-Gupta/cxgb4-Add-support-for-Inline-IPSec-Tx/20171112-012558
base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: x86_64-randconfig-g0-11160917 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/crypto/chelsio/chcr_core.o: In function `chcr_uld_tx_handler':
>> drivers/crypto/chelsio/chcr_core.c:195: undefined reference to `chcr_ipsec_xmit'
drivers/crypto/chelsio/chcr_core.o: In function `chcr_uld_add':
>> drivers/crypto/chelsio/chcr_core.c:169: undefined reference to `chcr_add_xfrmops'
vim +195 drivers/crypto/chelsio/chcr_core.c
152
153 static void *chcr_uld_add(const struct cxgb4_lld_info *lld)
154 {
155 struct uld_ctx *u_ctx;
156
157 /* Create the device and add it in the device list */
158 if (!(lld->ulp_crypto & ULP_CRYPTO_LOOKASIDE))
159 return ERR_PTR(-EOPNOTSUPP);
160
161 /* Create the device and add it in the device list */
162 u_ctx = kzalloc(sizeof(*u_ctx), GFP_KERNEL);
163 if (!u_ctx) {
164 u_ctx = ERR_PTR(-ENOMEM);
165 goto out;
166 }
167 u_ctx->lldi = *lld;
168 if (lld->crypto & ULP_CRYPTO_IPSEC_INLINE)
> 169 chcr_add_xfrmops(lld);
170 out:
171 return u_ctx;
172 }
173
174 int chcr_uld_rx_handler(void *handle, const __be64 *rsp,
175 const struct pkt_gl *pgl)
176 {
177 struct uld_ctx *u_ctx = (struct uld_ctx *)handle;
178 struct chcr_dev *dev = u_ctx->dev;
179 const struct cpl_fw6_pld *rpl = (struct cpl_fw6_pld *)rsp;
180
181 if (rpl->opcode != CPL_FW6_PLD) {
182 pr_err("Unsupported opcode\n");
183 return 0;
184 }
185
186 if (!pgl)
187 work_handlers[rpl->opcode](dev, (unsigned char *)&rsp[1]);
188 else
189 work_handlers[rpl->opcode](dev, pgl->va);
190 return 0;
191 }
192
193 int chcr_uld_tx_handler(struct sk_buff *skb, struct net_device *dev)
194 {
> 195 return chcr_ipsec_xmit(skb, dev);
196 }
197
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30112 bytes --]
next prev parent reply other threads:[~2017-11-16 5:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-09 11:29 [PATCH v2 2/2] chcr: Add support for Inline IPSec Atul Gupta
2017-11-14 7:09 ` David Miller
2017-11-16 5:19 ` kbuild test robot [this message]
2017-11-16 7:06 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201711161235.7CcyCmC8%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=atul.gupta@chelsio.com \
--cc=ganeshgr@chelsio.com \
--cc=harsh@chelsio.com \
--cc=herbert@gondor.apana.org.au \
--cc=kbuild-all@01.org \
--cc=linux-crypto@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=steffen.klassert@secunet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox