| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| 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 | cn10k_macsec.c | 49 static int cn10k_ecb_aes_encrypt(struct otx2_nic *pfvf, const u8 *sak, in cn10k_ecb_aes_encrypt() 110 static int cn10k_mcs_alloc_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_alloc_rsrc() 168 static void cn10k_mcs_free_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_free_rsrc() 209 static int cn10k_mcs_alloc_txsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_txsa() 214 static int cn10k_mcs_alloc_rxsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_rxsa() 219 static void cn10k_mcs_free_txsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_txsa() 224 static void cn10k_mcs_free_rxsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_rxsa() 229 static int cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_secy() 281 static int cn10k_mcs_write_rx_flowid(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_flowid() 327 static int cn10k_mcs_write_sc_cam(struct otx2_nic *pfvf, in cn10k_mcs_write_sc_cam() [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_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_mcam_pfl_info_get(struct otx2_nic *pfvf, u16 *x4_slots, u8 *kw_type) in otx2_mcam_pfl_info_get() 95 static int otx2_get_dft_rl_idx(struct otx2_nic *pfvf, u16 *mcam_idx) in otx2_get_dft_rl_idx() 131 static int otx2_free_ntuple_mcam_entries(struct otx2_nic *pfvf) in otx2_free_ntuple_mcam_entries() 158 int otx2_alloc_mcam_entries(struct otx2_nic *pfvf, u16 count) in otx2_alloc_mcam_entries() 286 int otx2_mcam_entry_init(struct otx2_nic *pfvf) in otx2_mcam_entry_init() 428 int otx2vf_mcam_flow_init(struct otx2_nic *pfvf) in otx2vf_mcam_flow_init() 619 static struct otx2_flow *otx2_find_flow(struct otx2_nic *pfvf, u32 location) in otx2_find_flow() 631 static void otx2_add_flow_to_list(struct otx2_nic *pfvf, struct otx2_flow *flow) in otx2_add_flow_to_list() 659 int otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_flow() [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 | cn20k.c | 245 static u8 cn20k_aura_bpid_idx(struct otx2_nic *pfvf, int aura_id) in cn20k_aura_bpid_idx() 520 static int cn20k_aura_aq_init(struct otx2_nic *pfvf, int aura_id, in cn20k_aura_aq_init() 597 static int cn20k_pool_aq_init(struct otx2_nic *pfvf, u16 pool_id, in cn20k_pool_aq_init() 672 struct otx2_nic *pfvf = dev; in cn20k_sq_aq_init() local 715 void cn20k_init(struct otx2_nic *pfvf) in cn20k_init()
|
| 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 | 1273 int otx2_reset_mac_stats(struct otx2_nic *pfvf) in otx2_reset_mac_stats() 1827 static bool otx2_promisc_use_mce_list(struct otx2_nic *pfvf) in otx2_promisc_use_mce_list() 1881 static void otx2_set_irq_coalesce(struct otx2_nic *pfvf) in otx2_set_irq_coalesce() 1893 struct otx2_nic *pfvf; in otx2_dim_work() local 2378 static int otx2_config_hw_rx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_rx_tstamp() 2410 static int otx2_config_hw_tx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_tx_tstamp() 2445 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_config_hwtstamp_get() local 2456 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()
|
| H A D | otx2_tc.c | 940 static void otx2_destroy_tc_flow_list(struct otx2_nic *pfvf) in otx2_destroy_tc_flow_list()
|
| /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 247 struct rvu_pfvf *pfvf; in rvu_rep_install_rx_rule() local 288 struct rvu_pfvf *pfvf; in rvu_rep_install_tx_rule() local 423 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_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 265 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_reset_lmt_map_tbl() local
|
| H A D | rvu_npc.c | 68 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind() argument 133 struct rvu_pfvf *pfvf; in npc_get_ucast_mcam_index() local 482 struct rvu_pfvf *pfvf; in npc_fixup_vf_rule() local 721 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_ucast_entry() local 785 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); rvu_npc_install_promisc_entry() local 920 struct rvu_pfvf *pfvf; rvu_npc_install_bcast_match_entry() local 998 struct rvu_pfvf *pfvf; rvu_npc_install_allmulti_entry() local 1161 npc_update_rx_action_with_alg_idx(struct rvu * rvu,struct nix_rx_action action,struct rvu_pfvf * pfvf,int mcam_index,int blkaddr,int alg_idx) npc_update_rx_action_with_alg_idx() argument 1199 struct rvu_pfvf *pfvf; rvu_npc_update_flowkey_alg_idx() local 1288 struct rvu_pfvf *pfvf; npc_enadis_default_mce_entry() local 1337 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); npc_enadis_default_entries() local 1432 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); rvu_npc_disable_mcam_entries() local 3576 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); rvu_mbox_handler_npc_mcam_write_entry() local 4043 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); rvu_mbox_handler_npc_mcam_alloc_and_write_entry() local 4233 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); rvu_npc_set_parse_mode() local 4350 struct rvu_pfvf *pfvf; rvu_mbox_handler_npc_read_base_steer_rule() local [all...] |
| H A D | rvu_npc_fs.c | 1328 static int npc_update_rx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_rx_entry() 1389 static int npc_update_tx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_tx_entry() 1434 int nixlf, struct rvu_pfvf *pfvf, in npc_install_flow() 1745 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npc_install_flow() local 1988 struct rvu_pfvf *pfvf) in npc_update_dmac_value() 2042 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 | 1367 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_npc_cn20k_mcam_write_entry() local 1438 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_npc_cn20k_mcam_alloc_and_write_entry() local 1518 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npc_cn20k_read_base_steer_rule() local 4463 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
|