/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_devlink.h | 13 struct otx2_nic *pfvf; member in struct:otx2_devlink
|
H A D | cn10k.h | 13 static inline int mtu_to_dwrr_weight(struct otx2_nic *pfvf, int mtu) argument [all...] |
H A D | otx2_dmac_flt.c | 89 static int otx2_dmacflt_do_remove(struct otx2_nic *pfvf, const u8 *mac, argument
|
H A D | otx2_devlink.c | 15 struct otx2_nic *pfvf = otx2_dl->pfvf; local 38 struct otx2_nic *pfvf = otx2_dl->pfvf; local 52 struct otx2_nic *pfvf local 82 otx2_register_dl(struct otx2_nic *pfvf) argument 116 otx2_unregister_dl(struct otx2_nic *pfvf) argument [all...] |
H A D | qos_sq.c | 19 static void otx2_qos_aura_pool_free(struct otx2_nic *pfvf, int pool_id) argument 33 static int otx2_qos_sq_aura_pool_init(struct otx2_nic *pfvf, int qidx) argument 116 otx2_qos_sq_free_sqbs(struct otx2_nic *pfvf, int qidx) argument 151 otx2_qos_sqb_flush(struct otx2_nic *pfvf, int qidx) argument 165 otx2_qos_ctx_disable(struct otx2_nic *pfvf, u16 qidx, int aura_id) argument 220 otx2_qos_get_qid(struct otx2_nic *pfvf) argument 230 otx2_qos_free_qid(struct otx2_nic *pfvf, int qidx) argument 235 otx2_qos_enable_sq(struct otx2_nic *pfvf, int qidx) argument 259 otx2_qos_disable_sq(struct otx2_nic *pfvf, int qidx) argument [all...] |
H A D | otx2_dcbnl.c | 10 static int otx2_check_pfc_config(struct otx2_nic *pfvf) argument 28 int otx2_pfc_txschq_config(struct otx2_nic *pfvf) argument 58 static int otx2_pfc_txschq_alloc_one(struct otx2_nic *pfvf, u argument 103 otx2_pfc_txschq_alloc(struct otx2_nic *pfvf) argument 126 otx2_pfc_txschq_stop_one(struct otx2_nic *pfvf, u8 prio) argument 139 otx2_pfc_update_sq_smq_mapping(struct otx2_nic *pfvf, int prio) argument 197 otx2_pfc_txschq_update(struct otx2_nic *pfvf) argument 264 otx2_pfc_txschq_stop(struct otx2_nic *pfvf) argument 286 otx2_config_priority_flow_ctrl(struct otx2_nic *pfvf) argument 325 otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx, bool pfc_enable) argument 391 struct otx2_nic *pfvf = netdev_priv(dev); local 401 struct otx2_nic *pfvf = netdev_priv(dev); local 465 struct otx2_nic *pfvf = netdev_priv(dev); local [all...] |
H A D | otx2_ptp.c | 51 struct otx2_nic *pfvf = ptp->nic; local 117 struct otx2_nic *pfvf = ptp->nic; local 234 struct otx2_nic *pfvf = ptp->nic; local 326 struct otx2_nic *pfvf = ptp->nic; local 382 otx2_ptp_init(struct otx2_nic *pfvf) argument 487 otx2_ptp_destroy(struct otx2_nic *pfvf) argument 502 otx2_ptp_clock_index(struct otx2_nic *pfvf) argument 511 otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns) argument [all...] |
H A D | cn10k.c | 26 int cn10k_lmtst_init(struct otx2_nic *pfvf) argument 78 struct otx2_nic *pfvf = dev; local 112 struct otx2_nic *pfvf = dev; local 141 struct otx2_nic *pfvf = dev; local 163 cn10k_free_all_ipolicers(struct otx2_nic *pfvf) argument 188 cn10k_alloc_leaf_profile(struct otx2_nic *pfvf, u16 *leaf) argument 221 cn10k_alloc_matchall_ipolicer(struct otx2_nic *pfvf) argument 301 cn10k_map_unmap_rq_policer(struct otx2_nic *pfvf, int rq_idx, u16 policer, bool map) argument 328 cn10k_free_leaf_profile(struct otx2_nic *pfvf, u16 leaf) argument 342 cn10k_free_matchall_ipolicer(struct otx2_nic *pfvf) argument 360 cn10k_set_ipolicer_rate(struct otx2_nic *pfvf, u16 profile, u32 burst, u64 rate, bool pps) argument 464 cn10k_set_matchall_ipolicer_rate(struct otx2_nic *pfvf, u32 burst, u64 rate) argument [all...] |
H A D | otx2_flows.c | 35 static void otx2_clear_ntuple_flow_info(struct otx2_nic *pfvf, struct otx2_flow_config *flow_cfg) argument 42 static int otx2_free_ntuple_mcam_entries(struct otx2_nic *pfvf) argument 74 otx2_alloc_mcam_entries(struct otx2_nic *pfvf, u16 count) argument 164 otx2_mcam_entry_init(struct otx2_nic *pfvf) argument 261 otx2vf_mcam_flow_init(struct otx2_nic *pfvf) argument 449 otx2_find_flow(struct otx2_nic *pfvf, u32 location) argument 461 otx2_add_flow_to_list(struct otx2_nic *pfvf, struct otx2_flow *flow) argument 489 otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, u32 location) argument 508 otx2_get_all_flows(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, u32 *rule_locs) argument 940 otx2_is_flow_rule_dmacfilter(struct otx2_nic *pfvf, struct ethtool_rx_flow_spec *fsp) argument 966 otx2_add_flow_msg(struct otx2_nic *pfvf, struct otx2_flow *flow) argument 1052 otx2_add_flow_with_pfmac(struct otx2_nic *pfvf, struct otx2_flow *flow) argument 1083 otx2_add_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc) argument 1206 otx2_remove_flow_msg(struct otx2_nic *pfvf, u16 entry, bool all) argument 1228 otx2_update_rem_pfmac(struct otx2_nic *pfvf, int req) argument 1259 otx2_remove_flow(struct otx2_nic *pfvf, u32 location) argument 1310 otx2_rss_ctx_flow_del(struct otx2_nic *pfvf, int ctx_id) argument 1326 otx2_destroy_ntuple_flows(struct otx2_nic *pfvf) argument 1359 otx2_destroy_mcam_flows(struct otx2_nic *pfvf) argument 1401 otx2_install_rxvlan_offload_flow(struct otx2_nic *pfvf) argument 1430 otx2_delete_rxvlan_offload_flow(struct otx2_nic *pfvf) argument 1514 otx2_dmacflt_update_pfmac_flow(struct otx2_nic *pfvf) argument [all...] |
H A D | cn10k_macsec.c | 49 static int cn10k_ecb_aes_encrypt(struct otx2_nic *pfvf, u8 *sak, argument 141 static int cn10k_mcs_alloc_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, argument 199 static void cn10k_mcs_free_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, argument 239 cn10k_mcs_alloc_txsa(struct otx2_nic *pfvf, u16 *hw_sa_id) argument 244 cn10k_mcs_alloc_rxsa(struct otx2_nic *pfvf, u16 *hw_sa_id) argument 249 cn10k_mcs_free_txsa(struct otx2_nic *pfvf, u16 hw_sa_id) argument 254 cn10k_mcs_free_rxsa(struct otx2_nic *pfvf, u16 hw_sa_id) argument 259 cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf, struct macsec_secy *secy, u8 hw_secy_id) argument 311 cn10k_mcs_write_rx_flowid(struct otx2_nic *pfvf, struct cn10k_mcs_rxsc *rxsc, u8 hw_secy_id) argument 357 cn10k_mcs_write_sc_cam(struct otx2_nic *pfvf, struct cn10k_mcs_rxsc *rxsc, u8 hw_secy_id) argument 384 cn10k_mcs_write_keys(struct otx2_nic *pfvf, struct macsec_secy *secy, struct mcs_sa_plcy_write_req *req, u8 *sak, u8 *salt, ssci_t ssci) argument 421 cn10k_mcs_write_rx_sa_plcy(struct otx2_nic *pfvf, struct macsec_secy *secy, struct cn10k_mcs_rxsc *rxsc, u8 assoc_num, bool sa_in_use) argument 470 cn10k_mcs_write_rx_sa_pn(struct otx2_nic *pfvf, struct cn10k_mcs_rxsc *rxsc, u8 assoc_num, u64 next_pn) argument 497 cn10k_mcs_write_tx_secy(struct otx2_nic *pfvf, struct macsec_secy *secy, struct cn10k_mcs_txsc *txsc) argument 579 cn10k_mcs_write_tx_flowid(struct otx2_nic *pfvf, struct macsec_secy *secy, struct cn10k_mcs_txsc *txsc) argument 625 cn10k_mcs_link_tx_sa2sc(struct otx2_nic *pfvf, struct macsec_secy *secy, struct cn10k_mcs_txsc *txsc, u8 sa_num, bool sa_active) argument 659 cn10k_mcs_write_tx_sa_plcy(struct otx2_nic *pfvf, struct macsec_secy *secy, struct cn10k_mcs_txsc *txsc, u8 assoc_num) argument 695 cn10k_write_tx_sa_pn(struct otx2_nic *pfvf, struct cn10k_mcs_txsc *txsc, u8 assoc_num, u64 next_pn) argument 722 cn10k_mcs_ena_dis_flowid(struct otx2_nic *pfvf, u16 hw_flow_id, bool enable, enum mcs_direction dir) argument 748 cn10k_mcs_sa_stats(struct otx2_nic *pfvf, u8 hw_sa_id, struct mcs_sa_stats *rsp_p, enum mcs_direction dir, bool clear) argument 803 cn10k_mcs_sc_stats(struct otx2_nic *pfvf, u8 hw_sc_id, struct mcs_sc_stats *rsp_p, enum mcs_direction dir, bool clear) argument 858 cn10k_mcs_secy_stats(struct otx2_nic *pfvf, u8 hw_secy_id, struct mcs_secy_stats *rsp_p, enum mcs_direction dir, bool clear) argument 913 cn10k_mcs_create_txsc(struct otx2_nic *pfvf) argument 960 cn10k_mcs_delete_txsc(struct otx2_nic *pfvf, struct cn10k_mcs_txsc *txsc) argument 986 cn10k_mcs_create_rxsc(struct otx2_nic *pfvf) argument 1016 cn10k_mcs_delete_rxsc(struct otx2_nic *pfvf, struct cn10k_mcs_rxsc *rxsc) argument 1038 cn10k_mcs_secy_tx_cfg(struct otx2_nic *pfvf, struct macsec_secy *secy, struct cn10k_mcs_txsc *txsc, struct macsec_tx_sa *sw_tx_sa, u8 sa_num) argument 1057 cn10k_mcs_secy_rx_cfg(struct otx2_nic *pfvf, struct macsec_secy *secy, u8 hw_secy_id) argument 1090 cn10k_mcs_disable_rxscs(struct otx2_nic *pfvf, struct macsec_secy *secy, bool delete) argument 1120 cn10k_mcs_sync_stats(struct otx2_nic *pfvf, struct macsec_secy *secy, struct cn10k_mcs_txsc *txsc) argument 1174 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1198 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1216 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1244 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1279 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1298 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1343 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1378 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1398 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1432 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1451 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1469 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1512 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1548 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1571 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1607 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1628 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1651 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1693 struct otx2_nic *pfvf = macsec_netdev_priv(ctx->netdev); local 1740 cn10k_handle_mcs_event(struct otx2_nic *pfvf, struct mcs_intr_info *event) argument 1767 cn10k_mcs_init(struct otx2_nic *pfvf) argument 1807 cn10k_mcs_free(struct otx2_nic *pfvf) argument [all...] |
H A D | otx2_txrx.c | 35 static int otx2_nix_cq_op_status(struct otx2_nic *pfvf, argument 83 static dma_addr_t otx2_dma_map_skb_frag(struct otx2_nic *pfvf, argument 104 static void otx2_dma_unmap_skb_frags(struct otx2_nic *pfvf, struct sg_list *sg) argument 115 static void otx2_xdp_snd_pkt_handler(struct otx2_nic *pfvf, argument 133 otx2_snd_pkt_handler(struct otx2_nic *pfvf, struct otx2_cq_queue *cq, struct otx2_snd_queue *sq, struct nix_cqe_tx_s *cqe, int budget, int *tx_pkts, int *tx_bytes) argument 176 otx2_set_rxtstamp(struct otx2_nic *pfvf, struct sk_buff *skb, void *data) argument 194 otx2_skb_add_frag(struct otx2_nic *pfvf, struct sk_buff *skb, u64 iova, int len, struct nix_rx_parse_s *parse, int qidx) argument 232 otx2_set_rxhash(struct otx2_nic *pfvf, struct nix_cqe_rx_s *cqe, struct sk_buff *skb) argument 254 otx2_free_rcv_seg(struct otx2_nic *pfvf, struct nix_cqe_rx_s *cqe, int qidx) argument 274 otx2_check_rcv_errors(struct otx2_nic *pfvf, struct nix_cqe_rx_s *cqe, int qidx) argument 338 otx2_rcv_pkt_handler(struct otx2_nic *pfvf, struct napi_struct *napi, struct otx2_cq_queue *cq, struct nix_cqe_rx_s *cqe, bool *need_xdp_flush) argument 388 otx2_rx_napi_handler(struct otx2_nic *pfvf, struct napi_struct *napi, struct otx2_cq_queue *cq, int budget) argument 433 struct otx2_nic *pfvf = dev; local 447 otx2_tx_napi_handler(struct otx2_nic *pfvf, struct otx2_cq_queue *cq, int budget) argument 511 otx2_adjust_adaptive_coalese(struct otx2_nic *pfvf, struct otx2_cq_poll *cq_poll) argument 537 struct otx2_nic *pfvf; local 614 otx2_sqe_add_sg(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, struct sk_buff *skb, int num_segs, int *offset) argument 659 otx2_sqe_add_ext(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, struct sk_buff *skb, int *offset) argument 750 otx2_sqe_add_hdr(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, struct nix_sqe_hdr_s *sqe_hdr, struct sk_buff *skb, u16 qidx) argument 798 otx2_dma_map_tso_skb(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, struct sk_buff *skb, int sqe, int hdr_len) argument 880 otx2_sq_append_tso(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, struct sk_buff *skb, u16 qidx) argument 965 is_hw_tso_supported(struct otx2_nic *pfvf, struct sk_buff *skb) argument 990 otx2_get_sqe_count(struct otx2_nic *pfvf, struct sk_buff *skb) argument 1078 otx2_set_txtstamp(struct otx2_nic *pfvf, struct sk_buff *skb, struct otx2_snd_queue *sq, int *offset) argument 1145 struct otx2_nic *pfvf = netdev_priv(netdev); local 1210 otx2_cleanup_rx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq, int qidx) argument 1248 otx2_cleanup_tx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq) argument 1294 otx2_rxtx_enable(struct otx2_nic *pfvf, bool enable) argument 1315 otx2_free_pending_sqe(struct otx2_nic *pfvf) argument 1367 otx2_xdp_sq_append_pkt(struct otx2_nic *pfvf, u64 iova, int len, u16 qidx) argument 1400 otx2_xdp_rcv_pkt_handler(struct otx2_nic *pfvf, struct bpf_prog *prog, struct nix_cqe_rx_s *cqe, struct otx2_cq_queue *cq, bool *need_xdp_flush) argument [all...] |
H A D | otx2_ethtool.c | 77 struct otx2_nic *pfvf = netdev_priv(netdev); local 83 static void otx2_get_qset_strings(struct otx2_nic *pfvf, u8 **data, int qset) argument 112 struct otx2_nic *pfvf local 150 otx2_get_qset_stats(struct otx2_nic *pfvf, struct ethtool_stats *stats, u64 **data) argument 180 otx2_get_phy_fec_stats(struct otx2_nic *pfvf) argument 201 struct otx2_nic *pfvf = netdev_priv(netdev); local 256 struct otx2_nic *pfvf = netdev_priv(netdev); local 276 struct otx2_nic *pfvf = netdev_priv(dev); local 289 struct otx2_nic *pfvf = netdev_priv(dev); local 330 struct otx2_nic *pfvf = netdev_priv(netdev); local 355 struct otx2_nic *pfvf = netdev_priv(netdev); local 381 struct otx2_nic *pfvf = netdev_priv(netdev); local 397 struct otx2_nic *pfvf = netdev_priv(netdev); local 465 struct otx2_nic *pfvf = netdev_priv(netdev); local 489 struct otx2_nic *pfvf = netdev_priv(netdev); local 572 otx2_get_rss_hash_opts(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc) argument 622 otx2_set_rss_hash_opts(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc) argument 734 struct otx2_nic *pfvf = netdev_priv(dev); local 767 struct otx2_nic *pfvf = netdev_priv(dev); local 792 struct otx2_nic *pfvf = netdev_priv(netdev); local 805 otx2_rss_ctx_delete(struct otx2_nic *pfvf, int ctx_id) argument 816 otx2_rss_ctx_create(struct otx2_nic *pfvf, u32 *rss_context) argument 843 struct otx2_nic *pfvf = netdev_priv(dev); local 894 struct otx2_nic *pfvf = netdev_priv(dev); local 934 struct otx2_nic *pfvf = netdev_priv(netdev); local 941 struct otx2_nic *pfvf = netdev_priv(netdev); local 948 struct otx2_nic *pfvf = netdev_priv(netdev); local 959 struct otx2_nic *pfvf = netdev_priv(netdev); local 983 otx2_get_fwdata(struct otx2_nic *pfvf) argument 1011 struct otx2_nic *pfvf = netdev_priv(netdev); local 1038 struct otx2_nic *pfvf = netdev_priv(netdev); local 1190 struct otx2_nic *pfvf = netdev_priv(netdev); local 1281 struct otx2_nic *pfvf = netdev_priv(netdev); local 1422 struct otx2_nic *pfvf = netdev_priv(netdev); local [all...] |
H A D | otx2_common.c | 45 void otx2_update_lmac_stats(struct otx2_nic *pfvf) argument 19 otx2_nix_rq_op_stats(struct queue_stats *stats, struct otx2_nic *pfvf, int qidx) argument 32 otx2_nix_sq_op_stats(struct queue_stats *stats, struct otx2_nic *pfvf, int qidx) argument 63 otx2_update_lmac_fec_stats(struct otx2_nic *pfvf) argument 76 otx2_update_rq_stats(struct otx2_nic *pfvf, int qidx) argument 87 otx2_update_sq_stats(struct otx2_nic *pfvf, int qidx) argument 103 otx2_get_dev_stats(struct otx2_nic *pfvf) argument 129 struct otx2_nic *pfvf = netdev_priv(netdev); local 147 otx2_hw_set_mac_addr(struct otx2_nic *pfvf, u8 *mac) argument 166 otx2_hw_get_mac_addr(struct otx2_nic *pfvf, struct net_device *netdev) argument 201 struct otx2_nic *pfvf = netdev_priv(netdev); local 224 otx2_hw_set_mtu(struct otx2_nic *pfvf, int mtu) argument 250 otx2_config_pause_frm(struct otx2_nic *pfvf) argument 276 otx2_set_flowkey_cfg(struct otx2_nic *pfvf) argument 310 otx2_set_rss_table(struct otx2_nic *pfvf, int ctx_id) argument 352 otx2_set_rss_key(struct otx2_nic *pfvf) argument 375 otx2_rss_init(struct otx2_nic *pfvf) argument 454 otx2_setup_segmentation(struct otx2_nic *pfvf) argument 509 otx2_config_irq_coalescing(struct otx2_nic *pfvf, int qidx) argument 523 otx2_alloc_pool_buf(struct otx2_nic *pfvf, struct otx2_pool *pool, dma_addr_t *dma) argument 541 __otx2_alloc_rbuf(struct otx2_nic *pfvf, struct otx2_pool *pool, dma_addr_t *dma) argument 563 otx2_alloc_rbuf(struct otx2_nic *pfvf, struct otx2_pool *pool, dma_addr_t *dma) argument 574 otx2_alloc_buffer(struct otx2_nic *pfvf, struct otx2_cq_queue *cq, dma_addr_t *dma) argument 584 struct otx2_nic *pfvf = netdev_priv(netdev); local 592 struct otx2_nic *pfvf = netdev_priv(netdev); local 605 otx2_txschq_config(struct otx2_nic *pfvf, int lvl, int prio, bool txschq_for_pfc) argument 712 otx2_smq_flush(struct otx2_nic *pfvf, int smq) argument 736 otx2_txsch_alloc(struct otx2_nic *pfvf) argument 771 otx2_txschq_free_one(struct otx2_nic *pfvf, u16 lvl, u16 schq) argument 799 otx2_txschq_stop(struct otx2_nic *pfvf) argument 816 otx2_sqb_flush(struct otx2_nic *pfvf) argument 853 otx2_rq_init(struct otx2_nic *pfvf, u16 qidx, u16 lpb_aura) argument 888 struct otx2_nic *pfvf = dev; local 923 otx2_sq_init(struct otx2_nic *pfvf, u16 qidx, u16 sqb_aura) argument 985 otx2_cq_init(struct otx2_nic *pfvf, u16 qidx) argument 1079 struct otx2_nic *pfvf; local 1094 otx2_config_nix_queues(struct otx2_nic *pfvf) argument 1140 otx2_config_nix(struct otx2_nic *pfvf) argument 1185 otx2_sq_free_sqbs(struct otx2_nic *pfvf) argument 1211 otx2_free_bufs(struct otx2_nic *pfvf, struct otx2_pool *pool, u64 iova, int size) argument 1231 otx2_free_aura_ptr(struct otx2_nic *pfvf, int type) argument 1263 otx2_aura_pool_free(struct otx2_nic *pfvf) argument 1282 otx2_aura_init(struct otx2_nic *pfvf, int aura_id, int pool_id, int numptrs) argument 1359 otx2_pool_init(struct otx2_nic *pfvf, u16 pool_id, int stack_pages, int numptrs, int buf_size, int type) argument 1426 otx2_sq_aura_pool_init(struct otx2_nic *pfvf) argument 1498 otx2_rq_aura_pool_init(struct otx2_nic *pfvf) argument 1548 otx2_config_npa(struct otx2_nic *pfvf) argument 1601 otx2_attach_npa_nix(struct otx2_nic *pfvf) argument 1683 otx2_nix_config_bp(struct otx2_nic *pfvf, bool enable) argument 1709 mbox_handler_cgx_stats(struct otx2_nic *pfvf, struct cgx_stats_rsp *rsp) argument 1720 mbox_handler_cgx_fec_stats(struct otx2_nic *pfvf, struct cgx_fec_stats_rsp *rsp) argument 1727 mbox_handler_npa_lf_alloc(struct otx2_nic *pfvf, struct npa_lf_alloc_rsp *rsp) argument 1735 mbox_handler_nix_lf_alloc(struct otx2_nic *pfvf, struct nix_lf_alloc_rsp *rsp) argument 1749 mbox_handler_msix_offset(struct otx2_nic *pfvf, struct msix_offset_rsp *rsp) argument 1757 mbox_handler_nix_bp_enable(struct otx2_nic *pfvf, struct nix_bp_cfg_rsp *rsp) argument 1769 otx2_free_cints(struct otx2_nic *pfvf, int n) argument 1786 otx2_set_cints_affinity(struct otx2_nic *pfvf) argument 1810 get_dwrr_mtu(struct otx2_nic *pfvf, struct nix_hw_info *hw) argument 1821 otx2_get_max_mtu(struct otx2_nic *pfvf) argument 1869 struct otx2_nic *pfvf = netdev_priv(netdev); local [all...] |
H A D | qos.c | 26 static void otx2_qos_update_tx_netdev_queues(struct otx2_nic *pfvf) argument 71 static int otx2_qos_quantum_to_dwrr_weight(struct otx2_nic *pfvf, u32 quantum) argument 82 static void otx2_config_sched_shaping(struct otx2_nic *pfvf, argument 136 __otx2_qos_txschq_cfg(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct nix_txschq_config *cfg) argument 193 otx2_qos_txschq_set_parent_topology(struct otx2_nic *pfvf, struct otx2_qos_node *parent) argument 234 otx2_qos_free_hw_node_schq(struct otx2_nic *pfvf, struct otx2_qos_node *parent) argument 243 otx2_qos_free_hw_node(struct otx2_nic *pfvf, struct otx2_qos_node *parent) argument 255 otx2_qos_free_hw_cfg(struct otx2_nic *pfvf, struct otx2_qos_node *node) argument 270 otx2_qos_sw_node_delete(struct otx2_nic *pfvf, struct otx2_qos_node *node) argument 284 otx2_qos_free_sw_node_schq(struct otx2_nic *pfvf, struct otx2_qos_node *parent) argument 295 __otx2_qos_free_sw_node(struct otx2_nic *pfvf, struct otx2_qos_node *parent) argument 307 otx2_qos_free_sw_node(struct otx2_nic *pfvf, struct otx2_qos_node *node) argument 319 otx2_qos_destroy_node(struct otx2_nic *pfvf, struct otx2_qos_node *node) argument 352 otx2_qos_prepare_txschq_cfg(struct otx2_nic *pfvf, struct otx2_qos_node *parent, struct otx2_qos_cfg *cfg) argument 392 otx2_qos_read_txschq_cfg(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct otx2_qos_cfg *cfg) argument 402 otx2_qos_alloc_root(struct otx2_nic *pfvf) argument 454 otx2_qos_alloc_txschq_node(struct otx2_nic *pfvf, struct otx2_qos_node *node) argument 499 otx2_qos_sw_create_leaf_node(struct otx2_nic *pfvf, struct otx2_qos_node *parent, u16 classid, u32 prio, u64 rate, u64 ceil, u32 quantum, u16 qid, bool static_cfg) argument 549 otx2_sw_node_find(struct otx2_nic *pfvf, u32 classid) argument 562 otx2_sw_node_find_rcu(struct otx2_nic *pfvf, u32 classid) argument 574 otx2_get_txq_by_classid(struct otx2_nic *pfvf, u16 classid) argument 596 otx2_qos_txschq_config(struct otx2_nic *pfvf, struct otx2_qos_node *node) argument 620 otx2_qos_txschq_alloc(struct otx2_nic *pfvf, struct otx2_qos_cfg *cfg) argument 676 otx2_qos_free_unused_txschq(struct otx2_nic *pfvf, struct otx2_qos_cfg *cfg) argument 691 otx2_qos_txschq_fill_cfg_schq(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct otx2_qos_cfg *cfg) argument 705 otx2_qos_txschq_fill_cfg_tl(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct otx2_qos_cfg *cfg) argument 725 otx2_qos_txschq_fill_cfg(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct otx2_qos_cfg *cfg) argument 736 __otx2_qos_assign_base_idx_tl(struct otx2_nic *pfvf, struct otx2_qos_node *tmp, unsigned long *child_idx_bmap, int child_cnt) argument 762 otx2_qos_assign_base_idx_tl(struct otx2_nic *pfvf, struct otx2_qos_node *node) argument 801 otx2_qos_assign_base_idx(struct otx2_nic *pfvf, struct otx2_qos_node *node) argument 813 otx2_qos_txschq_push_cfg_schq(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct otx2_qos_cfg *cfg) argument 832 otx2_qos_txschq_push_cfg_tl(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct otx2_qos_cfg *cfg) argument 858 otx2_qos_txschq_push_cfg(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct otx2_qos_cfg *cfg) argument 874 otx2_qos_txschq_update_config(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct otx2_qos_cfg *cfg) argument 883 otx2_qos_txschq_update_root_cfg(struct otx2_nic *pfvf, struct otx2_qos_node *root, struct otx2_qos_cfg *cfg) argument 891 otx2_qos_free_cfg(struct otx2_nic *pfvf, struct otx2_qos_cfg *cfg) argument 912 otx2_qos_enadis_sq(struct otx2_nic *pfvf, struct otx2_qos_node *node, u16 qid) argument 923 otx2_qos_update_smq_schq(struct otx2_nic *pfvf, struct otx2_qos_node *node, bool action) argument 942 __otx2_qos_update_smq(struct otx2_nic *pfvf, struct otx2_qos_node *node, bool action) argument 963 otx2_qos_update_smq(struct otx2_nic *pfvf, struct otx2_qos_node *node, bool action) argument 973 otx2_qos_push_txschq_cfg(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct otx2_qos_cfg *cfg) argument 1003 otx2_qos_update_tree(struct otx2_nic *pfvf, struct otx2_qos_node *node, struct otx2_qos_cfg *cfg) argument 1011 otx2_qos_root_add(struct otx2_nic *pfvf, u16 htb_maj_id, u16 htb_defcls, struct netlink_ext_ack *extack) argument 1079 otx2_qos_root_destroy(struct otx2_nic *pfvf) argument 1096 otx2_qos_validate_quantum(struct otx2_nic *pfvf, u32 quantum) argument 1112 otx2_qos_validate_dwrr_cfg(struct otx2_qos_node *parent, struct netlink_ext_ack *extack, struct otx2_nic *pfvf, u64 prio, u64 quantum) argument 1135 otx2_qos_validate_configuration(struct otx2_qos_node *parent, struct netlink_ext_ack *extack, struct otx2_nic *pfvf, u64 prio, bool static_cfg) argument 1166 is_qos_node_dwrr(struct otx2_qos_node *parent, struct otx2_nic *pfvf, u64 prio) argument 1203 otx2_qos_leaf_alloc_queue(struct otx2_nic *pfvf, u16 classid, u32 parent_classid, u64 rate, u64 ceil, u64 prio, u32 quantum, struct netlink_ext_ack *extack) argument 1342 otx2_qos_leaf_to_inner(struct otx2_nic *pfvf, u16 classid, u16 child_classid, u64 rate, u64 ceil, u64 prio, u32 quantum, struct netlink_ext_ack *extack) argument 1478 otx2_qos_leaf_del(struct otx2_nic *pfvf, u16 *classid, struct netlink_ext_ack *extack) argument 1523 otx2_qos_leaf_del_last(struct otx2_nic *pfvf, u16 classid, bool force, struct netlink_ext_ack *extack) argument 1605 otx2_clean_qos_queues(struct otx2_nic *pfvf) argument 1616 otx2_qos_config_txschq(struct otx2_nic *pfvf) argument 1650 struct otx2_nic *pfvf = netdev_priv(ndev); local [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | smt.h | 60 u16 pfvf; member in struct:smt_entry
|
H A D | smt.c | 209 static struct smt_entry *t4_smt_alloc_switching(struct adapter *adap, u16 pfvf, argument
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_sdp.c | 56 struct rvu_pfvf *pfvf; local 97 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); local
|
H A D | rvu_switch.c | 13 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); local 27 struct rvu_pfvf *pfvf; local 55 struct rvu_pfvf *pfvf; local [all...] |
H A D | rvu_npa.c | 70 struct rvu_pfvf *pfvf; local 212 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); local 309 npa_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) argument 335 struct rvu_pfvf *pfvf; local 441 struct rvu_pfvf *pfvf; local 543 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); local [all...] |
H A D | mcs_rvu_if.c | 94 struct mcs_pfvf *pfvf; local 182 struct mcs_pfvf *pfvf; local
|
H A D | rvu_cn10k.c | 101 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); local 138 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); local 242 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); local [all...] |
H A D | rvu_cpt.c | 640 struct rvu_pfvf *pfvf; local
|
H A D | rvu_npc_hash.c | 1565 struct rvu_pfvf *pfvf; local 1599 struct rvu_pfvf *pfvf; local 1679 struct rvu_pfvf *pfvf; local 1741 struct rvu_pfvf *pfvf; local [all...] |
H A D | rvu_npc_fs.c | 1150 static int npc_update_rx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, argument 1209 static int npc_update_tx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, argument 1253 npc_install_flow(struct rvu *rvu, int blkaddr, u16 target, int nixlf, struct rvu_pfvf *pfvf, struct npc_install_flow_req *req, struct npc_install_flow_rsp *rsp, bool enable, bool pf_set_vfs_mac) argument 1419 struct rvu_pfvf *pfvf; local 1610 npc_update_dmac_value(struct rvu *rvu, int npcblkaddr, struct rvu_npc_mcam_rule *rule, struct rvu_pfvf *pfvf) argument 1643 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, target); local [all...] |
H A D | rvu_cgx.c | 111 struct rvu_pfvf *pfvf = &rvu->pf[pf]; local 775 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); local 1079 struct rvu_pfvf *parent_pf, *pfvf; local [all...] |