lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 15 Sep 2020 16:49:26 +0800
From:   kernel test robot <lkp@...el.com>
To:     Geert Uytterhoeven <geert+renesas@...der.be>
Cc:     kbuild-all@...ts.01.org, netdev@...r.kernel.org
Subject: [net-next:master 108/112]
 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c:752:
 undefined reference to `cxgb4_reclaim_completed_tx'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   a33d91ee3817ef00fc7abfe95ab0b8ccef1b26fb
commit: 6bd860ac1c2a0ec2bbe3470bf2b82348ee354dfc [108/112] chelsio/chtls: CHELSIO_INLINE_CRYPTO should depend on CHELSIO_T4
config: x86_64-randconfig-a001-20200914 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        git checkout 6bd860ac1c2a0ec2bbe3470bf2b82348ee354dfc
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   ld: drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.o: in function `chcr_ipsec_xmit':
>> drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c:752: undefined reference to `cxgb4_reclaim_completed_tx'
>> ld: drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c:773: undefined reference to `cxgb4_map_skb'
>> ld: drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c:797: undefined reference to `cxgb4_inline_tx_skb'
>> ld: drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c:807: undefined reference to `cxgb4_ring_tx_db'
>> ld: drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c:800: undefined reference to `cxgb4_write_sgl'
   ld: drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.o: in function `chcr_ipsec_exit':
>> drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c:847: undefined reference to `cxgb4_unregister_uld'
   ld: drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.o: in function `chcr_ipsec_init':
>> drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c:825: undefined reference to `cxgb4_register_uld'

# https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=6bd860ac1c2a0ec2bbe3470bf2b82348ee354dfc
git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
git fetch --no-tags net-next master
git checkout 6bd860ac1c2a0ec2bbe3470bf2b82348ee354dfc
vim +752 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c

6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  718  
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  719  /*
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  720   *      chcr_ipsec_xmit called from ULD Tx handler
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  721   */
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  722  int chcr_ipsec_xmit(struct sk_buff *skb, struct net_device *dev)
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  723  {
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  724  	struct xfrm_state *x = xfrm_input_state(skb);
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  725  	unsigned int last_desc, ndesc, flits = 0;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  726  	struct ipsec_sa_entry *sa_entry;
267469ea65fd2e drivers/crypto/chelsio/chcr_ipsec.c                              Colin Ian King    2017-11-30  727  	u64 *pos, *end, *before, *sgl;
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  728  	struct tx_sw_desc *sgl_sdesc;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  729  	int qidx, left, credits;
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  730  	bool immediate = false;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  731  	struct sge_eth_txq *q;
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  732  	struct adapter *adap;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  733  	struct port_info *pi;
a053c866496d0c drivers/crypto/chelsio/chcr_ipsec.c                              Florian Westphal  2018-12-18  734  	struct sec_path *sp;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  735  
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  736  	if (!x->xso.offload_handle)
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  737  		return NETDEV_TX_BUSY;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  738  
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  739  	sa_entry = (struct ipsec_sa_entry *)x->xso.offload_handle;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  740  
a053c866496d0c drivers/crypto/chelsio/chcr_ipsec.c                              Florian Westphal  2018-12-18  741  	sp = skb_sec_path(skb);
a053c866496d0c drivers/crypto/chelsio/chcr_ipsec.c                              Florian Westphal  2018-12-18  742  	if (sp->len != 1) {
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  743  out_free:       dev_kfree_skb_any(skb);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  744  		return NETDEV_TX_OK;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  745  	}
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  746  
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  747  	pi = netdev_priv(dev);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  748  	adap = pi->adapter;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  749  	qidx = skb->queue_mapping;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  750  	q = &adap->sge.ethtxq[qidx + pi->first_qset];
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  751  
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16 @752  	cxgb4_reclaim_completed_tx(adap, &q->q, true);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  753  
8cd9d183731a8b drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2019-02-18  754  	flits = calc_tx_sec_flits(skb, sa_entry, &immediate);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  755  	ndesc = flits_to_desc(flits);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  756  	credits = txq_avail(&q->q) - ndesc;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  757  
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  758  	if (unlikely(credits < 0)) {
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  759  		eth_txq_stop(q);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  760  		dev_err(adap->pdev_dev,
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  761  			"%s: Tx ring %u full while queue awake! cred:%d %d %d flits:%d\n",
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  762  			dev->name, qidx, credits, ndesc, txq_avail(&q->q),
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  763  			flits);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  764  		return NETDEV_TX_BUSY;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  765  	}
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  766  
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  767  	last_desc = q->q.pidx + ndesc - 1;
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  768  	if (last_desc >= q->q.size)
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  769  		last_desc -= q->q.size;
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  770  	sgl_sdesc = &q->q.sdesc[last_desc];
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  771  
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  772  	if (!immediate &&
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22 @773  	    unlikely(cxgb4_map_skb(adap->pdev_dev, skb, sgl_sdesc->addr) < 0)) {
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  774  		memset(sgl_sdesc->addr, 0, sizeof(sgl_sdesc->addr));
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  775  		q->mapping_err++;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  776  		goto out_free;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  777  	}
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  778  
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  779  	pos = (u64 *)&q->q.desc[q->q.pidx];
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  780  	before = (u64 *)pos;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  781  	end = (u64 *)pos + flits;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  782  	/* Setup IPSec CPL */
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  783  	pos = (void *)chcr_crypto_wreq(skb, dev, (void *)pos,
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  784  				       credits, sa_entry);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  785  	if (before > (u64 *)pos) {
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  786  		left = (u8 *)end - (u8 *)q->q.stat;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  787  		end = (void *)q->q.desc + left;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  788  	}
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  789  	if (pos == (u64 *)q->q.stat) {
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  790  		left = (u8 *)end - (u8 *)q->q.stat;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  791  		end = (void *)q->q.desc + left;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  792  		pos = (void *)q->q.desc;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  793  	}
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  794  
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  795  	sgl = (void *)pos;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  796  	if (immediate) {
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16 @797  		cxgb4_inline_tx_skb(skb, &q->q, sgl);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  798  		dev_consume_skb_any(skb);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  799  	} else {
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16 @800  		cxgb4_write_sgl(skb, &q->q, (void *)sgl, end,
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  801  				0, sgl_sdesc->addr);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  802  		skb_orphan(skb);
0ed96b46c0ac26 drivers/crypto/chelsio/chcr_ipsec.c                              Rahul Lakkireddy  2019-11-22  803  		sgl_sdesc->skb = skb;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  804  	}
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  805  	txq_advance(&q->q, ndesc);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  806  
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16 @807  	cxgb4_ring_tx_db(adap, &q->q, ndesc);
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  808  	return NETDEV_TX_OK;
6dad4e8ab3ec65 drivers/crypto/chelsio/chcr_ipsec.c                              Atul Gupta        2017-11-16  809  }
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  810  
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  811  static void update_netdev_features(void)
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  812  {
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  813  	struct ipsec_uld_ctx *u_ctx, *tmp;
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  814  
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  815  	mutex_lock(&dev_mutex);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  816  	list_for_each_entry_safe(u_ctx, tmp, &uld_ctx_list, entry) {
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  817  		if (u_ctx->lldi.crypto & ULP_CRYPTO_IPSEC_INLINE)
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  818  			chcr_add_xfrmops(&u_ctx->lldi);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  819  	}
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  820  	mutex_unlock(&dev_mutex);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  821  }
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  822  
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  823  static int __init chcr_ipsec_init(void)
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  824  {
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19 @825  	cxgb4_register_uld(CXGB4_ULD_IPSEC, &ch_ipsec_uld_info);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  826  
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  827  	rtnl_lock();
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  828  	update_netdev_features();
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  829  	rtnl_unlock();
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  830  
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  831  	return 0;
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  832  }
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  833  
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  834  static void __exit chcr_ipsec_exit(void)
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  835  {
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  836  	struct ipsec_uld_ctx *u_ctx, *tmp;
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  837  	struct adapter *adap;
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  838  
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  839  	mutex_lock(&dev_mutex);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  840  	list_for_each_entry_safe(u_ctx, tmp, &uld_ctx_list, entry) {
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  841  		adap = pci_get_drvdata(u_ctx->lldi.pdev);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  842  		atomic_set(&adap->ch_ipsec_stats.ipsec_cnt, 0);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  843  		list_del(&u_ctx->entry);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  844  		kfree(u_ctx);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  845  	}
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  846  	mutex_unlock(&dev_mutex);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19 @847  	cxgb4_unregister_uld(CXGB4_ULD_IPSEC);
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  848  }
1b77be463929e6 drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c Vinay Kumar Yadav 2020-08-19  849  

:::::: The code at line 752 was first introduced by commit
:::::: 6dad4e8ab3ec65c3b948ad79e83751cf0f04cbdf chcr: Add support for Inline IPSec

:::::: TO: Atul Gupta <atul.gupta@...lsio.com>
:::::: CC: Herbert Xu <herbert@...dor.apana.org.au>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (38689 bytes)

Powered by blists - more mailing lists