Lines Matching refs:num_fds
340 int num_fds, err, max_retries; in dpaa2_eth_xdp_flush() local
347 num_fds = xdp_fds->num; in dpaa2_eth_xdp_flush()
348 max_retries = num_fds * DPAA2_ETH_ENQUEUE_RETRIES; in dpaa2_eth_xdp_flush()
349 while (total_enqueued < num_fds && retries < max_retries) { in dpaa2_eth_xdp_flush()
351 0, num_fds - total_enqueued, &enqueued); in dpaa2_eth_xdp_flush()
1257 int *num_fds, u32 *total_fds_len) in dpaa2_eth_build_gso_fd() argument
1369 *num_fds = index; in dpaa2_eth_build_gso_fd()
1403 int num_fds = 1, max_retries; in __dpaa2_eth_tx() local
1432 err = dpaa2_eth_build_gso_fd(priv, skb, fd, &num_fds, &fd_len); in __dpaa2_eth_tx()
1433 percpu_extras->tx_sg_frames += num_fds; in __dpaa2_eth_tx()
1435 percpu_extras->tx_tso_frames += num_fds; in __dpaa2_eth_tx()
1463 for (i = 0; i < num_fds; i++) in __dpaa2_eth_tx()
1490 max_retries = num_fds * DPAA2_ETH_ENQUEUE_RETRIES; in __dpaa2_eth_tx()
1491 while (total_enqueued < num_fds && retries < max_retries) { in __dpaa2_eth_tx()
1493 prio, num_fds - total_enqueued, &enqueued); in __dpaa2_eth_tx()