Home
last modified time | relevance | path

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

123456

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h118 int (*init)(struct nfp_app *app);
119 void (*clean)(struct nfp_app *app);
121 const char *(*extra_cap)(struct nfp_app *app, struct nfp_net *nn);
123 int (*ndo_init)(struct nfp_app *app, struct net_device *netdev);
124 void (*ndo_uninit)(struct nfp_app *app, struct net_device *netdev);
126 int (*vnic_alloc)(struct nfp_app *app, struct nfp_net *nn,
128 void (*vnic_free)(struct nfp_app *app, struct nfp_net *nn);
129 int (*vnic_init)(struct nfp_app *app, struct nfp_net *nn);
130 void (*vnic_clean)(struct nfp_app *app, struct nfp_net *nn);
132 int (*repr_init)(struct nfp_app *app, struct net_device *netdev);
[all …]
Dnfp_app.c68 return nn->app; in nfp_app_from_netdev()
74 return repr->app; in nfp_app_from_netdev()
82 const char *nfp_app_mip_name(struct nfp_app *app) in nfp_app_mip_name() argument
84 if (!app || !app->pf->mip) in nfp_app_mip_name()
86 return nfp_mip_name(app->pf->mip); in nfp_app_mip_name()
91 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_init() local
93 if (!app || !app->type->ndo_init) in nfp_app_ndo_init()
95 return app->type->ndo_init(app, netdev); in nfp_app_ndo_init()
100 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_uninit() local
102 if (app && app->type->ndo_uninit) in nfp_app_ndo_uninit()
[all …]
Dnfp_net_sriov.c48 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg) in nfp_net_sriov_check() argument
52 if (!app || !app->pf->vfcfg_tbl2) in nfp_net_sriov_check()
55 cap_vf = readw(app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_CAP); in nfp_net_sriov_check()
57 nfp_warn(app->pf->cpp, "ndo_set_vf_%s not supported\n", msg); in nfp_net_sriov_check()
61 if (vf < 0 || vf >= app->pf->num_vfs) { in nfp_net_sriov_check()
62 nfp_warn(app->pf->cpp, "invalid VF id %d\n", vf); in nfp_net_sriov_check()
70 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) in nfp_net_sriov_update() argument
76 writeb(vf, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_VF_NUM); in nfp_net_sriov_update()
77 writew(update, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_UPD); in nfp_net_sriov_update()
79 nn = list_first_entry(&app->pf->vnics, struct nfp_net, vnic_list); in nfp_net_sriov_update()
[all …]
Dnfp_net_repr.c50 nfp_repr_get_locked(struct nfp_app *app, struct nfp_reprs *set, unsigned int id) in nfp_repr_get_locked() argument
53 lockdep_is_held(&app->pf->lock)); in nfp_repr_get_locked()
201 err = nfp_app_check_mtu(repr->app, netdev, new_mtu); in nfp_repr_change_mtu()
205 err = nfp_app_repr_change_mtu(repr->app, netdev, new_mtu); in nfp_repr_change_mtu()
236 err = nfp_app_repr_stop(repr->app, repr); in nfp_repr_stop()
253 err = nfp_app_repr_open(repr->app, repr); in nfp_repr_open()
288 nfp_app_repr_clean(repr->app, repr->netdev); in nfp_repr_clean()
309 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev, in nfp_repr_init() argument
332 if (nfp_app_has_tc(app)) { in nfp_repr_init()
337 err = nfp_app_repr_init(app, netdev); in nfp_repr_init()
[all …]
Dnfp_net_repr.h85 struct nfp_app *app; member
121 nfp_repr_get_locked(struct nfp_app *app, struct nfp_reprs *set,
125 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev,
130 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs);
132 void nfp_reprs_clean_and_free(struct nfp_app *app, struct nfp_reprs *reprs);
133 void nfp_reprs_clean_and_free_by_type(struct nfp_app *app,
136 int nfp_reprs_resync_phys_ports(struct nfp_app *app);
138 static inline struct net_device *nfp_repr_alloc(struct nfp_app *app) in nfp_repr_alloc() argument
140 return nfp_repr_alloc_mqs(app, 1, 1); in nfp_repr_alloc()
Dnfp_app_nic.c41 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_app_nic_vnic_init_phy_port() argument
49 nn->port = nfp_port_alloc(app, NFP_PORT_PHYS_PORT, nn->dp.netdev); in nfp_app_nic_vnic_init_phy_port()
53 err = nfp_port_init_phy_port(pf, app, nn->port, id); in nfp_app_nic_vnic_init_phy_port()
62 int nfp_app_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_nic_vnic_alloc() argument
67 err = nfp_app_nic_vnic_init_phy_port(app->pf, app, nn, id); in nfp_app_nic_vnic_alloc()
71 nfp_net_get_mac_addr(app->pf, nn->dp.netdev, nn->port); in nfp_app_nic_vnic_alloc()
Dnfp_net_ethtool.c185 static void nfp_net_get_nspinfo(struct nfp_app *app, char *version) in nfp_net_get_nspinfo() argument
189 if (!app) in nfp_net_get_nspinfo()
192 nsp = nfp_nsp_open(app->cpp); in nfp_net_get_nspinfo()
204 nfp_get_drvinfo(struct nfp_app *app, struct pci_dev *pdev, in nfp_get_drvinfo() argument
212 nfp_net_get_nspinfo(app, nsp_version); in nfp_get_drvinfo()
215 nfp_app_mip_name(app), nfp_app_name(app)); in nfp_get_drvinfo()
230 nfp_get_drvinfo(nn->app, nn->pdev, vnic_version, drvinfo); in nfp_net_get_drvinfo()
236 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_drvinfo() local
238 strlcpy(drvinfo->bus_info, pci_name(app->pdev), in nfp_app_get_drvinfo()
240 nfp_get_drvinfo(app, app->pdev, "*", drvinfo); in nfp_app_get_drvinfo()
[all …]
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c55 static const char *nfp_flower_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_extra_cap() argument
60 static enum devlink_eswitch_mode eswitch_mode_get(struct nfp_app *app) in eswitch_mode_get() argument
66 nfp_flower_repr_get_type_and_port(struct nfp_app *app, u32 port_id, u8 *port) in nfp_flower_repr_get_type_and_port() argument
87 nfp_flower_repr_get(struct nfp_app *app, u32 port_id) in nfp_flower_repr_get() argument
93 repr_type = nfp_flower_repr_get_type_and_port(app, port_id, &port); in nfp_flower_repr_get()
97 reprs = rcu_dereference(app->reprs[repr_type]); in nfp_flower_repr_get()
108 nfp_flower_reprs_reify(struct nfp_app *app, enum nfp_repr_type type, in nfp_flower_reprs_reify() argument
114 reprs = rcu_dereference_protected(app->reprs[type], in nfp_flower_reprs_reify()
115 lockdep_is_held(&app->pf->lock)); in nfp_flower_reprs_reify()
122 netdev = nfp_repr_get_locked(app, reprs, i); in nfp_flower_reprs_reify()
[all …]
Dcmsg.c52 nfp_flower_cmsg_alloc(struct nfp_app *app, unsigned int size, in nfp_flower_cmsg_alloc() argument
60 skb = nfp_app_ctrl_msg_alloc(app, size, flag); in nfp_flower_cmsg_alloc()
74 nfp_flower_cmsg_mac_repr_start(struct nfp_app *app, unsigned int num_ports) in nfp_flower_cmsg_mac_repr_start() argument
81 skb = nfp_flower_cmsg_alloc(app, size, NFP_FLOWER_CMSG_TYPE_MAC_REPR, in nfp_flower_cmsg_mac_repr_start()
113 skb = nfp_flower_cmsg_alloc(repr->app, sizeof(*msg), in nfp_flower_cmsg_portmod()
128 nfp_ctrl_tx(repr->app->ctrl, skb); in nfp_flower_cmsg_portmod()
138 skb = nfp_flower_cmsg_alloc(repr->app, sizeof(*msg), in nfp_flower_cmsg_portreify()
149 nfp_ctrl_tx(repr->app->ctrl, skb); in nfp_flower_cmsg_portreify()
155 nfp_flower_process_mtu_ack(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_process_mtu_ack() argument
157 struct nfp_flower_priv *app_priv = app->priv; in nfp_flower_process_mtu_ack()
[all …]
Dmetadata.c51 static int nfp_release_stats_entry(struct nfp_app *app, u32 stats_context_id) in nfp_release_stats_entry() argument
53 struct nfp_flower_priv *priv = app->priv; in nfp_release_stats_entry()
70 static int nfp_get_stats_entry(struct nfp_app *app, u32 *stats_context_id) in nfp_get_stats_entry() argument
72 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
105 struct nfp_flower_priv *priv = app->priv; in nfp_flower_search_fl_table()
120 nfp_flower_update_stats(struct nfp_app *app, struct nfp_fl_stats_frame *stats) in nfp_flower_update_stats() argument
128 nfp_flow = nfp_flower_search_fl_table(app, flower_cookie, NULL, in nfp_flower_update_stats()
143 void nfp_flower_rx_flow_stats(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_rx_flow_stats() argument
154 nfp_flower_update_stats(app, stats_frame + i); in nfp_flower_rx_flow_stats()
[all …]
Dtunnel_conf.c174 void nfp_tunnel_keep_alive(struct nfp_app *app, struct sk_buff *skb) in nfp_tunnel_keep_alive() argument
186 nfp_flower_cmsg_warn(app, "Tunnel keep-alive request exceeds max routes.\n"); in nfp_tunnel_keep_alive()
193 nfp_flower_cmsg_warn(app, "Corruption in tunnel keep-alive message.\n"); in nfp_tunnel_keep_alive()
200 netdev = nfp_app_repr_get(app, port); in nfp_tunnel_keep_alive()
227 nfp_flower_xmit_tun_conf(struct nfp_app *app, u8 mtype, u16 plen, void *pdata, in nfp_flower_xmit_tun_conf() argument
233 skb = nfp_flower_cmsg_alloc(app, plen, mtype, flag); in nfp_flower_xmit_tun_conf()
240 nfp_ctrl_tx(app->ctrl, skb); in nfp_flower_xmit_tun_conf()
244 static bool nfp_tun_has_route(struct nfp_app *app, __be32 ipv4_addr) in nfp_tun_has_route() argument
246 struct nfp_flower_priv *priv = app->priv; in nfp_tun_has_route()
262 static void nfp_tun_add_route_to_cache(struct nfp_app *app, __be32 ipv4_addr) in nfp_tun_add_route_to_cache() argument
[all …]
Dmain.h166 struct nfp_app *app; member
249 int nfp_flower_metadata_init(struct nfp_app *app);
250 void nfp_flower_metadata_cleanup(struct nfp_app *app);
252 int nfp_flower_setup_tc(struct nfp_app *app, struct net_device *netdev,
259 int nfp_flower_compile_action(struct nfp_app *app,
263 int nfp_compile_flow_metadata(struct nfp_app *app,
267 int nfp_modify_flow_metadata(struct nfp_app *app,
271 nfp_flower_search_fl_table(struct nfp_app *app, unsigned long tc_flower_cookie,
274 nfp_flower_remove_fl_table(struct nfp_app *app, unsigned long tc_flower_cookie);
276 void nfp_flower_rx_flow_stats(struct nfp_app *app, struct sk_buff *skb);
[all …]
Doffload.c111 skb = nfp_flower_cmsg_alloc(priv->app, tot_len, mtype, GFP_KERNEL); in nfp_flower_xmit_flow()
129 nfp_ctrl_tx(priv->app->ctrl, skb); in nfp_flower_xmit_flow()
161 nfp_flower_calculate_key_layers(struct nfp_app *app, in nfp_flower_calculate_key_layers() argument
169 struct nfp_flower_priv *priv = app->priv; in nfp_flower_calculate_key_layers()
458 nfp_flower_add_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_add_offload() argument
463 struct nfp_flower_priv *priv = app->priv; in nfp_flower_add_offload()
470 flow_pay = nfp_flower_search_fl_table(app, flow->cookie, ingr_dev, in nfp_flower_add_offload()
484 err = nfp_flower_calculate_key_layers(app, key_layer, flow, egress, in nfp_flower_add_offload()
502 err = nfp_flower_compile_action(app, flow, netdev, flow_pay); in nfp_flower_add_offload()
506 err = nfp_compile_flow_metadata(app, flow, flow_pay, in nfp_flower_add_offload()
[all …]
/Linux-v4.19/net/802/
Dmrp.c239 static struct mrp_attr *mrp_attr_lookup(const struct mrp_applicant *app, in mrp_attr_lookup() argument
242 struct rb_node *parent = app->mad.rb_node; in mrp_attr_lookup()
259 static struct mrp_attr *mrp_attr_create(struct mrp_applicant *app, in mrp_attr_create() argument
262 struct rb_node *parent = NULL, **p = &app->mad.rb_node; in mrp_attr_create()
288 rb_insert_color(&attr->node, &app->mad); in mrp_attr_create()
292 static void mrp_attr_destroy(struct mrp_applicant *app, struct mrp_attr *attr) in mrp_attr_destroy() argument
294 rb_erase(&attr->node, &app->mad); in mrp_attr_destroy()
298 static int mrp_pdu_init(struct mrp_applicant *app) in mrp_pdu_init() argument
303 skb = alloc_skb(app->dev->mtu + LL_RESERVED_SPACE(app->dev), in mrp_pdu_init()
308 skb->dev = app->dev; in mrp_pdu_init()
[all …]
Dgarp.c150 static struct garp_attr *garp_attr_lookup(const struct garp_applicant *app, in garp_attr_lookup() argument
153 struct rb_node *parent = app->gid.rb_node; in garp_attr_lookup()
170 static struct garp_attr *garp_attr_create(struct garp_applicant *app, in garp_attr_create() argument
173 struct rb_node *parent = NULL, **p = &app->gid.rb_node; in garp_attr_create()
199 rb_insert_color(&attr->node, &app->gid); in garp_attr_create()
203 static void garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) in garp_attr_destroy() argument
205 rb_erase(&attr->node, &app->gid); in garp_attr_destroy()
209 static int garp_pdu_init(struct garp_applicant *app) in garp_pdu_init() argument
215 skb = alloc_skb(app->dev->mtu + LL_RESERVED_SPACE(app->dev), in garp_pdu_init()
220 skb->dev = app->dev; in garp_pdu_init()
[all …]
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_app.c50 static inline int ip_vs_app_get(struct ip_vs_app *app) in ip_vs_app_get() argument
52 return try_module_get(app->module); in ip_vs_app_get()
56 static inline void ip_vs_app_put(struct ip_vs_app *app) in ip_vs_app_put() argument
58 module_put(app->module); in ip_vs_app_put()
78 ip_vs_app_inc_new(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto, in ip_vs_app_inc_new() argument
91 inc = kmemdup(app, sizeof(*inc), GFP_KERNEL); in ip_vs_app_inc_new()
96 inc->app = app; in ip_vs_app_inc_new()
100 if (app->timeouts) { in ip_vs_app_inc_new()
102 ip_vs_create_timeout_table(app->timeouts, in ip_vs_app_inc_new()
103 app->timeouts_size); in ip_vs_app_inc_new()
[all …]
/Linux-v4.19/Documentation/sphinx/
Dkfigure.py127 def setup(app): argument
129 app.connect('builder-inited', setupTools)
132 app.add_directive("kernel-image", KernelImage)
133 app.add_node(kernel_image,
141 app.add_directive("kernel-figure", KernelFigure)
142 app.add_node(kernel_figure,
150 app.add_directive('kernel-render', KernelRender)
151 app.add_node(kernel_render,
158 app.connect('doctree-read', add_kernel_figure_to_std_domain)
167 def setupTools(app): argument
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c167 prio = dcbxcfg->app[i].priority; in i40e_dcbnl_set_all()
172 sapp.selector = dcbxcfg->app[i].selector; in i40e_dcbnl_set_all()
173 sapp.protocol = dcbxcfg->app[i].protocolid; in i40e_dcbnl_set_all()
192 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_vsi_del_app() argument
200 sapp.selector = app->selector; in i40e_dcbnl_vsi_del_app()
201 sapp.protocol = app->protocolid; in i40e_dcbnl_vsi_del_app()
202 sapp.priority = app->priority; in i40e_dcbnl_vsi_del_app()
214 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_del_app() argument
220 err = i40e_dcbnl_vsi_del_app(pf->vsi[v], app); in i40e_dcbnl_del_app()
222 pf->vsi[v]->seid, err, app->selector, in i40e_dcbnl_del_app()
[all …]
Di40e_dcb.c218 dcbcfg->app[i].priority = (u8)((buf[offset] & in i40e_parse_ieee_app_tlv()
221 dcbcfg->app[i].selector = (u8)((buf[offset] & in i40e_parse_ieee_app_tlv()
224 dcbcfg->app[i].protocolid = (buf[offset + 1] << 0x8) | in i40e_parse_ieee_app_tlv()
359 struct i40e_cee_app_prio *app; in i40e_parse_cee_app_tlv() local
366 dcbcfg->numapps = length / sizeof(*app); in i40e_parse_cee_app_tlv()
376 app = (struct i40e_cee_app_prio *)(tlv->tlvinfo + offset); in i40e_parse_cee_app_tlv()
378 if (app->prio_map & BIT(up)) in i40e_parse_cee_app_tlv()
381 dcbcfg->app[i].priority = up; in i40e_parse_cee_app_tlv()
384 selector = (app->upper_oui_sel & I40E_CEE_APP_SELECTOR_MASK); in i40e_parse_cee_app_tlv()
387 dcbcfg->app[i].selector = I40E_APP_SEL_ETHTYPE; in i40e_parse_cee_app_tlv()
[all …]
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c134 nfp_warn(alink->abm->app->cpp, in nfp_abm_red_replace()
325 nfp_abm_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_abm_setup_tc() argument
345 static struct net_device *nfp_abm_repr_get(struct nfp_app *app, u32 port_id) in nfp_abm_repr_get() argument
354 reprs = rcu_dereference(app->reprs[rtype]); in nfp_abm_repr_get()
365 nfp_abm_spawn_repr(struct nfp_app *app, struct nfp_abm_link *alink, in nfp_abm_spawn_repr() argument
384 netdev = nfp_repr_alloc_mqs(app, txqs, 1); in nfp_abm_spawn_repr()
390 port = nfp_port_alloc(app, ptype, netdev); in nfp_abm_spawn_repr()
398 err = nfp_port_init_phy_port(app->pf, app, port, alink->id); in nfp_abm_spawn_repr()
403 port->pf_split = app->pf->max_data_vnics > 1; in nfp_abm_spawn_repr()
411 err = nfp_repr_init(app, netdev, nfp_abm_portid(rtype, alink->id), in nfp_abm_spawn_repr()
[all …]
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c65 nfp_bpf_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_bpf_xdp_offload() argument
84 static const char *nfp_bpf_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_extra_cap() argument
90 nfp_bpf_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_bpf_vnic_alloc() argument
92 struct nfp_pf *pf = app->pf; in nfp_bpf_vnic_alloc()
111 err = nfp_app_nic_vnic_alloc(app, nn, id); in nfp_bpf_vnic_alloc()
124 static void nfp_bpf_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_vnic_free() argument
213 static int nfp_bpf_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_bpf_setup_tc() argument
225 nfp_bpf_check_mtu(struct nfp_app *app, struct net_device *netdev, int new_mtu) in nfp_bpf_check_mtu() argument
247 struct nfp_cpp *cpp = bpf->app->pf->cpp; in nfp_bpf_parse_cap_adjust_head()
280 nfp_err(bpf->app->cpp, "truncated function TLV: %d\n", length); in nfp_bpf_parse_cap_func()
[all …]
/Linux-v4.19/drivers/hid/
Dhid-multitouch.c174 struct mt_application *app);
175 static void mt_post_parse(struct mt_device *td, struct mt_application *app);
655 mt_store_field(hdev, app, \
661 unsigned long **bit, int *max, struct mt_application *app) in mt_touch_input_mapping() argument
673 app->mt_flags |= INPUT_MT_POINTER; in mt_touch_input_mapping()
679 app->buttons_count++; in mt_touch_input_mapping()
731 if (app->quirks & MT_QUIRK_HOVERING) { in mt_touch_input_mapping()
742 app->quirks |= MT_QUIRK_CONFIDENCE; in mt_touch_input_mapping()
744 if (app->quirks & MT_QUIRK_CONFIDENCE) in mt_touch_input_mapping()
760 app->touches_by_report++; in mt_touch_input_mapping()
[all …]
/Linux-v4.19/net/bluetooth/cmtp/
Dcapi.c75 struct cmtp_application *app = kzalloc(sizeof(*app), GFP_KERNEL); in cmtp_application_add() local
77 BT_DBG("session %p application %p appl %d", session, app, appl); in cmtp_application_add()
79 if (!app) in cmtp_application_add()
82 app->state = BT_OPEN; in cmtp_application_add()
83 app->appl = appl; in cmtp_application_add()
85 list_add_tail(&app->list, &session->applications); in cmtp_application_add()
87 return app; in cmtp_application_add()
90 static void cmtp_application_del(struct cmtp_session *session, struct cmtp_application *app) in cmtp_application_del() argument
92 BT_DBG("session %p application %p", session, app); in cmtp_application_del()
94 if (app) { in cmtp_application_del()
[all …]
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c303 static int bnxt_hwrm_set_dcbx_app(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_set_dcbx_app() argument
342 if (fw_app->protocol_id == cpu_to_be16(app->protocol) && in bnxt_hwrm_set_dcbx_app()
343 fw_app->protocol_selector == app->selector && in bnxt_hwrm_set_dcbx_app()
344 fw_app->priority == app->priority) { in bnxt_hwrm_set_dcbx_app()
354 fw_app->protocol_id = cpu_to_be16(app->protocol); in bnxt_hwrm_set_dcbx_app()
355 fw_app->protocol_selector = app->selector; in bnxt_hwrm_set_dcbx_app()
356 fw_app->priority = app->priority; in bnxt_hwrm_set_dcbx_app()
410 static int bnxt_hwrm_queue_dscp2pri_cfg(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_queue_dscp2pri_cfg() argument
428 dscp2pri->dscp = app->protocol; in bnxt_hwrm_queue_dscp2pri_cfg()
433 dscp2pri->pri = app->priority; in bnxt_hwrm_queue_dscp2pri_cfg()
[all …]
/Linux-v4.19/include/net/
Dgarp.h100 struct garp_application *app; member
116 int garp_register_application(struct garp_application *app);
117 void garp_unregister_application(struct garp_application *app);
119 int garp_init_applicant(struct net_device *dev, struct garp_application *app);
121 struct garp_application *app);
124 const struct garp_application *app, const void *data,
127 const struct garp_application *app,

123456