summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/libeth/priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/intel/libeth/priv.h')
-rw-r--r--drivers/net/ethernet/intel/libeth/priv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/libeth/priv.h b/drivers/net/ethernet/intel/libeth/priv.h
index 03e74382b2cb..9b811d31015c 100644
--- a/drivers/net/ethernet/intel/libeth/priv.h
+++ b/drivers/net/ethernet/intel/libeth/priv.h
@@ -8,6 +8,7 @@
/* XDP */
+enum xdp_action;
struct libeth_xdp_buff;
struct libeth_xdp_tx_frame;
struct skb_shared_info;
@@ -17,6 +18,8 @@ extern const struct xsk_tx_metadata_ops libeth_xsktmo_slow;
void libeth_xsk_tx_return_bulk(const struct libeth_xdp_tx_frame *bq,
u32 count);
+u32 libeth_xsk_prog_exception(struct libeth_xdp_buff *xdp, enum xdp_action act,
+ int ret);
struct libeth_xdp_ops {
void (*bulk)(const struct skb_shared_info *sinfo,