mvpp2: remove unused parameter
mvpp2_run_xdp() has an unused parameter rxq, remove it. Fixes: 07dd0a7aae7f ("mvpp2: add basic XDP support") Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1f975aba21
commit
376d68929d
@ -3784,9 +3784,9 @@ mvpp2_xdp_xmit(struct net_device *dev, int num_frame,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
mvpp2_run_xdp(struct mvpp2_port *port, struct mvpp2_rx_queue *rxq,
|
mvpp2_run_xdp(struct mvpp2_port *port, struct bpf_prog *prog,
|
||||||
struct bpf_prog *prog, struct xdp_buff *xdp,
|
struct xdp_buff *xdp, struct page_pool *pp,
|
||||||
struct page_pool *pp, struct mvpp2_pcpu_stats *stats)
|
struct mvpp2_pcpu_stats *stats)
|
||||||
{
|
{
|
||||||
unsigned int len, sync, err;
|
unsigned int len, sync, err;
|
||||||
struct page *page;
|
struct page *page;
|
||||||
@ -3925,7 +3925,7 @@ static int mvpp2_rx(struct mvpp2_port *port, struct napi_struct *napi,
|
|||||||
MVPP2_MH_SIZE + MVPP2_SKB_HEADROOM,
|
MVPP2_MH_SIZE + MVPP2_SKB_HEADROOM,
|
||||||
rx_bytes, false);
|
rx_bytes, false);
|
||||||
|
|
||||||
ret = mvpp2_run_xdp(port, rxq, xdp_prog, &xdp, pp, &ps);
|
ret = mvpp2_run_xdp(port, xdp_prog, &xdp, pp, &ps);
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
xdp_ret |= ret;
|
xdp_ret |= ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user