stmmac: use XDP helpers
Make use of the xdp_{init,prepare}_buff() helpers instead of an open-coded version. Signed-off-by: NMatteo Croce <mcroce@microsoft.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录
Make use of the xdp_{init,prepare}_buff() helpers instead of an open-coded version. Signed-off-by: NMatteo Croce <mcroce@microsoft.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>