Searched refs:xsks (Results 1 – 1 of 1) sorted by relevance
100 struct xsk_socket_info *xsks[MAX_SOCKS]; variable146 for (i = 0; i < num_socks && xsks[i]; i++) { in dump_stats()150 rx_pps = (xsks[i]->rx_npkts - xsks[i]->prev_rx_npkts) * in dump_stats()152 tx_pps = (xsks[i]->tx_npkts - xsks[i]->prev_tx_npkts) * in dump_stats()161 printf(fmt, "rx", rx_pps, xsks[i]->rx_npkts); in dump_stats()162 printf(fmt, "tx", tx_pps, xsks[i]->tx_npkts); in dump_stats()164 xsks[i]->prev_rx_npkts = xsks[i]->rx_npkts; in dump_stats()165 xsks[i]->prev_tx_npkts = xsks[i]->tx_npkts; in dump_stats()198 struct xsk_umem *umem = xsks[0]->umem->umem; in int_exit()203 xsk_socket__delete(xsks[0]->xsk); in int_exit()[all …]