/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_common.c | 22 static bool otx2_is_pfc_enabled(struct otx2_nic *pfvf) in otx2_is_pfc_enabled() 28 struct otx2_nic *pfvf, int qidx) in otx2_nix_rq_op_stats() 41 struct otx2_nic *pfvf, int qidx) in otx2_nix_sq_op_stats() 53 void otx2_update_lmac_stats(struct otx2_nic *pfvf) in otx2_update_lmac_stats() 71 void otx2_update_lmac_fec_stats(struct otx2_nic *pfvf) in otx2_update_lmac_fec_stats() 84 int otx2_update_rq_stats(struct otx2_nic *pfvf, int qidx) in otx2_update_rq_stats() 96 int otx2_update_sq_stats(struct otx2_nic *pfvf, int qidx) in otx2_update_sq_stats() 113 void otx2_get_dev_stats(struct otx2_nic *pfvf) in otx2_get_dev_stats() 139 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_stats64() local 157 static int otx2_hw_set_mac_addr(struct otx2_nic *pfvf, u8 *mac) in otx2_hw_set_mac_addr() [all …]
|
H A D | qos.c | 26 static void otx2_qos_update_tx_netdev_queues(struct otx2_nic *pfvf) in otx2_qos_update_tx_netdev_queues() 71 static int otx2_qos_quantum_to_dwrr_weight(struct otx2_nic *pfvf, u32 quantum) in otx2_qos_quantum_to_dwrr_weight() 82 static void otx2_config_sched_shaping(struct otx2_nic *pfvf, in otx2_config_sched_shaping() 136 static void __otx2_qos_txschq_cfg(struct otx2_nic *pfvf, in __otx2_qos_txschq_cfg() 197 static int otx2_qos_txschq_set_parent_topology(struct otx2_nic *pfvf, in otx2_qos_txschq_set_parent_topology() 238 static void otx2_qos_free_hw_node_schq(struct otx2_nic *pfvf, in otx2_qos_free_hw_node_schq() 247 static void otx2_qos_free_hw_node(struct otx2_nic *pfvf, in otx2_qos_free_hw_node() 259 static void otx2_qos_free_hw_cfg(struct otx2_nic *pfvf, in otx2_qos_free_hw_cfg() 274 static void otx2_qos_sw_node_delete(struct otx2_nic *pfvf, in otx2_qos_sw_node_delete() 288 static void otx2_qos_free_sw_node_schq(struct otx2_nic *pfvf, in otx2_qos_free_sw_node_schq() [all …]
|
H A D | otx2_ethtool.c | 77 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_drvinfo() local 83 static void otx2_get_qset_strings(struct otx2_nic *pfvf, u8 **data, int qset) in otx2_get_qset_strings() 108 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_strings() local 135 static void otx2_get_qset_stats(struct otx2_nic *pfvf, in otx2_get_qset_stats() 165 static int otx2_get_phy_fec_stats(struct otx2_nic *pfvf) in otx2_get_phy_fec_stats() 186 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_ethtool_stats() local 241 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_sset_count() local 261 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_get_channels() local 274 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_set_channels() local 315 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_pauseparam() local [all …]
|
H A D | cn10k_macsec.c | 49 static int cn10k_ecb_aes_encrypt(struct otx2_nic *pfvf, u8 *sak, in cn10k_ecb_aes_encrypt() 139 static int cn10k_mcs_alloc_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_alloc_rsrc() 197 static void cn10k_mcs_free_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_free_rsrc() 237 static int cn10k_mcs_alloc_txsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_txsa() 242 static int cn10k_mcs_alloc_rxsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_rxsa() 247 static void cn10k_mcs_free_txsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_txsa() 252 static void cn10k_mcs_free_rxsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_rxsa() 257 static int cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_secy() 309 static int cn10k_mcs_write_rx_flowid(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_flowid() 355 static int cn10k_mcs_write_sc_cam(struct otx2_nic *pfvf, in cn10k_mcs_write_sc_cam() [all …]
|
H A D | otx2_devlink.c | 15 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_validate() local 39 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_set() local 54 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_get() local 73 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_ucast_flt_cnt_set() local 90 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_ucast_flt_cnt_get() local 102 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_ucast_flt_cnt_validate() local 149 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_devlink_eswitch_mode_get() local 163 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_devlink_eswitch_mode_set() local 197 int otx2_register_dl(struct otx2_nic *pfvf) in otx2_register_dl() 232 void otx2_unregister_dl(struct otx2_nic *pfvf) in otx2_unregister_dl()
|
H A D | otx2_flows.c | 33 static void otx2_clear_ntuple_flow_info(struct otx2_nic *pfvf, struct otx2_flow_config *flow_cfg) in otx2_clear_ntuple_flow_info() 40 static int otx2_free_ntuple_mcam_entries(struct otx2_nic *pfvf) in otx2_free_ntuple_mcam_entries() 67 int otx2_alloc_mcam_entries(struct otx2_nic *pfvf, u16 count) in otx2_alloc_mcam_entries() 159 int otx2_mcam_entry_init(struct otx2_nic *pfvf) in otx2_mcam_entry_init() 266 int otx2vf_mcam_flow_init(struct otx2_nic *pfvf) in otx2vf_mcam_flow_init() 457 static struct otx2_flow *otx2_find_flow(struct otx2_nic *pfvf, u32 location) in otx2_find_flow() 469 static void otx2_add_flow_to_list(struct otx2_nic *pfvf, struct otx2_flow *flow) in otx2_add_flow_to_list() 497 int otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_flow() 516 int otx2_get_all_flows(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_all_flows() 948 static int otx2_is_flow_rule_dmacfilter(struct otx2_nic *pfvf, in otx2_is_flow_rule_dmacfilter() [all …]
|
H A D | otx2_ptp.c | 51 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_hw_adjtime() local 117 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_hw_settime() local 234 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_tc_adjtime() local 326 struct otx2_nic *pfvf = ptp->nic; in otx2_sync_tstamp() local 382 int otx2_ptp_init(struct otx2_nic *pfvf) in otx2_ptp_init() 487 void otx2_ptp_destroy(struct otx2_nic *pfvf) in otx2_ptp_destroy() 502 int otx2_ptp_clock_index(struct otx2_nic *pfvf) in otx2_ptp_clock_index() 511 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns) in otx2_ptp_tstamp2time()
|
H A D | otx2_common.h | 169 struct otx2_nic *pfvf; member 603 static inline void otx2_setup_dev_hw_settings(struct otx2_nic *pfvf) in otx2_setup_dev_hw_settings() 750 static inline void __cn10k_aura_freeptr(struct otx2_nic *pfvf, u64 aura, in __cn10k_aura_freeptr() 784 struct otx2_nic *pfvf = dev; in cn10k_aura_freeptr() local 795 static inline u64 otx2_aura_allocptr(struct otx2_nic *pfvf, int aura) in otx2_aura_allocptr() 806 struct otx2_nic *pfvf = dev; in otx2_aura_freeptr() local 812 static inline int otx2_get_pool_idx(struct otx2_nic *pfvf, int type, int idx) in otx2_get_pool_idx() 917 static inline dma_addr_t otx2_dma_map_page(struct otx2_nic *pfvf, in otx2_dma_map_page() 931 static inline void otx2_dma_unmap_page(struct otx2_nic *pfvf, in otx2_dma_unmap_page() 939 static inline u16 otx2_get_smq_idx(struct otx2_nic *pfvf, u16 qidx) in otx2_get_smq_idx() [all …]
|
H A D | otx2_devlink.h | 13 struct otx2_nic *pfvf; member
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npa.c | 70 struct rvu_pfvf *pfvf; in rvu_npa_aq_enq_inst() local 212 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in npa_lf_hwctx_disable() local 309 static void npa_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in npa_ctx_free() 335 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npa_lf_alloc() local 441 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npa_lf_free() local 543 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npa_lf_teardown() local
|
H A D | rvu_sdp.c | 56 struct rvu_pfvf *pfvf; in rvu_sdp_init() local 97 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_set_sdp_chan_info() local
|
H A D | rvu_nix.c | 110 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in is_nixlf_attached() local 135 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_get_nixlf() local 156 struct rvu_pfvf *pfvf; in nix_get_struct_ptrs() local 333 struct rvu_pfvf *parent_pf, *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_init() local 483 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_deinit() local 587 struct rvu_pfvf *pfvf; in nix_bp_disable() local 652 struct rvu_pfvf *pfvf; in rvu_nix_get_bpid() local 733 struct rvu_pfvf *pfvf; in nix_bp_enable() local 900 static void nix_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in nix_ctx_free() 930 struct rvu_pfvf *pfvf, int nixlf, in nixlf_rss_ctx_init() [all …]
|
H A D | rvu_cn10k.c | 115 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_update_lmtaddr() local 152 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_lmtst_tbl_setup() local 256 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_reset_lmt_map_tbl() local
|
H A D | rvu_npc_fs.c | 1132 static int npc_update_rx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_rx_entry() 1193 static int npc_update_tx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_tx_entry() 1238 int nixlf, struct rvu_pfvf *pfvf, in npc_install_flow() 1404 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npc_install_flow() local 1602 struct rvu_pfvf *pfvf) in npc_update_dmac_value() 1633 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, target); in npc_mcam_enable_flows() local
|
H A D | rvu_debugfs.c | 823 struct rvu_pfvf *pfvf; in rvu_dbg_rvu_pf_cgx_map_display() local 894 static void print_npa_qsize(struct seq_file *m, struct rvu_pfvf *pfvf) in print_npa_qsize() 930 struct rvu_pfvf *pfvf; in rvu_dbg_qsize_display() local 1134 struct rvu_pfvf *pfvf; in rvu_dbg_npa_ctx_display() local 1217 struct rvu_pfvf *pfvf; in write_npa_ctx() local 1616 struct rvu_pfvf *pfvf; in rvu_dbg_nix_tm_tree_display() local 1659 struct rvu_pfvf *pfvf; in rvu_dbg_nix_tm_tree_write() local 1916 struct rvu_pfvf *pfvf; in rvu_dbg_nix_tm_topo_write() local 2215 struct rvu_pfvf *pfvf; in rvu_dbg_nix_queue_ctx_display() local 2298 struct rvu_pfvf *pfvf; in write_nix_queue_ctx() local [all …]
|
H A D | rvu_npc_hash.c | 1565 struct rvu_pfvf *pfvf; in rvu_npc_exact_mac_addr_reset() local 1599 struct rvu_pfvf *pfvf; in rvu_npc_exact_mac_addr_update() local 1679 struct rvu_pfvf *pfvf; in rvu_npc_exact_mac_addr_add() local 1741 struct rvu_pfvf *pfvf; in rvu_npc_exact_mac_addr_set() local
|
H A D | rvu_cpt.c | 702 struct rvu_pfvf *pfvf; in validate_and_update_reg_offset() local
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | smt.h | 60 u16 pfvf; member
|
H A D | smt.c | 209 static struct smt_entry *t4_smt_alloc_switching(struct adapter *adap, u16 pfvf, in t4_smt_alloc_switching()
|
/linux/drivers/scsi/cxgbi/ |
H A D | libcxgbi.h | 491 unsigned int pfvf; member
|