Symbol: otx2_nic
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
126
struct otx2_nic *pfvf = dev;
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
160
struct otx2_nic *pfvf = dev;
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
182
int cn10k_free_all_ipolicers(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
207
int cn10k_alloc_leaf_profile(struct otx2_nic *pfvf, u16 *leaf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
245
int cn10k_alloc_matchall_ipolicer(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
32
void otx2_init_hw_ops(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
325
int cn10k_map_unmap_rq_policer(struct otx2_nic *pfvf, int rq_idx,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
358
int cn10k_free_leaf_profile(struct otx2_nic *pfvf, u16 leaf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
372
int cn10k_free_matchall_ipolicer(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
393
int cn10k_set_ipolicer_rate(struct otx2_nic *pfvf, u16 profile,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
43
int cn10k_lmtst_init(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
497
int cn10k_set_matchall_ipolicer_rate(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
92
struct otx2_nic *pfvf = dev;
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
13
static inline int mtu_to_dwrr_weight(struct otx2_nic *pfvf, int mtu)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
30
int cn10k_lmtst_init(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
31
int cn10k_free_all_ipolicers(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
32
int cn10k_alloc_matchall_ipolicer(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
33
int cn10k_free_matchall_ipolicer(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
34
int cn10k_set_matchall_ipolicer_rate(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
36
int cn10k_map_unmap_rq_policer(struct otx2_nic *pfvf, int rq_idx,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
38
int cn10k_alloc_leaf_profile(struct otx2_nic *pfvf, u16 *leaf);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
39
int cn10k_set_ipolicer_rate(struct otx2_nic *pfvf, u16 profile,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
41
int cn10k_free_leaf_profile(struct otx2_nic *pfvf, u16 leaf);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
42
void otx2_init_hw_ops(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
114
static void cn10k_outb_cptlf_free(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
122
static int cn10k_outb_cptlf_config(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
141
static void cn10k_outb_cptlf_iq_enable(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
156
static void cn10k_outb_cptlf_iq_disable(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
22
static bool cn10k_cpt_device_set_inuse(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
233
static int cn10k_outb_cptlf_iq_alloc(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
255
static void cn10k_outb_cptlf_iq_free(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
267
static int cn10k_outb_cptlf_iq_init(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
291
static int cn10k_outb_cptlf_init(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
315
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
349
static int cn10k_outb_cpt_clean(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
381
static void cn10k_cpt_inst_flush(struct otx2_nic *pf, struct cpt_inst_s *inst,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
39
static void cn10k_cpt_device_set_available(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
403
static int cn10k_wait_for_cpt_respose(struct otx2_nic *pf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
427
static int cn10k_outb_write_sa(struct otx2_nic *pf, struct qmem *sa_info)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
44
static void cn10k_cpt_device_set_unavailable(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
49
static int cn10k_outb_cptlf_attach(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
526
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
672
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
71
static int cn10k_outb_cptlf_detach(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
717
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
756
struct otx2_nic *pf = container_of(ipsec, struct otx2_nic, ipsec);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
767
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
788
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
818
void cn10k_ipsec_clean(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
866
bool otx2_sqe_add_sg_ipsec(struct otx2_nic *pfvf, struct otx2_snd_queue *sq,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
92
static int cn10k_outb_cptlf_alloc(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
931
bool cn10k_ipsec_transmit(struct otx2_nic *pf, struct netdev_queue *txq,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.h
227
void cn10k_ipsec_clean(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.h
229
bool otx2_sqe_add_sg_ipsec(struct otx2_nic *pfvf, struct otx2_snd_queue *sq,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.h
231
bool cn10k_ipsec_transmit(struct otx2_nic *pf, struct netdev_queue *txq,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.h
240
static inline __maybe_unused void cn10k_ipsec_clean(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.h
251
otx2_sqe_add_sg_ipsec(struct otx2_nic *pfvf, struct otx2_snd_queue *sq,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.h
258
cn10k_ipsec_transmit(struct otx2_nic *pf, struct netdev_queue *txq,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1009
static int cn10k_mcs_secy_tx_cfg(struct otx2_nic *pfvf, struct macsec_secy *secy,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1028
static int cn10k_mcs_secy_rx_cfg(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1061
static int cn10k_mcs_disable_rxscs(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1091
static void cn10k_mcs_sync_stats(struct otx2_nic *pfvf, struct macsec_secy *secy,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
110
static int cn10k_mcs_alloc_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1145
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1169
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1187
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1215
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1250
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1269
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1314
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1349
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1369
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1403
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1422
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1440
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1483
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1519
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1542
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1578
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1599
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1622
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1664
struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev);
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
168
static void cn10k_mcs_free_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1711
void cn10k_handle_mcs_event(struct otx2_nic *pfvf, struct mcs_intr_info *event)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1738
int cn10k_mcs_init(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1778
void cn10k_mcs_free(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
209
static int cn10k_mcs_alloc_txsa(struct otx2_nic *pfvf, u16 *hw_sa_id)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
214
static int cn10k_mcs_alloc_rxsa(struct otx2_nic *pfvf, u16 *hw_sa_id)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
219
static void cn10k_mcs_free_txsa(struct otx2_nic *pfvf, u16 hw_sa_id)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
224
static void cn10k_mcs_free_rxsa(struct otx2_nic *pfvf, u16 hw_sa_id)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
229
static int cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
281
static int cn10k_mcs_write_rx_flowid(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
327
static int cn10k_mcs_write_sc_cam(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
354
static int cn10k_mcs_write_keys(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
391
static int cn10k_mcs_write_rx_sa_plcy(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
440
static int cn10k_mcs_write_rx_sa_pn(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
467
static int cn10k_mcs_write_tx_secy(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
49
static int cn10k_ecb_aes_encrypt(struct otx2_nic *pfvf, const u8 *sak,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
550
static int cn10k_mcs_write_tx_flowid(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
596
static int cn10k_mcs_link_tx_sa2sc(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
630
static int cn10k_mcs_write_tx_sa_plcy(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
666
static int cn10k_write_tx_sa_pn(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
693
static int cn10k_mcs_ena_dis_flowid(struct otx2_nic *pfvf, u16 hw_flow_id,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
719
static int cn10k_mcs_sa_stats(struct otx2_nic *pfvf, u8 hw_sa_id,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
774
static int cn10k_mcs_sc_stats(struct otx2_nic *pfvf, u8 hw_sc_id,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
829
static int cn10k_mcs_secy_stats(struct otx2_nic *pfvf, u8 hw_secy_id,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
884
static struct cn10k_mcs_txsc *cn10k_mcs_create_txsc(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
931
static void cn10k_mcs_delete_txsc(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
957
static struct cn10k_mcs_rxsc *cn10k_mcs_create_rxsc(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
987
static void cn10k_mcs_delete_rxsc(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
102
void cn20k_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs)
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
122
void cn20k_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs)
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
150
struct otx2_nic *pf = irq_data->pf;
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
16
struct otx2_nic *pf = pf_irq;
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
171
int cn20k_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs)
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
245
static u8 cn20k_aura_bpid_idx(struct otx2_nic *pfvf, int aura_id)
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
270
int cn20k_tc_free_mcam_entry(struct otx2_nic *nic, u16 entry)
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
295
static bool cn20k_tc_check_entry_shiftable(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
334
void cn20k_tc_update_mcam_table_del_req(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
393
int cn20k_tc_update_mcam_table_add_req(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
437
static int __cn20k_tc_alloc_entry(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
483
int cn20k_tc_alloc_entry(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
520
static int cn20k_aura_aq_init(struct otx2_nic *pfvf, int aura_id,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
58
struct otx2_nic *vf = vf_irq;
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
597
static int cn20k_pool_aq_init(struct otx2_nic *pfvf, u16 pool_id,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
671
struct otx2_nic *pfvf = dev;
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c
714
void cn20k_init(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.h
16
void cn20k_init(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.h
17
int cn20k_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs);
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.h
18
void cn20k_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs);
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.h
19
void cn20k_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs);
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.h
20
void cn20k_tc_update_mcam_table_del_req(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.h
23
int cn20k_tc_update_mcam_table_add_req(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.h
26
int cn20k_tc_alloc_entry(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.h
30
int cn20k_tc_free_mcam_entry(struct otx2_nic *nic, u16 entry);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1051
int otx2_cq_init(struct otx2_nic *pfvf, u16 qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
113
void otx2_get_dev_stats(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1158
struct otx2_nic *pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1173
int otx2_config_nix_queues(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1219
int otx2_config_nix(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1264
void otx2_sq_free_sqbs(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1290
void otx2_free_bufs(struct otx2_nic *pfvf, struct otx2_pool *pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1311
void otx2_free_aura_ptr(struct otx2_nic *pfvf, int type)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1349
void otx2_aura_pool_free(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1369
int otx2_aura_init(struct otx2_nic *pfvf, int aura_id,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1376
int otx2_aura_aq_init(struct otx2_nic *pfvf, int aura_id,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
141
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1453
int otx2_pool_init(struct otx2_nic *pfvf, u16 pool_id,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1460
int otx2_pool_aq_init(struct otx2_nic *pfvf, u16 pool_id,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1542
int otx2_sq_aura_pool_init(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
159
static int otx2_hw_set_mac_addr(struct otx2_nic *pfvf, u8 *mac)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1623
int otx2_rq_aura_pool_init(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1681
int otx2_config_npa(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1734
int otx2_attach_npa_nix(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
178
static int otx2_hw_get_mac_addr(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1816
int otx2_nix_config_bp(struct otx2_nic *pfvf, bool enable)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1841
int otx2_nix_cpt_config_bp(struct otx2_nic *pfvf, bool enable)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1867
void mbox_handler_cgx_stats(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1878
void mbox_handler_cgx_fec_stats(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1885
void mbox_handler_npa_lf_alloc(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1893
void mbox_handler_nix_lf_alloc(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1909
void mbox_handler_msix_offset(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1917
void mbox_handler_nix_bp_enable(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1929
void otx2_free_cints(struct otx2_nic *pfvf, int n)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1947
void otx2_set_cints_affinity(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1971
static u32 get_dwrr_mtu(struct otx2_nic *pfvf, struct nix_hw_info *hw)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
1982
u16 otx2_get_max_mtu(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
2034
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
2066
int otx2_set_hw_capabilities(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
2105
otx2_mbox_up_handler_ ## _fn_name(struct otx2_nic *pfvf, \
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
2117
dma_addr_t otx2_dma_map_skb_frag(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
213
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
2145
void otx2_dma_unmap_skb_frags(struct otx2_nic *pfvf, struct sg_list *sg)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
22
static bool otx2_is_pfc_enabled(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
236
int otx2_hw_set_mtu(struct otx2_nic *pfvf, int mtu)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
263
int otx2_config_pause_frm(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
28
struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
289
int otx2_set_flowkey_cfg(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
323
int otx2_set_rss_table(struct otx2_nic *pfvf, int ctx_id, const u32 *ind_tbl)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
368
void otx2_set_rss_key(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
391
int otx2_rss_init(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
41
struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
462
void otx2_setup_segmentation(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
517
void otx2_config_irq_coalescing(struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
53
void otx2_update_lmac_stats(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
531
static int otx2_alloc_pool_buf(struct otx2_nic *pfvf, struct otx2_pool *pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
549
static int __otx2_alloc_rbuf(struct otx2_nic *pfvf, struct otx2_pool *pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
574
int otx2_alloc_rbuf(struct otx2_nic *pfvf, struct otx2_pool *pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
585
int otx2_alloc_buffer(struct otx2_nic *pfvf, struct otx2_cq_queue *cq,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
596
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
604
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
617
int otx2_txschq_config(struct otx2_nic *pfvf, int lvl, int prio, bool txschq_for_pfc)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
71
void otx2_update_lmac_fec_stats(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
736
int otx2_smq_flush(struct otx2_nic *pfvf, int smq)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
760
int otx2_txsch_alloc(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
804
void otx2_txschq_free_one(struct otx2_nic *pfvf, u16 lvl, u16 schq)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
832
void otx2_txschq_stop(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
84
int otx2_update_rq_stats(struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
852
void otx2_sqb_flush(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
890
int otx2_rq_init(struct otx2_nic *pfvf, u16 qidx, u16 lpb_aura)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
925
struct otx2_nic *pfvf = dev;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
96
int otx2_update_sq_stats(struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
960
int otx2_sq_init(struct otx2_nic *pfvf, u16 qidx, u16 sqb_aura)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1007
static inline u16 otx2_get_total_tx_queues(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1023
static inline int otx2_tc_flower_rule_cnt(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1033
void otx2_free_cints(struct otx2_nic *pfvf, int n);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1034
void otx2_set_cints_affinity(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1036
int otx2_hw_set_mtu(struct otx2_nic *pfvf, int mtu);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1039
void otx2_config_irq_coalescing(struct otx2_nic *pfvf, int qidx);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1040
int otx2_config_pause_frm(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1041
void otx2_setup_segmentation(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1042
int otx2_reset_mac_stats(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1045
int otx2_attach_npa_nix(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1047
int otx2_config_npa(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1048
int otx2_sq_aura_pool_init(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1049
int otx2_rq_aura_pool_init(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1050
void otx2_aura_pool_free(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1051
void otx2_free_aura_ptr(struct otx2_nic *pfvf, int type);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1052
void otx2_sq_free_sqbs(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1053
int otx2_config_nix(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1054
int otx2_config_nix_queues(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1055
int otx2_txschq_config(struct otx2_nic *pfvf, int lvl, int prio, bool pfc_en);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1056
int otx2_txsch_alloc(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1057
void otx2_txschq_stop(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1058
void otx2_txschq_free_one(struct otx2_nic *pfvf, u16 lvl, u16 schq);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1059
void otx2_free_pending_sqe(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1060
void otx2_sqb_flush(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1061
int otx2_alloc_rbuf(struct otx2_nic *pfvf, struct otx2_pool *pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1063
int otx2_rxtx_enable(struct otx2_nic *pfvf, bool enable);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1065
int otx2_nix_config_bp(struct otx2_nic *pfvf, bool enable);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1066
int otx2_nix_cpt_config_bp(struct otx2_nic *pfvf, bool enable);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1067
void otx2_cleanup_rx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq, int qidx);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1068
void otx2_cleanup_tx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1069
int otx2_sq_init(struct otx2_nic *pfvf, u16 qidx, u16 sqb_aura);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1072
int otx2_alloc_buffer(struct otx2_nic *pfvf, struct otx2_cq_queue *cq,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1074
int otx2_pool_init(struct otx2_nic *pfvf, u16 pool_id,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1076
int otx2_aura_init(struct otx2_nic *pfvf, int aura_id,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1078
int otx2_init_rsrc(struct pci_dev *pdev, struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1080
int otx2_alloc_queue_mem(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1081
int otx2_init_hw_resources(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1082
void otx2_free_hw_resources(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1083
int otx2_wq_init(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1084
int otx2_check_pf_usable(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1085
int otx2_pfaf_mbox_init(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1086
int otx2_register_mbox_intr(struct otx2_nic *pf, bool probe_af);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1087
int otx2_realloc_msix_vectors(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1088
void otx2_pfaf_mbox_destroy(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1089
void otx2_disable_mbox_intr(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1090
void otx2_disable_napi(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1092
int otx2_rq_init(struct otx2_nic *pfvf, u16 qidx, u16 lpb_aura);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1093
int otx2_cq_init(struct otx2_nic *pfvf, u16 qidx);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1094
int otx2_set_hw_capabilities(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1095
int otx2_aura_aq_init(struct otx2_nic *pfvf, int aura_id,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1097
int otx2_pool_aq_init(struct otx2_nic *pfvf, u16 pool_id,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1101
int otx2_rss_init(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1102
int otx2_set_flowkey_cfg(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1103
void otx2_set_rss_key(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1104
int otx2_set_rss_table(struct otx2_nic *pfvf, int ctx_id, const u32 *ind_tbl);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1107
void mbox_handler_msix_offset(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1109
void mbox_handler_npa_lf_alloc(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1111
void mbox_handler_nix_lf_alloc(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1113
void mbox_handler_nix_txsch_alloc(struct otx2_nic *pf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1115
void mbox_handler_cgx_stats(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1117
void mbox_handler_cgx_fec_stats(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1119
void otx2_set_fec_stats_count(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1120
void mbox_handler_nix_bp_enable(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1124
void otx2_get_dev_stats(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1127
void otx2_update_lmac_stats(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1128
void otx2_update_lmac_fec_stats(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1129
int otx2_update_rq_stats(struct otx2_nic *pfvf, int qidx);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1130
int otx2_update_sq_stats(struct otx2_nic *pfvf, int qidx);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1145
int otx2_mcam_flow_init(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1146
int otx2vf_mcam_flow_init(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1147
int otx2_alloc_mcam_entries(struct otx2_nic *pfvf, u16 count);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1148
void otx2_mcam_flow_del(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1149
int otx2_destroy_ntuple_flows(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1150
int otx2_destroy_mcam_flows(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1151
int otx2_get_flow(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1153
int otx2_get_all_flows(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1155
int otx2_add_flow(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1157
int otx2_remove_flow(struct otx2_nic *pfvf, u32 location);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1159
void otx2_rss_ctx_flow_del(struct otx2_nic *pfvf, int ctx_id);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1162
int otx2_enable_rxvlan(struct otx2_nic *pf, bool enable);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1163
int otx2_install_rxvlan_offload_flow(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1164
bool otx2_xdp_sq_append_pkt(struct otx2_nic *pfvf, struct xdp_frame *xdpf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1168
u16 otx2_get_max_mtu(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1171
int otx2_smq_flush(struct otx2_nic *pfvf, int smq);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1172
void otx2_free_bufs(struct otx2_nic *pfvf, struct otx2_pool *pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1174
int otx2_mcam_entry_init(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1177
int otx2_init_tc(struct otx2_nic *nic);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1178
void otx2_shutdown_tc(struct otx2_nic *nic);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1181
void otx2_tc_apply_ingress_police_rules(struct otx2_nic *nic);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1184
int otx2_dmacflt_get_max_cnt(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1185
int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1186
int otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, u32 bit_pos);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1187
int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1188
void otx2_dmacflt_reinstall_flows(struct otx2_nic *pf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1189
void otx2_dmacflt_update_pfmac_flow(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1193
void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx, bool pfc_enable);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1194
int otx2_config_priority_flow_ctrl(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1197
int otx2_pfc_txschq_config(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1198
int otx2_pfc_txschq_alloc(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1199
int otx2_pfc_txschq_update(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1200
int otx2_pfc_txschq_stop(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1205
int cn10k_mcs_init(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1206
void cn10k_mcs_free(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1207
void cn10k_handle_mcs_event(struct otx2_nic *pfvf, struct mcs_intr_info *event);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1209
static inline int cn10k_mcs_init(struct otx2_nic *pfvf) { return 0; }
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1210
static inline void cn10k_mcs_free(struct otx2_nic *pfvf) {}
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1211
static inline void cn10k_handle_mcs_event(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1217
static inline void otx2_qos_init(struct otx2_nic *pfvf, int qos_txqs)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1226
static inline void otx2_shutdown_qos(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1233
int otx2_get_txq_by_classid(struct otx2_nic *pfvf, u16 classid);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1234
void otx2_qos_config_txschq(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1235
void otx2_clean_qos_queues(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1236
int rvu_event_up_notify(struct otx2_nic *pf, struct rep_event *info);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1237
int otx2_setup_tc_cls_flower(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1245
dma_addr_t otx2_dma_map_skb_frag(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1247
void otx2_dma_unmap_skb_frags(struct otx2_nic *pfvf, struct sg_list *sg);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1248
int otx2_read_free_sqe(struct otx2_nic *pfvf, u16 qidx);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1251
int otx2_del_mcam_flow_entry(struct otx2_nic *nic, u16 entry,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1253
int otx2_add_mcam_flow_entry(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
175
struct otx2_nic *pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
287
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
298
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
303
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
317
struct otx2_nic *nic;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
404
int (*aura_aq_init)(struct otx2_nic *pfvf, int aura_id,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
406
int (*pool_aq_init)(struct otx2_nic *pfvf, u16 pool_id,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
480
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
654
static inline void otx2_setup_dev_hw_settings(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
689
static inline void __iomem *otx2_get_regaddr(struct otx2_nic *nic, u64 offset)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
714
static inline void otx2_write64(struct otx2_nic *nic, u64 offset, u64 val)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
721
static inline u64 otx2_read64(struct otx2_nic *nic, u64 offset)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
806
static inline void __cn10k_aura_freeptr(struct otx2_nic *pfvf, u64 aura,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
847
struct otx2_nic *pfvf = dev;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
858
static inline u64 otx2_aura_allocptr(struct otx2_nic *pfvf, int aura)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
869
struct otx2_nic *pfvf = dev;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
875
static inline int otx2_get_pool_idx(struct otx2_nic *pfvf, int type, int idx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
954
otx2_mbox_up_handler_ ## _fn_name(struct otx2_nic *pfvf, \
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
970
static inline dma_addr_t otx2_dma_map_page(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
979
static inline void otx2_dma_unmap_page(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
987
static inline u16 otx2_get_smq_idx(struct otx2_nic *pfvf, u16 qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
10
static int otx2_check_pfc_config(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
104
int otx2_pfc_txschq_alloc(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
128
static int otx2_pfc_txschq_stop_one(struct otx2_nic *pfvf, u8 prio)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
141
static int otx2_pfc_update_sq_smq_mapping(struct otx2_nic *pfvf, int prio)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
199
int otx2_pfc_txschq_update(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
267
int otx2_pfc_txschq_stop(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
28
int otx2_pfc_txschq_config(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
290
int otx2_config_priority_flow_ctrl(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
335
void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
402
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
412
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
479
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
59
static int otx2_pfc_txschq_alloc_one(struct otx2_nic *pfvf, u8 prio)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
104
struct otx2_nic *pfvf = otx2_dl->pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
15
struct otx2_nic *pfvf = otx2_dl->pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
151
struct otx2_nic *pfvf = otx2_dl->pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
165
struct otx2_nic *pfvf = otx2_dl->pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
199
int otx2_register_dl(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
234
void otx2_unregister_dl(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
39
struct otx2_nic *pfvf = otx2_dl->pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
55
struct otx2_nic *pfvf = otx2_dl->pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
74
struct otx2_nic *pfvf = otx2_dl->pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
92
struct otx2_nic *pfvf = otx2_dl->pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h
13
struct otx2_nic *pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h
17
int otx2_register_dl(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h
18
void otx2_unregister_dl(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
10
static int otx2_dmacflt_do_add(struct otx2_nic *pf, const u8 *mac,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
115
static int otx2_dmacflt_remove_pfmac(struct otx2_nic *pf, u32 dmac_index)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
134
int otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
149
int otx2_dmacflt_get_max_cnt(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
182
int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
43
static int otx2_dmacflt_add_pfmac(struct otx2_nic *pf, u32 *dmac_index)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
79
int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
94
static int otx2_dmacflt_do_remove(struct otx2_nic *pfvf, const u8 *mac,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1001
static struct cgx_fw_data *otx2_get_fwdata(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1029
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1055
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
111
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1209
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1240
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1301
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
138
static void otx2_get_qset_stats(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1382
struct otx2_nic *vf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1390
struct otx2_nic *vf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1410
struct otx2_nic *vf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1428
struct otx2_nic *vf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
1443
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
168
static int otx2_get_phy_fec_stats(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
189
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
244
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
264
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
277
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
318
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
348
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
374
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
390
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
466
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
490
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
575
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
583
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
637
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
75
static struct cgx_fw_data *otx2_get_fwdata(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
750
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
777
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
799
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
80
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
817
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
851
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
86
static void otx2_get_qset_strings(struct otx2_nic *pfvf, u8 **data, int qset)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
873
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
889
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
922
struct otx2_nic *pfvf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
954
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
961
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
968
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
979
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1110
static int otx2_get_kw_type(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1162
static int otx2_is_flow_rule_dmacfilter(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1188
static int otx2_add_flow_msg(struct otx2_nic *pfvf, struct otx2_flow *flow)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
131
static int otx2_free_ntuple_mcam_entries(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1318
static int otx2_add_flow_with_pfmac(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1349
int otx2_add_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1472
static int otx2_remove_flow_msg(struct otx2_nic *pfvf, u16 entry, bool all)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1494
static void otx2_update_rem_pfmac(struct otx2_nic *pfvf, int req)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1525
int otx2_remove_flow(struct otx2_nic *pfvf, u32 location)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1576
void otx2_rss_ctx_flow_del(struct otx2_nic *pfvf, int ctx_id)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
158
int otx2_alloc_mcam_entries(struct otx2_nic *pfvf, u16 count)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1592
int otx2_destroy_ntuple_flows(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1625
int otx2_destroy_mcam_flows(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1668
int otx2_install_rxvlan_offload_flow(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1697
static int otx2_delete_rxvlan_offload_flow(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1717
int otx2_enable_rxvlan(struct otx2_nic *pf, bool enable)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1767
void otx2_dmacflt_reinstall_flows(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1781
void otx2_dmacflt_update_pfmac_flow(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
286
int otx2_mcam_entry_init(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
33
static void otx2_clear_ntuple_flow_info(struct otx2_nic *pfvf, struct otx2_flow_config *flow_cfg)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
40
static int otx2_mcam_pfl_info_get(struct otx2_nic *pfvf, u16 *x4_slots, u8 *kw_type)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
428
int otx2vf_mcam_flow_init(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
453
int otx2_mcam_flow_init(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
509
void otx2_mcam_flow_del(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
518
static int otx2_do_add_macfilter(struct otx2_nic *pf, const u8 *mac)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
566
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
577
static bool otx2_get_mcamentry_for_mac(struct otx2_nic *pf, const u8 *mac,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
597
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
619
static struct otx2_flow *otx2_find_flow(struct otx2_nic *pfvf, u32 location)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
631
static void otx2_add_flow_to_list(struct otx2_nic *pfvf, struct otx2_flow *flow)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
659
int otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
678
int otx2_get_all_flows(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
95
static int otx2_get_dft_rl_idx(struct otx2_nic *pfvf, u16 *mcam_idx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1010
struct otx2_nic *pf = af_mbox->pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1046
struct otx2_nic *pf = (struct otx2_nic *)pf_irq;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
106
static void otx2_flr_wq_destroy(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1099
void otx2_disable_mbox_intr(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1117
int otx2_register_mbox_intr(struct otx2_nic *pf, bool probe_af)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1179
void otx2_pfaf_mbox_destroy(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
118
struct otx2_nic *pf = flrwork->pf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1196
int otx2_pfaf_mbox_init(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1252
static int otx2_cgx_config_linkevents(struct otx2_nic *pf, bool enable)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1273
int otx2_reset_mac_stats(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1290
static int otx2_cgx_config_loopback(struct otx2_nic *pf, bool enable)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1392
struct otx2_nic *pf = data;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
149
struct otx2_nic *pf = (struct otx2_nic *)pf_irq;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1509
struct otx2_nic *pf = (struct otx2_nic *)cq_poll->dev;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1527
void otx2_disable_napi(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1545
static void otx2_free_cq_res(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1559
static void otx2_free_sq_res(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1584
static int otx2_get_rbuf_size(struct otx2_nic *pf, int mtu)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1612
int otx2_init_hw_resources(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1746
void otx2_free_hw_resources(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
178
struct otx2_nic *pf = (struct otx2_nic *)pf_irq;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1827
static bool otx2_promisc_use_mce_list(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1842
static void otx2_do_set_rx_mode(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1881
static void otx2_set_irq_coalesce(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1893
struct otx2_nic *pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1899
pfvf = (struct otx2_nic *)cq_poll->dev;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1921
int otx2_alloc_queue_mem(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1967
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
201
static int otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2152
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2215
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2254
static int otx2_qos_select_htb_queue(struct otx2_nic *pf, struct sk_buff *skb,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2273
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2330
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2337
struct otx2_nic *pf = container_of(work, struct otx2_nic, rx_mode_work);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2346
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2365
struct otx2_nic *pf = container_of(work, struct otx2_nic, reset_task);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2378
static int otx2_config_hw_rx_tstamp(struct otx2_nic *pfvf, bool enable)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2410
static int otx2_config_hw_tx_tstamp(struct otx2_nic *pfvf, bool enable)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2445
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2456
struct otx2_nic *pfvf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2517
static int otx2_do_set_vf_mac(struct otx2_nic *pf, int vf, const u8 *mac)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2579
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2603
static int otx2_do_set_vf_vlan(struct otx2_nic *pf, int vf, u16 vlan, u8 qos,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2745
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
276
static int otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2770
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2789
static int otx2_xdp_xmit_tx(struct otx2_nic *pf, struct xdp_frame *xdpf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2814
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2843
static int otx2_xdp_setup(struct otx2_nic *pf, struct bpf_prog *prog)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2884
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2896
static int otx2_set_vf_permissions(struct otx2_nic *pf, int vf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2927
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2975
int otx2_wq_init(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2986
int otx2_check_pf_usable(struct otx2_nic *nic)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3004
int otx2_realloc_msix_vectors(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3028
static int otx2_sriov_vfcfg_init(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3049
static void otx2_sriov_vfcfg_cleanup(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3062
int otx2_init_rsrc(struct pci_dev *pdev, struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3159
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3378
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3423
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3462
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3486
static void otx2_ndc_sync(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3512
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
358
static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
459
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
499
struct otx2_nic *pf = vf_mbox->pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
53
static int otx2_config_hw_tx_tstamp(struct otx2_nic *pfvf, bool enable);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
54
static int otx2_config_hw_rx_tstamp(struct otx2_nic *pfvf, bool enable);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
552
struct otx2_nic *pf = (struct otx2_nic *)(pf_irq);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
579
static void *cn20k_pfvf_mbox_alloc(struct otx2_nic *pf, int numvfs)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
58
struct otx2_nic *pf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
596
static int otx2_pfvf_mbox_init(struct otx2_nic *pf, int numvfs)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
668
static void otx2_pfvf_mbox_destroy(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
688
static void otx2_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
703
static void otx2_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
725
static int otx2_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
774
static void otx2_process_pfaf_mbox_msg(struct otx2_nic *pf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
80
static void otx2_disable_flr_me_intr(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
850
struct otx2_nic *pf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
877
static void otx2_handle_link_event(struct otx2_nic *pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
897
static int otx2_mbox_up_handler_rep_event_up_notify(struct otx2_nic *pf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
926
int otx2_mbox_up_handler_mcs_intr_notify(struct otx2_nic *pf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
935
int otx2_mbox_up_handler_cgx_link_event(struct otx2_nic *pf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
963
static int otx2_process_mbox_msg_up(struct otx2_nic *pf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
117
struct otx2_nic *pfvf = ptp->nic;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
234
struct otx2_nic *pfvf = ptp->nic;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
326
struct otx2_nic *pfvf = ptp->nic;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
382
int otx2_ptp_init(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
487
void otx2_ptp_destroy(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
502
int otx2_ptp_clock_index(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
51
struct otx2_nic *pfvf = ptp->nic;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
511
int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.h
26
int otx2_ptp_init(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.h
27
void otx2_ptp_destroy(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.h
29
int otx2_ptp_clock_index(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.h
30
int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
101
u64 otx2_get_txschq_rate_regval(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1021
int otx2_add_mcam_flow_entry(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1048
int otx2_del_mcam_flow_entry(struct otx2_nic *nic, u16 entry, u16 *cntr_val)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1089
static int otx2_tc_update_mcam_table_del_req(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1133
static int otx2_tc_update_mcam_table_add_req(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1167
static int otx2_tc_update_mcam_table(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1178
static int otx2_tc_del_flow(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1238
static int otx2_tc_add_flow(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
129
static int otx2_set_matchall_egress_rate(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1359
static int otx2_tc_get_flow_stats(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1416
int otx2_setup_tc_cls_flower(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1432
static int otx2_tc_ingress_matchall_install(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1481
static int otx2_tc_ingress_matchall_delete(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1497
static int otx2_setup_tc_ingress_matchall(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1516
struct otx2_nic *nic = cb_priv;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1541
static int otx2_setup_tc_egress_matchall(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
156
static int otx2_tc_validate_flow(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1560
struct otx2_nic *nic = cb_priv;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1580
struct otx2_nic *nic = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1615
int otx2_init_tc(struct otx2_nic *nic)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1630
void otx2_shutdown_tc(struct otx2_nic *nic)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1636
static void otx2_tc_config_ingress_rule(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
1659
void otx2_tc_apply_ingress_police_rules(struct otx2_nic *nic)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
212
static int otx2_tc_egress_matchall_install(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
256
static int otx2_tc_egress_matchall_delete(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
272
static int otx2_tc_act_set_hw_police(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
307
static int otx2_tc_act_set_police(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
340
static int otx2_tc_update_mcast(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
35
static void otx2_get_egress_burst_cfg(struct otx2_nic *nic, u32 burst,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
413
static int otx2_tc_parse_actions(struct otx2_nic *nic,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
424
struct otx2_nic *priv;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
552
static int otx2_tc_process_vlan(struct otx2_nic *nic, struct flow_msg *flow_spec,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
608
static int otx2_tc_prepare_flow(struct otx2_nic *nic, struct otx2_tc_flow *node,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
938
static void otx2_destroy_tc_flow_list(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1013
static bool is_hw_tso_supported(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1038
static int otx2_get_sqe_count(struct otx2_nic *pfvf, struct sk_buff *skb)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
105
static void otx2_xdp_snd_pkt_handler(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1126
static void otx2_set_txtstamp(struct otx2_nic *pfvf, struct sk_buff *skb,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1195
struct otx2_nic *pfvf = dev;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
125
static void otx2_snd_pkt_handler(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1276
void otx2_cleanup_rx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1318
void otx2_cleanup_tx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1364
int otx2_rxtx_enable(struct otx2_nic *pfvf, bool enable)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1385
void otx2_free_pending_sqe(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1439
int otx2_read_free_sqe(struct otx2_nic *pfvf, u16 qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1454
bool otx2_xdp_sq_append_pkt(struct otx2_nic *pfvf, struct xdp_frame *xdpf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1488
static bool otx2_xdp_rcv_pkt_handler(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
168
static void otx2_set_rxtstamp(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
186
static bool otx2_skb_add_frag(struct otx2_nic *pfvf, struct sk_buff *skb,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
224
static void otx2_set_rxhash(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
246
static void otx2_free_rcv_seg(struct otx2_nic *pfvf, struct nix_cqe_rx_s *cqe,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
266
static bool otx2_check_rcv_errors(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
330
static void otx2_rcv_pkt_handler(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
393
static int otx2_rx_napi_handler(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
40
static bool otx2_xdp_rcv_pkt_handler(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
438
struct otx2_nic *pfvf = dev;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
452
static void otx2_zc_submit_pkts(struct otx2_nic *pfvf, struct xsk_buff_pool *xsk_pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
464
static int otx2_tx_napi_handler(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
546
static void otx2_adjust_adaptive_coalese(struct otx2_nic *pfvf, struct otx2_cq_poll *cq_poll)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
57
static int otx2_nix_cq_op_status(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
573
struct otx2_nic *pfvf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
577
pfvf = (struct otx2_nic *)cq_poll->dev;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
662
static bool otx2_sqe_add_sg(struct otx2_nic *pfvf, struct otx2_snd_queue *sq,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
707
static void otx2_sqe_add_ext(struct otx2_nic *pfvf, struct otx2_snd_queue *sq,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
798
static void otx2_sqe_add_hdr(struct otx2_nic *pfvf, struct otx2_snd_queue *sq,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
846
static int otx2_dma_map_tso_skb(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
928
static void otx2_sq_append_tso(struct otx2_nic *pfvf, struct otx2_snd_queue *sq,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
117
static int otx2vf_process_mbox_msg_up(struct otx2_nic *vf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
158
struct otx2_nic *vf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
186
struct otx2_nic *vf = (struct otx2_nic *)vf_irq;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
237
static void otx2vf_disable_mbox_intr(struct otx2_nic *vf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
250
static int otx2vf_register_mbox_intr(struct otx2_nic *vf, bool probe_pf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
308
static void otx2vf_vfaf_mbox_destroy(struct otx2_nic *vf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
324
static int otx2vf_vfaf_mbox_init(struct otx2_nic *vf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
39
static void otx2vf_process_vfaf_mbox_msg(struct otx2_nic *vf,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
391
struct otx2_nic *vf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
416
struct otx2_nic *vf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
451
struct otx2_nic *vf = netdev_priv(netdev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
458
struct otx2_nic *vf = container_of(work, struct otx2_nic, rx_mode_work);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
505
struct otx2_nic *vf = container_of(work, struct otx2_nic, reset_task);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
540
static int otx2_vf_wq_init(struct otx2_nic *vf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
551
static int otx2vf_realloc_msix_vectors(struct otx2_nic *vf)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
577
struct otx2_nic *vf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
816
struct otx2_nic *vf;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c
119
int otx2_xsk_pool_enable(struct otx2_nic *pf, struct xsk_buff_pool *pool, u16 qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c
140
int otx2_xsk_pool_disable(struct otx2_nic *pf, u16 qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c
161
int otx2_xsk_pool_setup(struct otx2_nic *pf, struct xsk_buff_pool *pool, u16 qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c
17
int otx2_xsk_pool_alloc_buf(struct otx2_nic *pfvf, struct otx2_pool *pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c
171
struct otx2_nic *pf = netdev_priv(dev);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c
194
void otx2_attach_xsk_buff(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c
200
static void otx2_xsk_sq_append_pkt(struct otx2_nic *pfvf, u64 iova, int len,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c
228
void otx2_zc_napi_handler(struct otx2_nic *pfvf, struct xsk_buff_pool *pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c
36
static int otx2_xsk_ctx_disable(struct otx2_nic *pfvf, u16 qidx, int aura_id)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c
91
static void otx2_clean_up_rq(struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.h
11
struct otx2_nic;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.h
14
int otx2_xsk_pool_setup(struct otx2_nic *pf, struct xsk_buff_pool *pool, u16 qid);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.h
15
int otx2_xsk_pool_enable(struct otx2_nic *pf, struct xsk_buff_pool *pool, u16 qid);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.h
16
int otx2_xsk_pool_disable(struct otx2_nic *pf, u16 qid);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.h
17
int otx2_xsk_pool_alloc_buf(struct otx2_nic *pfvf, struct otx2_pool *pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.h
20
void otx2_zc_napi_handler(struct otx2_nic *pfvf, struct xsk_buff_pool *pool,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.h
22
void otx2_attach_xsk_buff(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, int qidx);
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1022
static int otx2_qos_update_tree(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1030
static int otx2_qos_root_add(struct otx2_nic *pfvf, u16 htb_maj_id, u16 htb_defcls,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1098
static int otx2_qos_root_destroy(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1115
static int otx2_qos_validate_quantum(struct otx2_nic *pfvf, u32 quantum)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1133
struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1156
struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1186
struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1222
static int otx2_qos_leaf_alloc_queue(struct otx2_nic *pfvf, u16 classid,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
136
static void __otx2_qos_txschq_cfg(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1361
static int otx2_qos_leaf_to_inner(struct otx2_nic *pfvf, u16 classid,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1500
static int otx2_qos_cur_leaf_nodes(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1520
static void otx2_cfg_smq(struct otx2_nic *pfvf, struct otx2_qos_node *node,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1532
static int otx2_qos_leaf_del(struct otx2_nic *pfvf, u16 *classid,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1608
static int otx2_qos_leaf_del_last(struct otx2_nic *pfvf, u16 classid, bool force,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1689
void otx2_clean_qos_queues(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1700
void otx2_qos_config_txschq(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
1734
struct otx2_nic *pfvf = netdev_priv(ndev);
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
197
static int otx2_qos_txschq_set_parent_topology(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
238
static void otx2_qos_free_hw_node_schq(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
247
static void otx2_qos_free_hw_node(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
259
static void otx2_qos_free_hw_cfg(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
26
static void otx2_qos_update_tx_netdev_queues(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
274
static void otx2_qos_sw_node_delete(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
288
static void otx2_qos_free_sw_node_schq(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
299
static void __otx2_qos_free_sw_node(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
311
static void otx2_qos_free_sw_node(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
323
static void otx2_qos_destroy_node(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
356
static void otx2_qos_prepare_txschq_cfg(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
396
static void otx2_qos_read_txschq_cfg(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
406
otx2_qos_alloc_root(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
458
static int otx2_qos_alloc_txschq_node(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
503
otx2_qos_sw_create_leaf_node(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
553
*otx2_sw_node_find_by_qid(struct otx2_nic *pfvf, u16 qid)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
567
otx2_sw_node_find(struct otx2_nic *pfvf, u32 classid)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
580
otx2_sw_node_find_rcu(struct otx2_nic *pfvf, u32 classid)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
592
int otx2_get_txq_by_classid(struct otx2_nic *pfvf, u16 classid)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
614
otx2_qos_txschq_config(struct otx2_nic *pfvf, struct otx2_qos_node *node)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
638
static int otx2_qos_txschq_alloc(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
694
static void otx2_qos_free_unused_txschq(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
709
static void otx2_qos_txschq_fill_cfg_schq(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
71
static int otx2_qos_quantum_to_dwrr_weight(struct otx2_nic *pfvf, u32 quantum)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
723
static void otx2_qos_txschq_fill_cfg_tl(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
743
static void otx2_qos_txschq_fill_cfg(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
754
static void __otx2_qos_assign_base_idx_tl(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
780
static int otx2_qos_assign_base_idx_tl(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
819
static int otx2_qos_assign_base_idx(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
82
static void otx2_config_sched_shaping(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
831
static int otx2_qos_txschq_push_cfg_schq(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
850
static int otx2_qos_txschq_push_cfg_tl(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
876
static int otx2_qos_txschq_push_cfg(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
892
static int otx2_qos_txschq_update_config(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
901
static int otx2_qos_txschq_update_root_cfg(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
909
static void otx2_qos_free_cfg(struct otx2_nic *pfvf, struct otx2_qos_cfg *cfg)
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
930
static void otx2_qos_enadis_sq(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
942
static void otx2_qos_update_smq_schq(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
961
static void __otx2_qos_update_smq(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
982
static void otx2_qos_update_smq(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
992
static int otx2_qos_push_txschq_cfg(struct otx2_nic *pfvf,
drivers/net/ethernet/marvell/octeontx2/nic/qos.h
23
u64 otx2_get_txschq_rate_regval(struct otx2_nic *nic, u64 maxrate, u32 burst);
drivers/net/ethernet/marvell/octeontx2/nic/qos.h
26
int otx2_qos_get_qid(struct otx2_nic *pfvf);
drivers/net/ethernet/marvell/octeontx2/nic/qos.h
27
void otx2_qos_free_qid(struct otx2_nic *pfvf, int qidx);
drivers/net/ethernet/marvell/octeontx2/nic/qos.h
28
int otx2_qos_enable_sq(struct otx2_nic *pfvf, int qidx);
drivers/net/ethernet/marvell/octeontx2/nic/qos.h
29
void otx2_qos_disable_sq(struct otx2_nic *pfvf, int qidx);
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c
116
static void otx2_qos_sq_free_sqbs(struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c
151
static void otx2_qos_sqb_flush(struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c
166
static int otx2_qos_ctx_disable(struct otx2_nic *pfvf, u16 qidx, int aura_id)
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c
19
static void otx2_qos_aura_pool_free(struct otx2_nic *pfvf, int pool_id)
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c
221
int otx2_qos_get_qid(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c
231
void otx2_qos_free_qid(struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c
236
int otx2_qos_enable_sq(struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c
260
static int otx2_qos_nix_npa_ndc_sync(struct otx2_nic *pfvf)
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c
280
void otx2_qos_disable_sq(struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c
33
static int otx2_qos_sq_aura_pool_init(struct otx2_nic *pfvf, int qidx)
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
110
struct otx2_nic *priv = rep->mdev;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
153
struct otx2_nic *priv = rep->mdev;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
203
struct otx2_nic *priv = rep->mdev;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
221
rvu_rep_devlink_set_switch_id(struct otx2_nic *priv,
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
241
struct otx2_nic *priv = rep->mdev;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
267
static int rvu_rep_get_repid(struct otx2_nic *priv, u16 pcifunc)
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
277
static int rvu_rep_notify_pfvf(struct otx2_nic *priv, u16 event,
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
297
static void rvu_rep_state_evt_handler(struct otx2_nic *priv,
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
311
int rvu_event_up_notify(struct otx2_nic *pf, struct rep_event *info)
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
32
static int rvu_rep_notify_pfvf(struct otx2_nic *priv, u16 event,
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
321
struct otx2_nic *priv = rep->mdev;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
340
struct otx2_nic *priv;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
39
struct otx2_nic *priv = rep->mdev;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
400
static int rvu_eswitch_config(struct otx2_nic *priv, u8 ena)
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
419
struct otx2_nic *pf = rep->mdev;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
453
struct otx2_nic *priv = rep->mdev;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
472
struct otx2_nic *priv = rep->mdev;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
498
static int rvu_rep_napi_init(struct otx2_nic *priv,
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
559
static void rvu_rep_free_cq_rsrc(struct otx2_nic *priv)
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
581
static void rvu_rep_rsrc_free(struct otx2_nic *priv)
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
597
static int rvu_rep_rsrc_init(struct otx2_nic *priv)
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
629
void rvu_rep_destroy(struct otx2_nic *priv)
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
648
int rvu_rep_create(struct otx2_nic *priv, struct netlink_ext_ack *extack)
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
733
static int rvu_get_rep_cnt(struct otx2_nic *priv)
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
771
struct otx2_nic *priv;
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
845
struct otx2_nic *priv = pci_get_drvdata(pdev);
drivers/net/ethernet/marvell/octeontx2/nic/rep.h
34
struct otx2_nic *mdev;
drivers/net/ethernet/marvell/octeontx2/nic/rep.h
52
int rvu_rep_create(struct otx2_nic *priv, struct netlink_ext_ack *extack);
drivers/net/ethernet/marvell/octeontx2/nic/rep.h
53
void rvu_rep_destroy(struct otx2_nic *priv);
drivers/net/ethernet/marvell/octeontx2/nic/rep.h
54
int rvu_event_up_notify(struct otx2_nic *pf, struct rep_event *info);