• Home
  • Raw
  • Download

Lines Matching refs:extra

273 		struct xen_netif_extra_info *extra;  in xenvif_rx_next_skb()  local
275 extra = &pkt->extras[XEN_NETIF_EXTRA_TYPE_GSO - 1]; in xenvif_rx_next_skb()
277 extra->u.gso.type = gso_type; in xenvif_rx_next_skb()
278 extra->u.gso.size = skb_shinfo(skb)->gso_size; in xenvif_rx_next_skb()
279 extra->u.gso.pad = 0; in xenvif_rx_next_skb()
280 extra->u.gso.features = 0; in xenvif_rx_next_skb()
281 extra->type = XEN_NETIF_EXTRA_TYPE_GSO; in xenvif_rx_next_skb()
282 extra->flags = 0; in xenvif_rx_next_skb()
288 struct xen_netif_extra_info *extra; in xenvif_rx_next_skb() local
290 extra = &pkt->extras[XEN_NETIF_EXTRA_TYPE_XDP - 1]; in xenvif_rx_next_skb()
292 memset(extra, 0, sizeof(struct xen_netif_extra_info)); in xenvif_rx_next_skb()
293 extra->u.xdp.headroom = queue->vif->xdp_headroom; in xenvif_rx_next_skb()
294 extra->type = XEN_NETIF_EXTRA_TYPE_XDP; in xenvif_rx_next_skb()
295 extra->flags = 0; in xenvif_rx_next_skb()
301 struct xen_netif_extra_info *extra; in xenvif_rx_next_skb() local
303 extra = &pkt->extras[XEN_NETIF_EXTRA_TYPE_HASH - 1]; in xenvif_rx_next_skb()
305 extra->u.hash.algorithm = in xenvif_rx_next_skb()
309 extra->u.hash.type = in xenvif_rx_next_skb()
314 extra->u.hash.type = in xenvif_rx_next_skb()
319 *(uint32_t *)extra->u.hash.value = skb_get_hash_raw(skb); in xenvif_rx_next_skb()
321 extra->type = XEN_NETIF_EXTRA_TYPE_HASH; in xenvif_rx_next_skb()
322 extra->flags = 0; in xenvif_rx_next_skb()
442 struct xen_netif_extra_info *extra = (void *)rsp; in xenvif_rx_extra_slot() local
449 *extra = pkt->extras[i]; in xenvif_rx_extra_slot()
452 extra->flags |= XEN_NETIF_EXTRA_FLAG_MORE; in xenvif_rx_extra_slot()