• Home
  • Raw
  • Download

Lines Matching refs:req_id

302 	u16 next_to_use, req_id;  in ena_xdp_xmit_frame()  local
306 req_id = xdp_ring->free_ids[next_to_use]; in ena_xdp_xmit_frame()
307 tx_info = &xdp_ring->tx_buffer_info[req_id]; in ena_xdp_xmit_frame()
314 ena_tx_ctx.req_id = req_id; in ena_xdp_xmit_frame()
1080 u16 next_to_use, req_id; in ena_refill_rx_bufs() local
1089 req_id = rx_ring->free_ids[next_to_use]; in ena_refill_rx_bufs()
1091 rx_info = &rx_ring->rx_buffer_info[req_id]; in ena_refill_rx_bufs()
1102 req_id); in ena_refill_rx_bufs()
1275 static int handle_invalid_req_id(struct ena_ring *ring, u16 req_id, in handle_invalid_req_id() argument
1289 req_id); in handle_invalid_req_id()
1299 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id() argument
1303 tx_info = &tx_ring->tx_buffer_info[req_id]; in validate_tx_req_id()
1307 return handle_invalid_req_id(tx_ring, req_id, tx_info, false); in validate_tx_req_id()
1310 static int validate_xdp_req_id(struct ena_ring *xdp_ring, u16 req_id) in validate_xdp_req_id() argument
1314 tx_info = &xdp_ring->tx_buffer_info[req_id]; in validate_xdp_req_id()
1318 return handle_invalid_req_id(xdp_ring, req_id, tx_info, true); in validate_xdp_req_id()
1328 u16 req_id; in ena_clean_tx_irq() local
1340 &req_id); in ena_clean_tx_irq()
1343 handle_invalid_req_id(tx_ring, req_id, NULL, in ena_clean_tx_irq()
1349 rc = validate_tx_req_id(tx_ring, req_id); in ena_clean_tx_irq()
1353 tx_info = &tx_ring->tx_buffer_info[req_id]; in ena_clean_tx_irq()
1373 tx_ring->free_ids[next_to_clean] = req_id; in ena_clean_tx_irq()
1442 u16 len, req_id, buf = 0; in ena_rx_skb() local
1449 req_id = ena_bufs[buf].req_id; in ena_rx_skb()
1451 rx_info = &rx_ring->rx_buffer_info[req_id]; in ena_rx_skb()
1456 "Page is NULL. qid %u req_id %u\n", rx_ring->qid, req_id); in ena_rx_skb()
1498 rx_ring->free_ids[*next_to_clean] = req_id; in ena_rx_skb()
1522 rx_ring->free_ids[*next_to_clean] = req_id; in ena_rx_skb()
1531 req_id = ena_bufs[buf].req_id; in ena_rx_skb()
1533 rx_info = &rx_ring->rx_buffer_info[req_id]; in ena_rx_skb()
1642 rx_info = &rx_ring->rx_buffer_info[rx_ring->ena_bufs[0].req_id]; in ena_xdp_handle_buff()
1705 rx_info = &rx_ring->rx_buffer_info[rx_ring->ena_bufs[0].req_id]; in ena_clean_rx_irq()
1725 int req_id = rx_ring->ena_bufs[i].req_id; in ena_clean_rx_irq() local
1727 rx_ring->free_ids[next_to_clean] = req_id; in ena_clean_rx_irq()
1737 &rx_ring->rx_buffer_info[req_id]); in ena_clean_rx_irq()
1738 rx_ring->rx_buffer_info[req_id].page = NULL; in ena_clean_rx_irq()
1919 u16 req_id; in ena_clean_xdp_irq() local
1931 &req_id); in ena_clean_xdp_irq()
1934 handle_invalid_req_id(xdp_ring, req_id, NULL, in ena_clean_xdp_irq()
1940 rc = validate_xdp_req_id(xdp_ring, req_id); in ena_clean_xdp_irq()
1944 tx_info = &xdp_ring->tx_buffer_info[req_id]; in ena_clean_xdp_irq()
1960 xdp_ring->free_ids[next_to_clean] = req_id; in ena_clean_xdp_irq()
3095 u16 next_to_use, req_id, header_len; in ena_start_xmit() local
3111 req_id = tx_ring->free_ids[next_to_use]; in ena_start_xmit()
3112 tx_info = &tx_ring->tx_buffer_info[req_id]; in ena_start_xmit()
3115 WARN(tx_info->skb, "SKB isn't NULL req_id %d\n", req_id); in ena_start_xmit()
3125 ena_tx_ctx.req_id = req_id; in ena_start_xmit()