![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* Copyright (c) 2020, Intel Corporation. */ 0003 0004 #ifndef _IGC_XDP_H_ 0005 #define _IGC_XDP_H_ 0006 0007 int igc_xdp_set_prog(struct igc_adapter *adapter, struct bpf_prog *prog, 0008 struct netlink_ext_ack *extack); 0009 int igc_xdp_setup_pool(struct igc_adapter *adapter, struct xsk_buff_pool *pool, 0010 u16 queue_id); 0011 0012 static inline bool igc_xdp_is_enabled(struct igc_adapter *adapter) 0013 { 0014 return !!adapter->xdp_prog; 0015 } 0016 0017 #endif /* _IGC_XDP_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |