Skip to content

Commit

Permalink
net: mventa: drop mvneta_stats from mvneta_swbm_rx_frame signature
Browse files Browse the repository at this point in the history
Remove mvneta_stats from mvneta_swbm_rx_frame signature since now stats
are accounted in mvneta_run_xdp routine

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Lorenzo Bianconi authored and David S. Miller committed Sep 10, 2020
1 parent 6198f44 commit 3a8c4ad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/net/ethernet/marvell/mvneta.c
Original file line number Diff line number Diff line change
Expand Up @@ -2226,8 +2226,7 @@ mvneta_swbm_rx_frame(struct mvneta_port *pp,
struct mvneta_rx_desc *rx_desc,
struct mvneta_rx_queue *rxq,
struct xdp_buff *xdp, int *size,
struct page *page,
struct mvneta_stats *stats)
struct page *page)
{
unsigned char *data = page_address(page);
int data_len = -MVNETA_MH_SIZE, len;
Expand Down Expand Up @@ -2380,7 +2379,7 @@ static int mvneta_rx_swbm(struct napi_struct *napi,
desc_status = rx_desc->status;

mvneta_swbm_rx_frame(pp, rx_desc, rxq, &xdp_buf,
&size, page, &ps);
&size, page);
} else {
if (unlikely(!xdp_buf.data_hard_start))
continue;
Expand Down

0 comments on commit 3a8c4ad

Please sign in to comment.