Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/infiniband/hw/amso1100/
Dc2.c216 struct c2_rxp_hdr *rxp_hdr; in c2_rx_alloc() local
226 memset(skb->data, 0, sizeof(*rxp_hdr)); in c2_rx_alloc()
236 rxp_hdr = (struct c2_rxp_hdr *) skb->data; in c2_rx_alloc()
237 rxp_hdr->flags = RXP_HRXD_READY; in c2_rx_alloc()
240 __raw_writew((__force u16) cpu_to_be16((u16) maplen - sizeof(*rxp_hdr)), in c2_rx_alloc()
423 struct c2_rxp_hdr *rxp_hdr = (struct c2_rxp_hdr *) elem->skb->data; in c2_rx_error() local
425 if (rxp_hdr->status != RXP_HRXD_OK || in c2_rx_error()
426 rxp_hdr->len > (rx_desc->len - sizeof(*rxp_hdr))) { in c2_rx_error()
432 pr_debug(" rxp_hdr : %p [PA %p]\n", rxp_hdr, in c2_rx_error()
433 (void *) __pa((unsigned long) rxp_hdr)); in c2_rx_error()
[all …]