Home
last modified time | relevance | path

Searched refs:nn (Results 1 – 25 of 94) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dccm_mbox.c54 static u32 nfp_ccm_mbox_max_msg(struct nfp_net *nn) in nfp_ccm_mbox_max_msg() argument
56 return round_down(nn->tlv_caps.mbox_len, 4) - in nfp_ccm_mbox_max_msg()
116 static bool nfp_ccm_mbox_is_first(struct nfp_net *nn, struct sk_buff *skb) in nfp_ccm_mbox_is_first() argument
118 return skb_queue_is_first(&nn->mbox_cmsg.queue, skb); in nfp_ccm_mbox_is_first()
121 static bool nfp_ccm_mbox_should_run(struct nfp_net *nn, struct sk_buff *skb) in nfp_ccm_mbox_should_run() argument
128 static void nfp_ccm_mbox_mark_next_runner(struct nfp_net *nn) in nfp_ccm_mbox_mark_next_runner() argument
133 skb = skb_peek(&nn->mbox_cmsg.queue); in nfp_ccm_mbox_mark_next_runner()
140 queue_work(nn->mbox_cmsg.workq, &nn->mbox_cmsg.runq_work); in nfp_ccm_mbox_mark_next_runner()
144 nfp_ccm_mbox_write_tlv(struct nfp_net *nn, u32 off, u32 type, u32 len) in nfp_ccm_mbox_write_tlv() argument
146 nn_writel(nn, off, in nfp_ccm_mbox_write_tlv()
[all …]
Dnfp_net_common.c101 static void nfp_net_reconfig_start(struct nfp_net *nn, u32 update) in nfp_net_reconfig_start() argument
103 nn_writel(nn, NFP_NET_CFG_UPDATE, update); in nfp_net_reconfig_start()
105 nn_pci_flush(nn); in nfp_net_reconfig_start()
106 nfp_qcp_wr_ptr_add(nn->qcp_cfg, 1); in nfp_net_reconfig_start()
107 nn->reconfig_in_progress_update = update; in nfp_net_reconfig_start()
111 static void nfp_net_reconfig_start_async(struct nfp_net *nn, u32 update) in nfp_net_reconfig_start_async() argument
113 update |= nn->reconfig_posted; in nfp_net_reconfig_start_async()
114 nn->reconfig_posted = 0; in nfp_net_reconfig_start_async()
116 nfp_net_reconfig_start(nn, update); in nfp_net_reconfig_start_async()
118 nn->reconfig_timer_active = true; in nfp_net_reconfig_start_async()
[all …]
Dnfp_netvf_main.c28 struct nfp_net *nn; member
49 static void nfp_netvf_get_mac_addr(struct nfp_net *nn) in nfp_netvf_get_mac_addr() argument
53 put_unaligned_be32(nn_readl(nn, NFP_NET_CFG_MACADDR + 0), &mac_addr[0]); in nfp_netvf_get_mac_addr()
54 put_unaligned_be16(nn_readw(nn, NFP_NET_CFG_MACADDR + 6), &mac_addr[4]); in nfp_netvf_get_mac_addr()
57 eth_hw_addr_random(nn->dp.netdev); in nfp_netvf_get_mac_addr()
61 ether_addr_copy(nn->dp.netdev->dev_addr, mac_addr); in nfp_netvf_get_mac_addr()
62 ether_addr_copy(nn->dp.netdev->perm_addr, mac_addr); in nfp_netvf_get_mac_addr()
76 struct nfp_net *nn; in nfp_netvf_pci_probe() local
175 nn = nfp_net_alloc(pdev, ctrl_bar, true, max_tx_rings, max_rx_rings); in nfp_netvf_pci_probe()
176 if (IS_ERR(nn)) { in nfp_netvf_pci_probe()
[all …]
Dnfp_net_ethtool.c216 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_drvinfo() local
219 nn->fw_ver.resv, nn->fw_ver.class, in nfp_net_get_drvinfo()
220 nn->fw_ver.major, nn->fw_ver.minor); in nfp_net_get_drvinfo()
221 strlcpy(drvinfo->bus_info, pci_name(nn->pdev), in nfp_net_get_drvinfo()
224 nfp_get_drvinfo(nn->app, nn->pdev, vnic_version, drvinfo); in nfp_net_get_drvinfo()
284 struct nfp_net *nn; in nfp_net_get_link_ksettings() local
316 nn = netdev_priv(netdev); in nfp_net_get_link_ksettings()
318 sts = nn_readl(nn, NFP_NET_CFG_STS); in nfp_net_get_link_ksettings()
385 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_ringparam() local
389 ring->rx_pending = nn->dp.rxd_cnt; in nfp_net_get_ringparam()
[all …]
Dnfp_net_main.c85 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() argument
87 if (nfp_net_is_data_vnic(nn)) in nfp_net_pf_free_vnic()
88 nfp_app_vnic_free(pf->app, nn); in nfp_net_pf_free_vnic()
89 nfp_port_free(nn->port); in nfp_net_pf_free_vnic()
90 list_del(&nn->vnic_list); in nfp_net_pf_free_vnic()
92 nfp_net_free(nn); in nfp_net_pf_free_vnic()
97 struct nfp_net *nn, *next; in nfp_net_pf_free_vnics() local
99 list_for_each_entry_safe(nn, next, &pf->vnics, vnic_list) in nfp_net_pf_free_vnics()
100 if (nfp_net_is_data_vnic(nn)) in nfp_net_pf_free_vnics()
101 nfp_net_pf_free_vnic(pf, nn); in nfp_net_pf_free_vnics()
[all …]
Dnfp_net.h27 #define nn_pr(nn, lvl, fmt, args...) \ argument
29 struct nfp_net *__nn = (nn); \
37 #define nn_err(nn, fmt, args...) nn_pr(nn, KERN_ERR, fmt, ## args) argument
38 #define nn_warn(nn, fmt, args...) nn_pr(nn, KERN_WARNING, fmt, ## args) argument
39 #define nn_info(nn, fmt, args...) nn_pr(nn, KERN_INFO, fmt, ## args) argument
40 #define nn_dbg(nn, fmt, args...) nn_pr(nn, KERN_DEBUG, fmt, ## args) argument
702 static inline u16 nn_readb(struct nfp_net *nn, int off) in nn_readb() argument
704 return readb(nn->dp.ctrl_bar + off); in nn_readb()
707 static inline void nn_writeb(struct nfp_net *nn, int off, u8 val) in nn_writeb() argument
709 writeb(val, nn->dp.ctrl_bar + off); in nn_writeb()
[all …]
Dnfp_app_nic.c12 struct nfp_net *nn, unsigned int id) in nfp_app_nic_vnic_init_phy_port() argument
19 nn->port = nfp_port_alloc(app, NFP_PORT_PHYS_PORT, nn->dp.netdev); in nfp_app_nic_vnic_init_phy_port()
20 if (IS_ERR(nn->port)) in nfp_app_nic_vnic_init_phy_port()
21 return PTR_ERR(nn->port); in nfp_app_nic_vnic_init_phy_port()
23 err = nfp_port_init_phy_port(pf, app, nn->port, id); in nfp_app_nic_vnic_init_phy_port()
25 nfp_port_free(nn->port); in nfp_app_nic_vnic_init_phy_port()
29 return nn->port->type == NFP_PORT_INVALID; in nfp_app_nic_vnic_init_phy_port()
32 int nfp_app_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_nic_vnic_alloc() argument
37 err = nfp_app_nic_vnic_init_phy_port(app->pf, app, nn, id); in nfp_app_nic_vnic_alloc()
41 nfp_net_get_mac_addr(app->pf, nn->dp.netdev, nn->port); in nfp_app_nic_vnic_alloc()
Dnfp_net_debugfs.c17 struct nfp_net *nn; in nfp_rx_q_show() local
25 nn = r_vec->nfp_net; in nfp_rx_q_show()
27 if (!nfp_net_running(nn)) in nfp_rx_q_show()
79 struct nfp_net *nn; in nfp_tx_q_show() local
90 nn = r_vec->nfp_net; in nfp_tx_q_show()
91 if (!nfp_net_running(nn)) in nfp_tx_q_show()
148 void nfp_net_debugfs_vnic_add(struct nfp_net *nn, struct dentry *ddir) in nfp_net_debugfs_vnic_add() argument
157 if (nfp_net_is_data_vnic(nn)) in nfp_net_debugfs_vnic_add()
158 sprintf(name, "vnic%d", nn->id); in nfp_net_debugfs_vnic_add()
161 nn->debugfs_dir = debugfs_create_dir(name, ddir); in nfp_net_debugfs_vnic_add()
[all …]
Dnfp_app.h94 const char *(*extra_cap)(struct nfp_app *app, struct nfp_net *nn);
99 int (*vnic_alloc)(struct nfp_app *app, struct nfp_net *nn,
101 void (*vnic_free)(struct nfp_app *app, struct nfp_net *nn);
102 int (*vnic_init)(struct nfp_app *app, struct nfp_net *nn);
103 void (*vnic_clean)(struct nfp_app *app, struct nfp_net *nn);
135 int (*bpf)(struct nfp_app *app, struct nfp_net *nn,
137 int (*xdp_offload)(struct nfp_app *app, struct nfp_net *nn,
179 bool __nfp_ctrl_tx(struct nfp_net *nn, struct sk_buff *skb);
180 bool nfp_ctrl_tx(struct nfp_net *nn, struct sk_buff *skb);
198 static inline int nfp_app_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_vnic_alloc() argument
[all …]
Dccm.h114 int nfp_ccm_mbox_alloc(struct nfp_net *nn);
115 void nfp_ccm_mbox_free(struct nfp_net *nn);
116 int nfp_ccm_mbox_init(struct nfp_net *nn);
117 void nfp_ccm_mbox_clean(struct nfp_net *nn);
118 bool nfp_ccm_mbox_fits(struct nfp_net *nn, unsigned int size);
120 nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size,
122 int __nfp_ccm_mbox_communicate(struct nfp_net *nn, struct sk_buff *skb,
126 int nfp_ccm_mbox_communicate(struct nfp_net *nn, struct sk_buff *skb,
130 int nfp_ccm_mbox_post(struct nfp_net *nn, struct sk_buff *skb,
/kernel/linux/linux-5.10/fs/nfsd/
Dnfssvc.c188 nfsd_netns_free_versions(struct nfsd_net *nn) in nfsd_netns_free_versions() argument
190 kfree(nn->nfsd_versions); in nfsd_netns_free_versions()
191 kfree(nn->nfsd4_minorversions); in nfsd_netns_free_versions()
192 nn->nfsd_versions = NULL; in nfsd_netns_free_versions()
193 nn->nfsd4_minorversions = NULL; in nfsd_netns_free_versions()
197 nfsd_netns_init_versions(struct nfsd_net *nn) in nfsd_netns_init_versions() argument
199 if (!nn->nfsd_versions) { in nfsd_netns_init_versions()
200 nn->nfsd_versions = nfsd_alloc_versions(); in nfsd_netns_init_versions()
201 nn->nfsd4_minorversions = nfsd_alloc_minorversions(); in nfsd_netns_init_versions()
202 if (!nn->nfsd_versions || !nn->nfsd4_minorversions) in nfsd_netns_init_versions()
[all …]
Dnfscache.c88 nfsd_cache_hash(__be32 xid, struct nfsd_net *nn) in nfsd_cache_hash() argument
90 return hash_32(be32_to_cpu(xid), nn->maskbits); in nfsd_cache_hash()
95 struct nfsd_net *nn) in nfsd_reply_cache_alloc() argument
121 struct nfsd_net *nn) in nfsd_reply_cache_free_locked() argument
124 nn->drc_mem_usage -= rp->c_replvec.iov_len; in nfsd_reply_cache_free_locked()
130 atomic_dec(&nn->num_drc_entries); in nfsd_reply_cache_free_locked()
131 nn->drc_mem_usage -= sizeof(*rp); in nfsd_reply_cache_free_locked()
138 struct nfsd_net *nn) in nfsd_reply_cache_free() argument
141 nfsd_reply_cache_free_locked(b, rp, nn); in nfsd_reply_cache_free()
157 int nfsd_reply_cache_init(struct nfsd_net *nn) in nfsd_reply_cache_init() argument
[all …]
Dnfs4recover.c170 const char *dname, int len, struct nfsd_net *nn) in __nfsd4_create_reclaim_record_grace() argument
183 crp = nfs4_client_to_reclaim(name, princhash, nn); in __nfsd4_create_reclaim_record_grace()
198 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_create_clid_dir() local
202 if (!nn->rec_file) in nfsd4_create_clid_dir()
213 status = mnt_want_write_file(nn->rec_file); in nfsd4_create_clid_dir()
217 dir = nn->rec_file->f_path.dentry; in nfsd4_create_clid_dir()
242 if (nn->in_grace) in nfsd4_create_clid_dir()
244 HEXDIR_LEN, nn); in nfsd4_create_clid_dir()
245 vfs_fsync(nn->rec_file, 0); in nfsd4_create_clid_dir()
252 mnt_drop_write_file(nn->rec_file); in nfsd4_create_clid_dir()
[all …]
Dnfsctl.c144 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in exports_net_open() local
151 seq->private = nn->svc_export_cache; in exports_net_open()
544 nfsd_print_version_support(struct nfsd_net *nn, char *buf, int remaining, in nfsd_print_version_support() argument
548 bool supported = !!nfsd_vers(nn, vers, NFSD_TEST); in nfsd_print_version_support()
551 !nfsd_minorversion(nn, minor, NFSD_TEST)) in nfsd_print_version_support()
571 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in __write_versions() local
574 if (nn->nfsd_serv) in __write_versions()
606 nfsd_vers(nn, num, cmd); in __write_versions()
610 if (nfsd_minorversion(nn, minor, cmd) < 0) in __write_versions()
612 } else if ((cmd == NFSD_SET) != nfsd_vers(nn, num, NFSD_TEST)) { in __write_versions()
[all …]
Dnfs4state.c83 void nfsd4_end_grace(struct nfsd_net *nn);
84 static void _free_cpntf_state_locked(struct nfsd_net *nn, struct nfs4_cpntf_state *cps);
146 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in get_client_locked() local
148 lockdep_assert_held(&nn->client_lock); in get_client_locked()
160 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in renew_client_locked() local
171 list_move_tail(&clp->cl_lru, &nn->client_lru); in renew_client_locked()
177 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in put_client_renew_locked() local
179 lockdep_assert_held(&nn->client_lock); in put_client_renew_locked()
191 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in put_client_renew() local
193 if (!atomic_dec_and_lock(&clp->cl_rpc_users, &nn->client_lock)) in put_client_renew()
[all …]
Dnfs4idmap.c467 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_idmap_init() local
469 nn->idtoname_cache = cache_create_net(&idtoname_cache_template, net); in nfsd_idmap_init()
470 if (IS_ERR(nn->idtoname_cache)) in nfsd_idmap_init()
471 return PTR_ERR(nn->idtoname_cache); in nfsd_idmap_init()
472 rv = cache_register_net(nn->idtoname_cache, net); in nfsd_idmap_init()
475 nn->nametoid_cache = cache_create_net(&nametoid_cache_template, net); in nfsd_idmap_init()
476 if (IS_ERR(nn->nametoid_cache)) { in nfsd_idmap_init()
477 rv = PTR_ERR(nn->nametoid_cache); in nfsd_idmap_init()
480 rv = cache_register_net(nn->nametoid_cache, net); in nfsd_idmap_init()
486 cache_destroy_net(nn->nametoid_cache, net); in nfsd_idmap_init()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c31 static void nfp_net_crypto_set_op(struct nfp_net *nn, u8 opcode, bool on) in nfp_net_crypto_set_op() argument
35 off = nn->tlv_caps.crypto_enable_off + round_down(opcode / 8, 4); in nfp_net_crypto_set_op()
37 val = nn_readl(nn, off); in nfp_net_crypto_set_op()
42 nn_writel(nn, off, val); in nfp_net_crypto_set_op()
46 __nfp_net_tls_conn_cnt_changed(struct nfp_net *nn, int add, in __nfp_net_tls_conn_cnt_changed() argument
54 nn->ktls_tx_conn_cnt += add; in __nfp_net_tls_conn_cnt_changed()
55 cnt = nn->ktls_tx_conn_cnt; in __nfp_net_tls_conn_cnt_changed()
56 nn->dp.ktls_tx = !!nn->ktls_tx_conn_cnt; in __nfp_net_tls_conn_cnt_changed()
59 nn->ktls_rx_conn_cnt += add; in __nfp_net_tls_conn_cnt_changed()
60 cnt = nn->ktls_rx_conn_cnt; in __nfp_net_tls_conn_cnt_changed()
[all …]
/kernel/linux/linux-5.10/fs/nfs/blocklayout/
Drpc_pipefs.c57 struct nfs_net *nn = net_generic(net, nfs_net_id); in bl_resolve_deviceid() local
58 struct bl_dev_msg *reply = &nn->bl_mount_reply; in bl_resolve_deviceid()
68 mutex_lock(&nn->bl_mutex); in bl_resolve_deviceid()
69 bl_pipe_msg.bl_wq = &nn->bl_wq; in bl_resolve_deviceid()
87 add_wait_queue(&nn->bl_wq, &wq); in bl_resolve_deviceid()
88 rc = rpc_queue_upcall(nn->bl_device_pipe, msg); in bl_resolve_deviceid()
90 remove_wait_queue(&nn->bl_wq, &wq); in bl_resolve_deviceid()
96 remove_wait_queue(&nn->bl_wq, &wq); in bl_resolve_deviceid()
108 mutex_unlock(&nn->bl_mutex); in bl_resolve_deviceid()
115 struct nfs_net *nn = net_generic(file_inode(filp)->i_sb->s_fs_info, in bl_pipe_downcall() local
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/cluster/
Dtcp.c284 static u8 o2net_num_from_nn(struct o2net_node *nn) in o2net_num_from_nn() argument
286 BUG_ON(nn == NULL); in o2net_num_from_nn()
287 return nn - o2net_nodes; in o2net_num_from_nn()
292 static int o2net_prep_nsw(struct o2net_node *nn, struct o2net_status_wait *nsw) in o2net_prep_nsw() argument
296 spin_lock(&nn->nn_lock); in o2net_prep_nsw()
297 ret = idr_alloc(&nn->nn_status_idr, nsw, 0, 0, GFP_ATOMIC); in o2net_prep_nsw()
300 list_add_tail(&nsw->ns_node_item, &nn->nn_status_list); in o2net_prep_nsw()
302 spin_unlock(&nn->nn_lock); in o2net_prep_nsw()
312 static void o2net_complete_nsw_locked(struct o2net_node *nn, in o2net_complete_nsw_locked() argument
317 assert_spin_locked(&nn->nn_lock); in o2net_complete_nsw_locked()
[all …]
/kernel/linux/linux-5.10/lib/reed_solomon/
Ddecode_rs.c16 int nn = rs->nn; variable
26 uint16_t msk = (uint16_t) rs->nn;
42 pad = nn - nroots - len;
43 BUG_ON(pad < 0 || pad >= nn - nroots);
51 if (s[i] != nn)
112 prim * (nn - 1 - (eras_pos[0] + pad)))];
114 u = rs_modnn(rs, prim * (nn - 1 - (eras_pos[i] + pad)));
117 if (tmp != nn) {
138 if ((lambda[i] != 0) && (s[r - i - 1] != nn)) {
146 if (discr_r == nn) {
[all …]
Dencode_rs.c15 int nn = rs->nn; variable
21 uint16_t msk = (uint16_t) rs->nn;
24 pad = nn - nroots - len;
25 if (pad < 0 || pad >= nn)
31 if (fb != nn) {
39 if (fb != nn) {
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c24 static bool nfp_net_ebpf_capable(struct nfp_net *nn) in nfp_net_ebpf_capable() argument
27 struct nfp_app_bpf *bpf = nn->app->priv; in nfp_net_ebpf_capable()
29 return nn->cap & NFP_NET_CFG_CTRL_BPF && in nfp_net_ebpf_capable()
31 nn_readb(nn, NFP_NET_CFG_BPF_ABI) == bpf->abi_version; in nfp_net_ebpf_capable()
38 nfp_bpf_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_bpf_xdp_offload() argument
43 if (!nfp_net_ebpf_capable(nn)) in nfp_bpf_xdp_offload()
46 running = nn->dp.ctrl & NFP_NET_CFG_CTRL_BPF; in nfp_bpf_xdp_offload()
47 xdp_running = running && nn->xdp_hw.prog; in nfp_bpf_xdp_offload()
54 return nfp_net_bpf_offload(nn, prog, running, extack); in nfp_bpf_xdp_offload()
57 static const char *nfp_bpf_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_extra_cap() argument
[all …]
Doffload.c221 struct nfp_net *nn = netdev_priv(prog->aux->offload->netdev); in nfp_bpf_translate() local
230 max_instr = nn_readw(nn, NFP_NET_CFG_BPF_MAX_LEN); in nfp_bpf_translate()
425 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf() argument
484 bool nfp_bpf_offload_check_mtu(struct nfp_net *nn, struct bpf_prog *prog, in nfp_bpf_offload_check_mtu() argument
489 fw_mtu = nn_readb(nn, NFP_NET_CFG_BPF_INL_MTU) * 64 - 32; in nfp_bpf_offload_check_mtu()
496 nfp_net_bpf_load(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_load() argument
505 if (nfp_bpf_offload_check_mtu(nn, prog, nn->dp.netdev->mtu)) { in nfp_net_bpf_load()
510 max_stack = nn_readb(nn, NFP_NET_CFG_BPF_STACK_SZ) * 64; in nfp_net_bpf_load()
516 max_prog_len = nn_readw(nn, NFP_NET_CFG_BPF_MAX_LEN); in nfp_net_bpf_load()
522 img = nfp_bpf_relo_for_vnic(nfp_prog, nn->app_priv); in nfp_net_bpf_load()
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Dclient.c202 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_cleanup_cb_ident_idr() local
204 idr_destroy(&nn->cb_ident_idr); in nfs_cleanup_cb_ident_idr()
210 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_cb_idr_remove_locked() local
213 idr_remove(&nn->cb_ident_idr, clp->cl_cb_ident); in nfs_cb_idr_remove_locked()
260 struct nfs_net *nn; in nfs_put_client() local
265 nn = net_generic(clp->cl_net, nfs_net_id); in nfs_put_client()
267 if (refcount_dec_and_lock(&clp->cl_count, &nn->nfs_client_lock)) { in nfs_put_client()
270 spin_unlock(&nn->nfs_client_lock); in nfs_put_client()
287 struct nfs_net *nn = net_generic(data->net, nfs_net_id); in nfs_match_client() local
291 list_for_each_entry(clp, &nn->nfs_client_list, cl_share_link) { in nfs_match_client()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c176 struct nfp_net *nn; in nfp_abm_kill_reprs_all() local
178 list_for_each_entry(nn, &pf->vnics, vnic_list) in nfp_abm_kill_reprs_all()
179 nfp_abm_kill_reprs(abm, (struct nfp_abm_link *)nn->app_priv); in nfp_abm_kill_reprs_all()
208 struct nfp_net *nn; in nfp_abm_eswitch_set_switchdev() local
218 list_for_each_entry(nn, &pf->vnics, vnic_list) { in nfp_abm_eswitch_set_switchdev()
219 struct nfp_abm_link *alink = nn->app_priv; in nfp_abm_eswitch_set_switchdev()
257 nfp_abm_vnic_set_mac(struct nfp_pf *pf, struct nfp_abm *abm, struct nfp_net *nn, in nfp_abm_vnic_set_mac() argument
268 eth_hw_addr_random(nn->dp.netdev); in nfp_abm_vnic_set_mac()
279 eth_hw_addr_random(nn->dp.netdev); in nfp_abm_vnic_set_mac()
285 eth_hw_addr_random(nn->dp.netdev); in nfp_abm_vnic_set_mac()
[all …]

1234