net: stmmac: introduce wrapper for struct xdp_buff
authorSong Yoong Siang <yoong.siang.song@intel.com>
Sat, 15 Apr 2023 06:45:01 +0000 (14:45 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 18 Apr 2023 01:57:26 +0000 (18:57 -0700)
commit5b24324a907c996faf47ea3969499e04beea9c4f
treefbd4ba98a9392b4ec43d8e8c2ce5abea82bf0ef1
parent6c829efed5e8163dc13fa0d90c1e535e212fcc25
net: stmmac: introduce wrapper for struct xdp_buff

Introduce struct stmmac_xdp_buff as a preparation to support XDP Rx
metadata via kfuncs.

Signed-off-by: Song Yoong Siang <yoong.siang.song@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c