Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 208) sorted by relevance

123456789

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h90 int (*init)(struct nfp_app *app);
91 void (*clean)(struct nfp_app *app);
93 const char *(*extra_cap)(struct nfp_app *app, struct nfp_net *nn);
95 int (*ndo_init)(struct nfp_app *app, struct net_device *netdev);
96 void (*ndo_uninit)(struct nfp_app *app, struct net_device *netdev);
98 int (*vnic_alloc)(struct nfp_app *app, struct nfp_net *nn,
100 void (*vnic_free)(struct nfp_app *app, struct nfp_net *nn);
101 int (*vnic_init)(struct nfp_app *app, struct nfp_net *nn);
102 void (*vnic_clean)(struct nfp_app *app, struct nfp_net *nn);
104 int (*repr_init)(struct nfp_app *app, struct net_device *netdev);
[all …]
Dnfp_app.c43 return nn->app; in nfp_app_from_netdev()
49 return repr->app; in nfp_app_from_netdev()
57 const char *nfp_app_mip_name(struct nfp_app *app) in nfp_app_mip_name() argument
59 if (!app || !app->pf->mip) in nfp_app_mip_name()
61 return nfp_mip_name(app->pf->mip); in nfp_app_mip_name()
66 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_init() local
68 if (!app || !app->type->ndo_init) in nfp_app_ndo_init()
70 return app->type->ndo_init(app, netdev); in nfp_app_ndo_init()
75 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_uninit() local
77 if (app && app->type->ndo_uninit) in nfp_app_ndo_uninit()
[all …]
Dnfp_net_sriov.c18 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg, bool warn) in nfp_net_sriov_check() argument
22 if (!app || !app->pf->vfcfg_tbl2) in nfp_net_sriov_check()
25 cap_vf = readw(app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_CAP); in nfp_net_sriov_check()
28 nfp_warn(app->pf->cpp, "ndo_set_vf_%s not supported\n", msg); in nfp_net_sriov_check()
32 if (vf < 0 || vf >= app->pf->num_vfs) { in nfp_net_sriov_check()
34 nfp_warn(app->pf->cpp, "invalid VF id %d\n", vf); in nfp_net_sriov_check()
42 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) in nfp_net_sriov_update() argument
48 writeb(vf, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_VF_NUM); in nfp_net_sriov_update()
49 writew(update, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_UPD); in nfp_net_sriov_update()
51 nn = list_first_entry(&app->pf->vnics, struct nfp_net, vnic_list); in nfp_net_sriov_update()
[all …]
Dccm.c10 #define ccm_warn(app, msg...) nn_dp_warn(&(app)->ctrl->dp, msg) argument
30 ccm_warn(ccm->app, "all FW request contexts busy!\n"); in nfp_ccm_alloc_tag()
65 nfp_ccm_reply(struct nfp_ccm *ccm, struct nfp_app *app, u16 tag) in nfp_ccm_reply() argument
69 nfp_ctrl_lock(app->ctrl); in nfp_ccm_reply()
71 nfp_ctrl_unlock(app->ctrl); in nfp_ccm_reply()
77 nfp_ccm_reply_drop_tag(struct nfp_ccm *ccm, struct nfp_app *app, u16 tag) in nfp_ccm_reply_drop_tag() argument
81 nfp_ctrl_lock(app->ctrl); in nfp_ccm_reply_drop_tag()
85 nfp_ctrl_unlock(app->ctrl); in nfp_ccm_reply_drop_tag()
91 nfp_ccm_wait_reply(struct nfp_ccm *ccm, struct nfp_app *app, in nfp_ccm_wait_reply() argument
99 skb = nfp_ccm_reply(ccm, app, tag); in nfp_ccm_wait_reply()
[all …]
Dnfp_net_repr.c20 nfp_repr_get_locked(struct nfp_app *app, struct nfp_reprs *set, unsigned int id) in nfp_repr_get_locked() argument
23 nfp_app_is_locked(app)); in nfp_repr_get_locked()
172 err = nfp_app_check_mtu(repr->app, netdev, new_mtu); in nfp_repr_change_mtu()
176 err = nfp_app_repr_change_mtu(repr->app, netdev, new_mtu); in nfp_repr_change_mtu()
207 err = nfp_app_repr_stop(repr->app, repr); in nfp_repr_stop()
224 err = nfp_app_repr_open(repr->app, repr); in nfp_repr_open()
295 nfp_app_repr_clean(repr->app, repr->netdev); in nfp_repr_clean()
314 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev, in nfp_repr_init() argument
390 if (nfp_app_has_tc(app)) { in nfp_repr_init()
395 err = nfp_app_repr_init(app, netdev); in nfp_repr_init()
[all …]
Dnfp_net_repr.h55 struct nfp_app *app; member
91 nfp_repr_get_locked(struct nfp_app *app, struct nfp_reprs *set,
97 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev,
102 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs);
104 void nfp_reprs_clean_and_free(struct nfp_app *app, struct nfp_reprs *reprs);
105 void nfp_reprs_clean_and_free_by_type(struct nfp_app *app,
108 int nfp_reprs_resync_phys_ports(struct nfp_app *app);
110 static inline struct net_device *nfp_repr_alloc(struct nfp_app *app) in nfp_repr_alloc() argument
112 return nfp_repr_alloc_mqs(app, 1, 1); in nfp_repr_alloc()
/linux-6.12.1/net/802/
Dmrp.c237 static struct mrp_attr *mrp_attr_lookup(const struct mrp_applicant *app, in mrp_attr_lookup() argument
240 struct rb_node *parent = app->mad.rb_node; in mrp_attr_lookup()
257 static struct mrp_attr *mrp_attr_create(struct mrp_applicant *app, in mrp_attr_create() argument
260 struct rb_node *parent = NULL, **p = &app->mad.rb_node; in mrp_attr_create()
286 rb_insert_color(&attr->node, &app->mad); in mrp_attr_create()
290 static void mrp_attr_destroy(struct mrp_applicant *app, struct mrp_attr *attr) in mrp_attr_destroy() argument
292 rb_erase(&attr->node, &app->mad); in mrp_attr_destroy()
296 static void mrp_attr_destroy_all(struct mrp_applicant *app) in mrp_attr_destroy_all() argument
301 for (node = rb_first(&app->mad); in mrp_attr_destroy_all()
305 mrp_attr_destroy(app, attr); in mrp_attr_destroy_all()
[all …]
Dgarp.c148 static struct garp_attr *garp_attr_lookup(const struct garp_applicant *app, in garp_attr_lookup() argument
151 struct rb_node *parent = app->gid.rb_node; in garp_attr_lookup()
168 static struct garp_attr *garp_attr_create(struct garp_applicant *app, in garp_attr_create() argument
171 struct rb_node *parent = NULL, **p = &app->gid.rb_node; in garp_attr_create()
197 rb_insert_color(&attr->node, &app->gid); in garp_attr_create()
201 static void garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) in garp_attr_destroy() argument
203 rb_erase(&attr->node, &app->gid); in garp_attr_destroy()
207 static void garp_attr_destroy_all(struct garp_applicant *app) in garp_attr_destroy_all() argument
212 for (node = rb_first(&app->gid); in garp_attr_destroy_all()
216 garp_attr_destroy(app, attr); in garp_attr_destroy_all()
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c28 static const char *nfp_flower_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_extra_cap() argument
33 static enum devlink_eswitch_mode eswitch_mode_get(struct nfp_app *app) in eswitch_mode_get() argument
57 nfp_flower_get_internal_port_id(struct nfp_app *app, struct net_device *netdev) in nfp_flower_get_internal_port_id() argument
59 struct nfp_flower_priv *priv = app->priv; in nfp_flower_get_internal_port_id()
76 u32 nfp_flower_get_port_id_from_netdev(struct nfp_app *app, in nfp_flower_get_port_id_from_netdev() argument
79 struct nfp_flower_priv *priv = app->priv; in nfp_flower_get_port_id_from_netdev()
85 } else if (nfp_flower_internal_port_can_offload(app, netdev)) { in nfp_flower_get_port_id_from_netdev()
86 ext_port = nfp_flower_get_internal_port_id(app, netdev); in nfp_flower_get_port_id_from_netdev()
93 gid = nfp_flower_lag_get_output_id(app, netdev); in nfp_flower_get_port_id_from_netdev()
104 nfp_flower_get_netdev_from_internal_port_id(struct nfp_app *app, int port_id) in nfp_flower_get_netdev_from_internal_port_id() argument
[all …]
Dcmsg.c22 nfp_flower_cmsg_alloc(struct nfp_app *app, unsigned int size, in nfp_flower_cmsg_alloc() argument
30 skb = nfp_app_ctrl_msg_alloc(app, size, flag); in nfp_flower_cmsg_alloc()
44 nfp_flower_cmsg_mac_repr_start(struct nfp_app *app, unsigned int num_ports) in nfp_flower_cmsg_mac_repr_start() argument
49 skb = nfp_flower_cmsg_alloc(app, struct_size(msg, ports, num_ports), in nfp_flower_cmsg_mac_repr_start()
81 skb = nfp_flower_cmsg_alloc(repr->app, sizeof(*msg), in nfp_flower_cmsg_portmod()
96 nfp_ctrl_tx(repr->app->ctrl, skb); in nfp_flower_cmsg_portmod()
106 skb = nfp_flower_cmsg_alloc(repr->app, sizeof(*msg), in nfp_flower_cmsg_portreify()
117 nfp_ctrl_tx(repr->app->ctrl, skb); in nfp_flower_cmsg_portreify()
123 nfp_flower_process_mtu_ack(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_process_mtu_ack() argument
125 struct nfp_flower_priv *app_priv = app->priv; in nfp_flower_process_mtu_ack()
[all …]
Dtunnel_conf.c172 struct nfp_app *app; member
208 void nfp_tunnel_keep_alive(struct nfp_app *app, struct sk_buff *skb) in nfp_tunnel_keep_alive() argument
220 nfp_flower_cmsg_warn(app, "Tunnel keep-alive request exceeds max routes.\n"); in nfp_tunnel_keep_alive()
226 nfp_flower_cmsg_warn(app, "Corruption in tunnel keep-alive message.\n"); in nfp_tunnel_keep_alive()
234 netdev = nfp_app_dev_get(app, port, NULL); in nfp_tunnel_keep_alive()
249 void nfp_tunnel_keep_alive_v6(struct nfp_app *app, struct sk_buff *skb) in nfp_tunnel_keep_alive_v6() argument
262 nfp_flower_cmsg_warn(app, "IPv6 tunnel keep-alive request exceeds max routes.\n"); in nfp_tunnel_keep_alive_v6()
268 nfp_flower_cmsg_warn(app, "Corruption in tunnel keep-alive message.\n"); in nfp_tunnel_keep_alive_v6()
276 netdev = nfp_app_dev_get(app, port, NULL); in nfp_tunnel_keep_alive_v6()
293 nfp_flower_xmit_tun_conf(struct nfp_app *app, u8 mtype, u16 plen, void *pdata, in nfp_flower_xmit_tun_conf() argument
[all …]
Dmain.h303 struct nfp_app *app; member
517 nfp_flower_internal_port_can_offload(struct nfp_app *app, in nfp_flower_internal_port_can_offload() argument
520 struct nfp_flower_priv *app_priv = app->priv; in nfp_flower_internal_port_can_offload()
546 int nfp_flower_metadata_init(struct nfp_app *app, u64 host_ctx_count,
548 void nfp_flower_metadata_cleanup(struct nfp_app *app);
550 int nfp_flower_setup_tc(struct nfp_app *app, struct net_device *netdev,
552 int nfp_flower_merge_offloaded_flows(struct nfp_app *app,
609 int nfp_flower_compile_flow_match(struct nfp_app *app,
616 int nfp_flower_compile_action(struct nfp_app *app,
621 int nfp_compile_flow_metadata(struct nfp_app *app, u32 cookie,
[all …]
Dqos_conf.c86 int nfp_flower_offload_one_police(struct nfp_app *app, bool ingress, in nfp_flower_offload_one_police() argument
92 skb = nfp_flower_cmsg_alloc(app, sizeof(struct nfp_police_config), in nfp_flower_offload_one_police()
115 nfp_ctrl_tx(app->ctrl, skb); in nfp_flower_offload_one_police()
165 nfp_flower_install_rate_limiter(struct nfp_app *app, struct net_device *netdev, in nfp_flower_install_rate_limiter() argument
171 struct nfp_flower_priv *fl_priv = app->priv; in nfp_flower_install_rate_limiter()
274 nfp_flower_offload_one_police(repr->app, true, in nfp_flower_install_rate_limiter()
289 nfp_flower_remove_rate_limiter(struct nfp_app *app, struct net_device *netdev, in nfp_flower_remove_rate_limiter() argument
293 struct nfp_flower_priv *fl_priv = app->priv; in nfp_flower_remove_rate_limiter()
329 skb = nfp_flower_cmsg_alloc(repr->app, sizeof(struct nfp_police_config), in nfp_flower_remove_rate_limiter()
339 nfp_ctrl_tx(repr->app->ctrl, skb); in nfp_flower_remove_rate_limiter()
[all …]
Dmetadata.c40 static int nfp_release_stats_entry(struct nfp_app *app, u32 stats_context_id) in nfp_release_stats_entry() argument
42 struct nfp_flower_priv *priv = app->priv; in nfp_release_stats_entry()
58 static int nfp_get_stats_entry(struct nfp_app *app, u32 *stats_context_id) in nfp_get_stats_entry() argument
60 struct nfp_flower_priv *priv = app->priv; in nfp_get_stats_entry()
102 nfp_flower_search_fl_table(struct nfp_app *app, unsigned long tc_flower_cookie, in nfp_flower_search_fl_table() argument
106 struct nfp_flower_priv *priv = app->priv; in nfp_flower_search_fl_table()
115 void nfp_flower_rx_flow_stats(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_rx_flow_stats() argument
118 struct nfp_flower_priv *priv = app->priv; in nfp_flower_rx_flow_stats()
137 static int nfp_release_mask_id(struct nfp_app *app, u8 mask_id) in nfp_release_mask_id() argument
139 struct nfp_flower_priv *priv = app->priv; in nfp_release_mask_id()
[all …]
/linux-6.12.1/net/netfilter/ipvs/
Dip_vs_app.c45 static inline int ip_vs_app_get(struct ip_vs_app *app) in ip_vs_app_get() argument
47 return try_module_get(app->module); in ip_vs_app_get()
51 static inline void ip_vs_app_put(struct ip_vs_app *app) in ip_vs_app_put() argument
53 module_put(app->module); in ip_vs_app_put()
73 ip_vs_app_inc_new(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto, in ip_vs_app_inc_new() argument
86 inc = kmemdup(app, sizeof(*inc), GFP_KERNEL); in ip_vs_app_inc_new()
91 inc->app = app; in ip_vs_app_inc_new()
95 if (app->timeouts) { in ip_vs_app_inc_new()
97 ip_vs_create_timeout_table(app->timeouts, in ip_vs_app_inc_new()
98 app->timeouts_size); in ip_vs_app_inc_new()
[all …]
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_dcb.c119 struct dcb_app *app, in lan966x_dcb_ieee_dscp_setdel() argument
132 err = setdel(port->dev, app); in lan966x_dcb_ieee_dscp_setdel()
141 const struct dcb_app *app) in lan966x_dcb_app_validate() argument
145 switch (app->selector) { in lan966x_dcb_app_validate()
148 if (app->protocol) in lan966x_dcb_app_validate()
150 else if (app->priority >= NUM_PRIO_QUEUES) in lan966x_dcb_app_validate()
155 if (app->protocol >= LAN966X_PORT_QOS_DSCP_COUNT) in lan966x_dcb_app_validate()
157 else if (app->priority >= NUM_PRIO_QUEUES) in lan966x_dcb_app_validate()
162 if (app->protocol >= LAN966X_PORT_QOS_PCP_DEI_COUNT) in lan966x_dcb_app_validate()
164 else if (app->priority >= NUM_PRIO_QUEUES) in lan966x_dcb_app_validate()
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c30 nfp_abm_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_abm_setup_tc() argument
57 nfp_abm_repr_get(struct nfp_app *app, u32 port_id, bool *redir_egress) in nfp_abm_repr_get() argument
66 reprs = rcu_dereference(app->reprs[rtype]); in nfp_abm_repr_get()
77 nfp_abm_spawn_repr(struct nfp_app *app, struct nfp_abm_link *alink, in nfp_abm_spawn_repr() argument
96 netdev = nfp_repr_alloc_mqs(app, txqs, 1); in nfp_abm_spawn_repr()
102 port = nfp_port_alloc(app, ptype, netdev); in nfp_abm_spawn_repr()
110 err = nfp_port_init_phy_port(app->pf, app, port, alink->id); in nfp_abm_spawn_repr()
115 port->pf_split = app->pf->max_data_vnics > 1; in nfp_abm_spawn_repr()
123 err = nfp_repr_init(app, netdev, nfp_abm_portid(rtype, alink->id), in nfp_abm_spawn_repr()
128 reprs = nfp_reprs_get_locked(app, rtype); in nfp_abm_spawn_repr()
[all …]
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_dcb.c47 const struct dcb_app *app) in sparx5_dcb_app_validate() argument
51 switch (app->selector) { in sparx5_dcb_app_validate()
54 if (app->protocol != 0) in sparx5_dcb_app_validate()
56 else if (app->priority >= SPX5_PRIOS) in sparx5_dcb_app_validate()
61 if (app->protocol >= SPARX5_PORT_QOS_DSCP_COUNT) in sparx5_dcb_app_validate()
63 else if (app->priority >= SPX5_PRIOS) in sparx5_dcb_app_validate()
68 if (app->protocol >= SPARX5_PORT_QOS_PCP_DEI_COUNT) in sparx5_dcb_app_validate()
70 else if (app->priority >= SPX5_PRIOS) in sparx5_dcb_app_validate()
79 netdev_err(dev, "Invalid entry: %d:%d\n", app->protocol, in sparx5_dcb_app_validate()
80 app->priority); in sparx5_dcb_app_validate()
[all …]
/linux-6.12.1/Documentation/sphinx/
Dkfigure.py125 def setup(app): argument
127 app.connect('builder-inited', setupTools)
130 app.add_directive("kernel-image", KernelImage)
131 app.add_node(kernel_image,
139 app.add_directive("kernel-figure", KernelFigure)
140 app.add_node(kernel_figure,
148 app.add_directive('kernel-render', KernelRender)
149 app.add_node(kernel_render,
156 app.connect('doctree-read', add_kernel_figure_to_std_domain)
165 def setupTools(app): argument
[all …]
Dautomarkup.py79 def markup_refs(docname, app, node): argument
119 repl.append(markup_func[m.re](docname, app, m))
140 def markup_func_ref_sphinx3(docname, app, match): argument
141 cdom = app.env.domains['c']
169 xref = cdom.resolve_xref(app.env, docname, app.builder,
181 def markup_c_ref(docname, app, match): argument
201 cdom = app.env.domains['c']
228 xref = cdom.resolve_xref(app.env, docname, app.builder,
243 def markup_doc_ref(docname, app, match): argument
244 stddom = app.env.domains['std']
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c27 struct nfp_app_bpf *bpf = nn->app->priv; in nfp_net_ebpf_capable()
38 nfp_bpf_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_bpf_xdp_offload() argument
57 static const char *nfp_bpf_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_extra_cap() argument
63 nfp_bpf_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_bpf_vnic_alloc() argument
65 struct nfp_pf *pf = app->pf; in nfp_bpf_vnic_alloc()
84 err = nfp_app_nic_vnic_alloc(app, nn, id); in nfp_bpf_vnic_alloc()
97 static void nfp_bpf_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_vnic_free() argument
165 static int nfp_bpf_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_bpf_setup_tc() argument
182 nfp_bpf_check_mtu(struct nfp_app *app, struct net_device *netdev, int new_mtu) in nfp_bpf_check_mtu() argument
210 struct nfp_cpp *cpp = bpf->app->pf->cpp; in nfp_bpf_parse_cap_adjust_head()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c693 struct dcb_app app = { in ice_dcbnl_getapp() local
702 return dcb_getapp(netdev, &app); in ice_dcbnl_getapp()
712 struct ice_dcb_app_priority_table *app) in ice_dcbnl_find_app() argument
717 if (app->selector == cfg->app[i].selector && in ice_dcbnl_find_app()
718 app->prot_id == cfg->app[i].prot_id && in ice_dcbnl_find_app()
719 app->priority == cfg->app[i].priority) in ice_dcbnl_find_app()
733 static int ice_dcbnl_setapp(struct net_device *netdev, struct dcb_app *app) in ice_dcbnl_setapp() argument
742 if (app->selector != IEEE_8021QAZ_APP_SEL_DSCP) in ice_dcbnl_setapp()
757 if (app->protocol >= ICE_DSCP_NUM_VAL) { in ice_dcbnl_setapp()
759 app->protocol); in ice_dcbnl_setapp()
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nic/
Ddcb.c118 struct nfp_app *app = nn->app; in nfp_fill_maxrate() local
130 nfp_warn(app->cpp, "ratembps(%d) must less than %d.", in nfp_fill_maxrate()
212 struct nfp_app *app = nn->app; in dcb_ets_check() local
222 nfp_warn(app->cpp, "ETS BW for strict/vendor TC must be 0."); in dcb_ets_check()
228 nfp_warn(app->cpp, "Failed to validate ETS BW: sum must be 100."); in dcb_ets_check()
268 struct nfp_app *app = nn->app; in nfp_nic_dcbnl_ieee_setets() local
292 nfp_warn(app->cpp, in nfp_nic_dcbnl_ieee_setets()
332 struct nfp_app *app = nn->app; in nfp_nic_dcbnl_ieee_setmaxrate() local
339 nfp_warn(app->cpp, in nfp_nic_dcbnl_ieee_setmaxrate()
431 struct dcb_app *app) in nfp_nic_dcbnl_ieee_setapp() argument
[all …]
Dmain.c11 static int nfp_nic_init(struct nfp_app *app) in nfp_nic_init() argument
13 struct nfp_pf *pf = app->pf; in nfp_nic_init()
24 static int nfp_nic_sriov_enable(struct nfp_app *app, int num_vfs) in nfp_nic_sriov_enable() argument
29 static void nfp_nic_sriov_disable(struct nfp_app *app) in nfp_nic_sriov_disable() argument
33 static int nfp_nic_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_init() argument
38 static void nfp_nic_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_clean() argument
43 static int nfp_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_nic_vnic_alloc() argument
49 err = nfp_app_nic_vnic_alloc(app, nn, id); in nfp_nic_vnic_alloc()
62 static void nfp_nic_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_free() argument
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c11 struct i40e_dcb_app_priority_table *app);
193 struct dcb_app *app) in i40e_dcbnl_ieee_setapp() argument
208 ret = dcb_ieee_setapp(netdev, app); in i40e_dcbnl_ieee_setapp()
212 new_app.selector = app->selector; in i40e_dcbnl_ieee_setapp()
213 new_app.protocolid = app->protocol; in i40e_dcbnl_ieee_setapp()
214 new_app.priority = app->priority; in i40e_dcbnl_ieee_setapp()
222 pf->tmp_cfg.app[pf->tmp_cfg.numapps++] = new_app; in i40e_dcbnl_ieee_setapp()
245 struct dcb_app *app) in i40e_dcbnl_ieee_delapp() argument
255 ret = dcb_ieee_delapp(netdev, app); in i40e_dcbnl_ieee_delapp()
269 if (app->selector == pf->tmp_cfg.app[i].selector && in i40e_dcbnl_ieee_delapp()
[all …]

123456789