Re: [PATCH V3 net-next 4/4] net: ena: xdp: add queue counters for xdp actions

2020-09-09 Thread Jakub Kicinski
On Wed, 9 Sep 2020 06:46:27 + same...@amazon.com wrote: > @@ -374,17 +375,31 @@ static int ena_xdp_execute(struct ena_ring *rx_ring, > > verdict = bpf_prog_run_xdp(xdp_prog, xdp); > > - if (verdict == XDP_TX) > + if (verdict == XDP_TX) { > ena_xdp_xmit_buff(rx_ri

[PATCH V3 net-next 4/4] net: ena: xdp: add queue counters for xdp actions

2020-09-08 Thread sameehj
From: Sameeh Jubran When using XDP every ingress packet is passed to an eBPF (xdp) program which returns an action for this packet. This patch adds counters for the number of times each such action was received. It also counts all the invalid actions received from the eBPF program. Signed-off-b