Message ID | Y4kd2f0563PVof5O@lore-desk (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | non-linear xdp fix for enetc driver | expand |
diff --git a/drivers/net/ethernet/freescale/enetc/enetc.c b/drivers/net/ethernet/freescale/enetc/enetc.c index 8671591cb750..9ddd6c1c6e0e 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc.c +++ b/drivers/net/ethernet/freescale/enetc/enetc.c @@ -1416,6 +1416,7 @@ static void enetc_add_rx_buff_to_xdp(struct enetc_bdr *rx_ring, int i, skb_frag_size_set(frag, size); __skb_frag_set_page(frag, rx_swbd->page); + xdp_buff_set_frags_flag(xdp_buff); shinfo->nr_frags++; }