Commit 3a8c4ad1 authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by David S. Miller

net: mventa: drop mvneta_stats from mvneta_swbm_rx_frame signature

Remove mvneta_stats from mvneta_swbm_rx_frame signature since now stats
are accounted in mvneta_run_xdp routine
Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6198f446
...@@ -2226,8 +2226,7 @@ mvneta_swbm_rx_frame(struct mvneta_port *pp, ...@@ -2226,8 +2226,7 @@ mvneta_swbm_rx_frame(struct mvneta_port *pp,
struct mvneta_rx_desc *rx_desc, struct mvneta_rx_desc *rx_desc,
struct mvneta_rx_queue *rxq, struct mvneta_rx_queue *rxq,
struct xdp_buff *xdp, int *size, struct xdp_buff *xdp, int *size,
struct page *page, struct page *page)
struct mvneta_stats *stats)
{ {
unsigned char *data = page_address(page); unsigned char *data = page_address(page);
int data_len = -MVNETA_MH_SIZE, len; int data_len = -MVNETA_MH_SIZE, len;
...@@ -2380,7 +2379,7 @@ static int mvneta_rx_swbm(struct napi_struct *napi, ...@@ -2380,7 +2379,7 @@ static int mvneta_rx_swbm(struct napi_struct *napi,
desc_status = rx_desc->status; desc_status = rx_desc->status;
mvneta_swbm_rx_frame(pp, rx_desc, rxq, &xdp_buf, mvneta_swbm_rx_frame(pp, rx_desc, rxq, &xdp_buf,
&size, page, &ps); &size, page);
} else { } else {
if (unlikely(!xdp_buf.data_hard_start)) if (unlikely(!xdp_buf.data_hard_start))
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment