| /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() 141 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_stats64() local 159 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 | 80 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_drvinfo() local 86 static void otx2_get_qset_strings(struct otx2_nic *pfvf, u8 **data, int qset) in otx2_get_qset_strings() 111 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_strings() local 138 static void otx2_get_qset_stats(struct otx2_nic *pfvf, in otx2_get_qset_stats() 168 static int otx2_get_phy_fec_stats(struct otx2_nic *pfvf) in otx2_get_phy_fec_stats() 189 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_ethtool_stats() local 244 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_sset_count() local 264 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_get_channels() local 277 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_set_channels() local 318 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_pauseparam() local [all …]
|
| H A D | qos_sq.c | 19 static void otx2_qos_aura_pool_free(struct otx2_nic *pfvf, int pool_id) in otx2_qos_aura_pool_free() 33 static int otx2_qos_sq_aura_pool_init(struct otx2_nic *pfvf, int qidx) in otx2_qos_sq_aura_pool_init() 116 static void otx2_qos_sq_free_sqbs(struct otx2_nic *pfvf, int qidx) in otx2_qos_sq_free_sqbs() 151 static void otx2_qos_sqb_flush(struct otx2_nic *pfvf, int qidx) in otx2_qos_sqb_flush() 166 static int otx2_qos_ctx_disable(struct otx2_nic *pfvf, u16 qidx, int aura_id) in otx2_qos_ctx_disable() 221 int otx2_qos_get_qid(struct otx2_nic *pfvf) in otx2_qos_get_qid() 231 void otx2_qos_free_qid(struct otx2_nic *pfvf, int qidx) in otx2_qos_free_qid() 236 int otx2_qos_enable_sq(struct otx2_nic *pfvf, int qidx) in otx2_qos_enable_sq() 260 static int otx2_qos_nix_npa_ndc_sync(struct otx2_nic *pfvf) in otx2_qos_nix_npa_ndc_sync() 280 void otx2_qos_disable_sq(struct otx2_nic *pfvf, int qidx) in otx2_qos_disable_sq()
|
| H A D | otx2_txrx.c | 57 static int otx2_nix_cq_op_status(struct otx2_nic *pfvf, in otx2_nix_cq_op_status() 105 static void otx2_xdp_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_xdp_snd_pkt_handler() 125 static void otx2_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_snd_pkt_handler() 168 static void otx2_set_rxtstamp(struct otx2_nic *pfvf, in otx2_set_rxtstamp() 186 static bool otx2_skb_add_frag(struct otx2_nic *pfvf, struct sk_buff *skb, in otx2_skb_add_frag() 224 static void otx2_set_rxhash(struct otx2_nic *pfvf, in otx2_set_rxhash() 246 static void otx2_free_rcv_seg(struct otx2_nic *pfvf, struct nix_cqe_rx_s *cqe, in otx2_free_rcv_seg() 266 static bool otx2_check_rcv_errors(struct otx2_nic *pfvf, in otx2_check_rcv_errors() 330 static void otx2_rcv_pkt_handler(struct otx2_nic *pfvf, in otx2_rcv_pkt_handler() 393 static int otx2_rx_napi_handler(struct otx2_nic *pfvf, in otx2_rx_napi_handler() [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_xsk.c | 17 int otx2_xsk_pool_alloc_buf(struct otx2_nic *pfvf, struct otx2_pool *pool, in otx2_xsk_pool_alloc_buf() 36 static int otx2_xsk_ctx_disable(struct otx2_nic *pfvf, u16 qidx, int aura_id) in otx2_xsk_ctx_disable() 91 static void otx2_clean_up_rq(struct otx2_nic *pfvf, int qidx) in otx2_clean_up_rq() 194 void otx2_attach_xsk_buff(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, int qidx) in otx2_attach_xsk_buff() 200 static void otx2_xsk_sq_append_pkt(struct otx2_nic *pfvf, u64 iova, int len, in otx2_xsk_sq_append_pkt() 228 void otx2_zc_napi_handler(struct otx2_nic *pfvf, struct xsk_buff_pool *pool, in otx2_zc_napi_handler()
|
| H A D | cn10k.h | 13 static inline int mtu_to_dwrr_weight(struct otx2_nic *pfvf, int mtu) in mtu_to_dwrr_weight()
|
| H A D | otx2_pf.c | 1276 int otx2_reset_mac_stats(struct otx2_nic *pfvf) in otx2_reset_mac_stats() 1830 static bool otx2_promisc_use_mce_list(struct otx2_nic *pfvf) in otx2_promisc_use_mce_list() 1884 static void otx2_set_irq_coalesce(struct otx2_nic *pfvf) in otx2_set_irq_coalesce() 1896 struct otx2_nic *pfvf; in otx2_dim_work() local 2382 static int otx2_config_hw_rx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_rx_tstamp() 2414 static int otx2_config_hw_tx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_tx_tstamp() 2449 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_config_hwtstamp_get() local 2460 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_config_hwtstamp_set() local
|
| H A D | cn10k_ipsec.h | 251 otx2_sqe_add_sg_ipsec(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, in otx2_sqe_add_sg_ipsec()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_switch.c | 13 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_switch_enable_lbk_link() local 27 struct rvu_pfvf *pfvf; in rvu_switch_install_rx_rule() local 55 struct rvu_pfvf *pfvf; in rvu_switch_install_tx_rule() local
|
| H A D | rvu_rep.c | 38 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, event->pcifunc); in rvu_rep_up_notify() local 239 struct rvu_pfvf *pfvf; in rvu_rep_install_rx_rule() local 280 struct rvu_pfvf *pfvf; in rvu_rep_install_tx_rule() local 415 struct rvu_pfvf *pfvf; in rvu_rep_pf_init() 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 334 struct rvu_pfvf *parent_pf, *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_init() local 484 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_deinit() local 588 struct rvu_pfvf *pfvf; in nix_bp_disable() local 653 struct rvu_pfvf *pfvf; in rvu_nix_get_bpid() local 734 struct rvu_pfvf *pfvf; in nix_bp_enable() local 901 static void nix_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in nix_ctx_free() 931 struct rvu_pfvf *pfvf, int nixlf, in nixlf_rss_ctx_init() [all …]
|
| H A D | rvu_npc.c | 67 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind() 132 struct rvu_pfvf *pfvf; in npc_get_ucast_mcam_index() local 481 struct rvu_pfvf *pfvf; in npc_fixup_vf_rule() local 707 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_ucast_entry() local 771 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_promisc_entry() local 910 struct rvu_pfvf *pfvf; in rvu_npc_install_bcast_match_entry() local 988 struct rvu_pfvf *pfvf; in rvu_npc_install_allmulti_entry() local 1160 struct rvu_pfvf *pfvf, int mcam_index, int blkaddr, in npc_update_rx_action_with_alg_idx() 1198 struct rvu_pfvf *pfvf; in rvu_npc_update_flowkey_alg_idx() local 1287 struct rvu_pfvf *pfvf; in npc_enadis_default_mce_entry() local [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 | 1323 static int npc_update_rx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_rx_entry() 1384 static int npc_update_tx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_tx_entry() 1429 int nixlf, struct rvu_pfvf *pfvf, in npc_install_flow() 1730 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npc_install_flow() local 1973 struct rvu_pfvf *pfvf) in npc_update_dmac_value() 2027 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, target); in npc_mcam_enable_flows() local
|
| H A D | rvu_cgx.c | 111 struct rvu_pfvf *pfvf = &rvu->pf[pf]; in rvu_map_cgx_nix_block() local 685 struct rvu_pfvf *pfvf; in rvu_mbox_handler_cgx_mac_addr_set() local 775 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_get() local 825 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_cgx_ptp_rx_cfg() local 1128 struct rvu_pfvf *parent_pf, *pfvf; in rvu_cgx_start_stop_io() local
|
| H A D | mcs_rvu_if.c | 94 struct mcs_pfvf *pfvf; in mcs_add_intr_wq_entry() local 184 struct mcs_pfvf *pfvf; in rvu_mbox_handler_mcs_intr_cfg() 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/net/ethernet/marvell/octeontx2/af/cn20k/ |
| H A D | npc.c | 1347 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_npc_cn20k_mcam_write_entry() local 1418 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_npc_cn20k_mcam_alloc_and_write_entry() local 1498 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npc_cn20k_read_base_steer_rule() local 4301 struct rvu_pfvf *pfvf; in npc_cn20k_dft_rules_alloc() local
|
| /linux/drivers/scsi/cxgbi/ |
| H A D | libcxgbi.h | 491 unsigned int pfvf; member
|