Lines Matching defs:app
177 static inline void assert_nfp_app_locked(struct nfp_app *app) in assert_nfp_app_locked()
182 static inline bool nfp_app_is_locked(struct nfp_app *app) in nfp_app_is_locked()
191 static inline int nfp_app_init(struct nfp_app *app) in nfp_app_init()
198 static inline void nfp_app_clean(struct nfp_app *app) in nfp_app_clean()
207 static inline int nfp_app_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_vnic_alloc()
213 static inline void nfp_app_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_free()
219 static inline int nfp_app_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_init()
226 static inline void nfp_app_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_clean()
232 static inline int nfp_app_repr_open(struct nfp_app *app, struct nfp_repr *repr) in nfp_app_repr_open()
239 static inline int nfp_app_repr_stop(struct nfp_app *app, struct nfp_repr *repr) in nfp_app_repr_stop()
247 nfp_app_repr_init(struct nfp_app *app, struct net_device *netdev) in nfp_app_repr_init()
255 nfp_app_repr_preclean(struct nfp_app *app, struct net_device *netdev) in nfp_app_repr_preclean()
262 nfp_app_repr_clean(struct nfp_app *app, struct net_device *netdev) in nfp_app_repr_clean()
269 nfp_app_check_mtu(struct nfp_app *app, struct net_device *netdev, int new_mtu) in nfp_app_check_mtu()
277 nfp_app_repr_change_mtu(struct nfp_app *app, struct net_device *netdev, in nfp_app_repr_change_mtu()
285 static inline const char *nfp_app_name(struct nfp_app *app) in nfp_app_name()
292 static inline bool nfp_app_needs_ctrl_vnic(struct nfp_app *app) in nfp_app_needs_ctrl_vnic()
297 static inline bool nfp_app_ctrl_has_meta(struct nfp_app *app) in nfp_app_ctrl_has_meta()
302 static inline bool nfp_app_ctrl_uses_data_vnics(struct nfp_app *app) in nfp_app_ctrl_uses_data_vnics()
307 static inline const char *nfp_app_extra_cap(struct nfp_app *app, in nfp_app_extra_cap()
315 static inline bool nfp_app_has_tc(struct nfp_app *app) in nfp_app_has_tc()
320 static inline int nfp_app_setup_tc(struct nfp_app *app, in nfp_app_setup_tc()
329 static inline int nfp_app_bpf(struct nfp_app *app, struct nfp_net *nn, in nfp_app_bpf()
337 static inline int nfp_app_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_app_xdp_offload()
346 static inline bool __nfp_app_ctrl_tx(struct nfp_app *app, struct sk_buff *skb) in __nfp_app_ctrl_tx()
354 static inline bool nfp_app_ctrl_tx(struct nfp_app *app, struct sk_buff *skb) in nfp_app_ctrl_tx()
362 static inline void nfp_app_ctrl_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_app_ctrl_rx()
371 nfp_app_ctrl_rx_raw(struct nfp_app *app, const void *data, unsigned int len) in nfp_app_ctrl_rx_raw()
380 static inline int nfp_app_eswitch_mode_get(struct nfp_app *app, u16 *mode) in nfp_app_eswitch_mode_get()
390 static inline int nfp_app_eswitch_mode_set(struct nfp_app *app, u16 mode) in nfp_app_eswitch_mode_set()
397 static inline int nfp_app_sriov_enable(struct nfp_app *app, int num_vfs) in nfp_app_sriov_enable()
404 static inline void nfp_app_sriov_disable(struct nfp_app *app) in nfp_app_sriov_disable()
411 struct net_device *nfp_app_dev_get(struct nfp_app *app, u32 id, in nfp_app_dev_get()