On 10/2/20 6:36 AM, Ciara Loftus wrote:
Categorise and record syscalls issued in the xdpsock sample app. The
categories recorded are:

   rx_empty_polls:    polls when the rx ring is empty
   fill_fail_polls:   polls when failed to get addr from fill ring
   copy_tx_sendtos:   sendtos issued for tx when copy mode enabled
   tx_wakeup_sendtos: sendtos issued when tx ring needs waking up
   opt_polls:         polls issued since the '-p' flag is set

Print the stats using '-a' on the xdpsock command line.

Signed-off-by: Ciara Loftus <ciara.lof...@intel.com>

I am not a xdp expert and cannot really judge whether such additional
stats will be useful or not. Beyond that the patch looks good to me.

Acked-by: Yonghong Song <y...@fb.com>

Reply via email to