bpf: Let bpf_warn_invalid_xdp_action() report more info
[linux-2.6-block.git] / drivers / net / ethernet / netronome / nfp / nfp_net_common.c
index 6e38da4ad554c31e401ef23dd83f4bdb60bf7068..79257ec41987c1896b40bc63d550a0ee56fd2bd2 100644 (file)
@@ -1944,7 +1944,7 @@ static int nfp_net_rx(struct nfp_net_rx_ring *rx_ring, int budget)
                                                            xdp_prog, act);
                                continue;
                        default:
-                               bpf_warn_invalid_xdp_action(act);
+                               bpf_warn_invalid_xdp_action(dp->netdev, xdp_prog, act);
                                fallthrough;
                        case XDP_ABORTED:
                                trace_xdp_exception(dp->netdev, xdp_prog, act);