Message ID | 20180131135356.19134-19-bjorn.topel@gmail.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
Series | Introducing AF_XDP support | expand |
diff --git a/include/linux/filter.h b/include/linux/filter.h index 43cacfe2cc2a..fbf6adb0fabd 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -504,6 +504,7 @@ struct xdp_buff { void *data_end; void *data_meta; void *data_hard_start; + unsigned long bp_handle; struct xdp_rxq_info *rxq; }; diff --git a/include/net/xdp.h b/include/net/xdp.h index b2362ddfa694..fee3278e3d52 100644 --- a/include/net/xdp.h +++ b/include/net/xdp.h @@ -37,6 +37,7 @@ struct xdp_rxq_info { struct net_device *dev; u32 queue_index; u32 reg_state; + struct buff_pool *bpool; } ____cacheline_aligned; /* perf critical, avoid false-sharing */ int xdp_rxq_info_reg(struct xdp_rxq_info *xdp_rxq,