Home
last modified time | relevance | path

Searched refs:sgl_sdesc (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c1106 struct tx_sw_desc *sgl_sdesc; in chcr_ktls_xmit_wr_complete() local
1137 sgl_sdesc = &q->q.sdesc[last_desc]; in chcr_ktls_xmit_wr_complete()
1139 if (unlikely(cxgb4_map_skb(adap->pdev_dev, skb, sgl_sdesc->addr) < 0)) { in chcr_ktls_xmit_wr_complete()
1140 memset(sgl_sdesc->addr, 0, sizeof(sgl_sdesc->addr)); in chcr_ktls_xmit_wr_complete()
1242 cxgb4_write_partial_sgl(skb, &q->q, pos, end, sgl_sdesc->addr, in chcr_ktls_xmit_wr_complete()
1244 sgl_sdesc->skb = skb; in chcr_ktls_xmit_wr_complete()
1282 struct tx_sw_desc *sgl_sdesc; in chcr_ktls_xmit_wr_short() local
1322 sgl_sdesc = &q->q.sdesc[last_desc]; in chcr_ktls_xmit_wr_short()
1324 if (unlikely(cxgb4_map_skb(adap->pdev_dev, skb, sgl_sdesc->addr) < 0)) { in chcr_ktls_xmit_wr_short()
1325 memset(sgl_sdesc->addr, 0, sizeof(sgl_sdesc->addr)); in chcr_ktls_xmit_wr_short()
[all …]
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c714 struct tx_sw_desc *sgl_sdesc; in ch_ipsec_xmit() local
756 sgl_sdesc = &q->q.sdesc[last_desc]; in ch_ipsec_xmit()
759 unlikely(cxgb4_map_skb(adap->pdev_dev, skb, sgl_sdesc->addr) < 0)) { in ch_ipsec_xmit()
760 memset(sgl_sdesc->addr, 0, sizeof(sgl_sdesc->addr)); in ch_ipsec_xmit()
787 0, sgl_sdesc->addr); in ch_ipsec_xmit()
789 sgl_sdesc->skb = skb; in ch_ipsec_xmit()