Lines Matching refs:rx_skbinfo
15 struct spl2sw_skb_info *rx_skbinfo; in spl2sw_rx_descs_flush() local
21 rx_skbinfo = comm->rx_skb_info[i]; in spl2sw_rx_descs_flush()
23 rx_desc[j].addr1 = rx_skbinfo[j].mapping; in spl2sw_rx_descs_flush()
62 struct spl2sw_skb_info *rx_skbinfo; in spl2sw_rx_descs_clean() local
71 rx_skbinfo = comm->rx_skb_info[i]; in spl2sw_rx_descs_clean()
78 if (rx_skbinfo[j].skb) { in spl2sw_rx_descs_clean()
79 dma_unmap_single(&comm->pdev->dev, rx_skbinfo[j].mapping, in spl2sw_rx_descs_clean()
81 dev_kfree_skb_any(rx_skbinfo[j].skb); in spl2sw_rx_descs_clean()
82 rx_skbinfo[j].skb = NULL; in spl2sw_rx_descs_clean()
83 rx_skbinfo[j].mapping = 0; in spl2sw_rx_descs_clean()
87 kfree(rx_skbinfo); in spl2sw_rx_descs_clean()
125 struct spl2sw_skb_info *rx_skbinfo; in spl2sw_rx_descs_init() local
132 comm->rx_skb_info[i] = kcalloc(comm->rx_desc_num[i], sizeof(*rx_skbinfo), in spl2sw_rx_descs_init()
137 rx_skbinfo = comm->rx_skb_info[i]; in spl2sw_rx_descs_init()
144 rx_skbinfo[j].skb = skb; in spl2sw_rx_descs_init()
151 rx_skbinfo[j].mapping = mapping; in spl2sw_rx_descs_init()