/freebsd/sys/dev/irdma/ |
H A D | irdma_ws.c | 51 irdma_alloc_node(struct irdma_sc_vsi *vsi, in irdma_alloc_node() argument 66 node_index = irdma_alloc_ws_node_id(vsi->dev); in irdma_alloc_node() 75 node->vsi_index = vsi->vsi_idx; in irdma_alloc_node() 79 node->traffic_class = vsi->qos[user_pri].traffic_class; in irdma_alloc_node() 81 node->rel_bw = vsi->qos[user_pri].rel_bw; in irdma_alloc_node() 103 irdma_free_node(struct irdma_sc_vsi *vsi, in irdma_free_node() argument 109 irdma_free_ws_node_id(vsi->dev, node->index); in irdma_free_node() 123 irdma_ws_cqp_cmd(struct irdma_sc_vsi *vsi, in irdma_ws_cqp_cmd() argument 129 node_info.vsi = node->vsi_index; in irdma_ws_cqp_cmd() 140 if (irdma_cqp_ws_node_cmd(vsi->dev, cmd, &node_info)) { in irdma_ws_cqp_cmd() [all …]
|
H A D | icrdma_hw.c | 257 irdma_is_lfc_set(struct irdma_config_check *cc, struct irdma_sc_vsi *vsi) in irdma_is_lfc_set() argument 260 u8 fn_id = vsi->dev->hmc_fn_id; in irdma_is_lfc_set() 262 lfc &= (rd32(vsi->dev->hw, in irdma_is_lfc_set() 264 lfc &= (rd32(vsi->dev->hw, in irdma_is_lfc_set() 266 lfc &= rd32(vsi->dev->hw, in irdma_is_lfc_set() 267 PRTMAC_HSEC_CTL_RX_ENABLE_GPP_0 + 4 * vsi->dev->hmc_fn_id); in irdma_is_lfc_set() 275 irdma_check_tc_has_pfc(struct irdma_sc_vsi *vsi, u64 reg_offset, u16 traffic_class) in irdma_check_tc_has_pfc() argument 280 value = rd32(vsi->dev->hw, reg_offset); in irdma_check_tc_has_pfc() 290 irdma_is_pfc_set(struct irdma_config_check *cc, struct irdma_sc_vsi *vsi) in irdma_is_pfc_set() argument 293 u8 fn_id = vsi->dev->hmc_fn_id; in irdma_is_pfc_set() [all …]
|
H A D | irdma_puda.c | 44 irdma_ieq_receive(struct irdma_sc_vsi *vsi, 46 static void irdma_ieq_tx_compl(struct irdma_sc_vsi *vsi, void *sqwrid); 83 buf->vsi = rsrc->vsi; in irdma_puda_get_bufpool() 376 rsrc = (cq_type == IRDMA_CQ_TYPE_ILQ) ? cq->vsi->ilq : in irdma_puda_poll_cmpl() 377 cq->vsi->ieq; in irdma_puda_poll_cmpl() 424 rsrc->receive(rsrc->vsi, buf); in irdma_puda_poll_cmpl() 438 rsrc->xmit_complete(rsrc->vsi, buf); in irdma_puda_poll_cmpl() 711 qp->vsi = rsrc->vsi; in irdma_puda_qp_create() 731 ret = rsrc->dev->ws_add(qp->vsi, qp->user_pri); in irdma_puda_qp_create() 746 rsrc->dev->ws_remove(qp->vsi, qp->user_pri); in irdma_puda_qp_create() [all …]
|
H A D | irdma_protos.h | 67 int irdma_cqp_stats_inst_cmd(struct irdma_sc_vsi *vsi, u8 cmd, 75 int irdma_vsi_stats_init(struct irdma_sc_vsi *vsi, 77 void irdma_vsi_stats_free(struct irdma_sc_vsi *vsi); 78 void irdma_sc_vsi_init(struct irdma_sc_vsi *vsi, 83 void irdma_change_l2params(struct irdma_sc_vsi *vsi, 85 void irdma_sc_suspend_resume_qps(struct irdma_sc_vsi *vsi, u8 suspend); 91 void irdma_reinitialize_ieq(struct irdma_sc_vsi *vsi);
|
H A D | irdma_puda.h | 112 struct irdma_sc_vsi *vsi; member 116 void (*receive)(struct irdma_sc_vsi *vsi, struct irdma_puda_buf *buf); 117 void (*xmit_complete)(struct irdma_sc_vsi *vsi, void *sqwrid); 138 struct irdma_sc_vsi *vsi; member 163 void (*receive)(struct irdma_sc_vsi *vsi, struct irdma_puda_buf *buf); 164 void (*xmit_complete)(struct irdma_sc_vsi *vsi, void *sqwrid); 190 int irdma_puda_create_rsrc(struct irdma_sc_vsi *vsi, 192 void irdma_puda_dele_rsrc(struct irdma_sc_vsi *vsi, enum puda_rsrc_type type,
|
H A D | irdma_ctrl.c | 89 irdma_sc_suspend_resume_qps(struct irdma_sc_vsi *vsi, u8 op) in irdma_sc_suspend_resume_qps() argument 95 mutex_lock(&vsi->qos[i].qos_mutex); in irdma_sc_suspend_resume_qps() 96 qp = irdma_get_qp_from_list(&vsi->qos[i].qplist, qp); in irdma_sc_suspend_resume_qps() 99 if (!qp->dev->ws_add(vsi, i)) { in irdma_sc_suspend_resume_qps() 101 vsi->qos[qp->user_pri].qs_handle; in irdma_sc_suspend_resume_qps() 110 atomic_inc(&vsi->qp_suspend_reqs); in irdma_sc_suspend_resume_qps() 112 qp = irdma_get_qp_from_list(&vsi->qos[i].qplist, qp); in irdma_sc_suspend_resume_qps() 114 mutex_unlock(&vsi->qos[i].qos_mutex); in irdma_sc_suspend_resume_qps() 119 irdma_set_qos_info(struct irdma_sc_vsi *vsi, struct irdma_l2params *l2p) in irdma_set_qos_info() argument 123 vsi->qos_rel_bw = l2p->vsi_rel_bw; in irdma_set_qos_info() [all …]
|
H A D | irdma_ws.h | 68 int irdma_ws_add(struct irdma_sc_vsi *vsi, u8 user_pri); 69 void irdma_ws_remove(struct irdma_sc_vsi *vsi, u8 user_pri); 70 void irdma_ws_reset(struct irdma_sc_vsi *vsi);
|
/freebsd/sys/dev/iavf/ |
H A D | if_iavf_iflib.c | 259 struct iavf_vsi *vsi; in iavf_if_attach_pre() local 267 vsi = &sc->vsi; in iavf_if_attach_pre() 268 vsi->back = sc; in iavf_if_attach_pre() 272 vsi->dev = dev; in iavf_if_attach_pre() 273 vsi->hw = &sc->hw; in iavf_if_attach_pre() 274 vsi->num_vlans = 0; in iavf_if_attach_pre() 275 vsi->ctx = ctx; in iavf_if_attach_pre() 277 vsi->ifp = iflib_get_ifp(ctx); in iavf_if_attach_pre() 278 vsi->shared = scctx = iflib_get_softc_ctx(ctx); in iavf_if_attach_pre() 362 if (vsi->enable_head_writeback) { in iavf_if_attach_pre() [all …]
|
H A D | iavf_txrx_iflib.c | 271 scctx = txr->que->vsi->shared; in iavf_tso_setup() 322 struct iavf_vsi *vsi = arg; in iavf_isc_txd_encap() local 323 if_softc_ctx_t scctx = vsi->shared; in iavf_isc_txd_encap() 324 struct iavf_tx_queue *que = &vsi->tx_queues[pi->ipi_qsidx]; in iavf_isc_txd_encap() 389 if (!vsi->enable_head_writeback && tx_intr) { in iavf_isc_txd_encap() 412 struct iavf_vsi *vsi = arg; in iavf_isc_txd_flush() local 413 struct tx_ring *txr = &vsi->tx_queues[txqid].txr; in iavf_isc_txd_flush() 416 MPASS(pidx < vsi->shared->isc_ntxd[0]); in iavf_isc_txd_flush() 417 wr32(vsi->hw, txr->tail, pidx); in iavf_isc_txd_flush() 428 iavf_init_tx_ring(struct iavf_vsi *vsi, struct iavf_tx_queue *que) in iavf_init_tx_ring() argument [all …]
|
H A D | iavf_vc_iflib.c | 56 struct iavf_vsi *vsi = &sc->vsi; in iavf_configure_queues() local 57 if_softc_ctx_t scctx = iflib_get_softc_ctx(vsi->ctx); in iavf_configure_queues() 58 struct iavf_tx_queue *tx_que = vsi->tx_queues; in iavf_configure_queues() 59 struct iavf_rx_queue *rx_que = vsi->rx_queues; in iavf_configure_queues() 69 pairs = max(vsi->num_tx_queues, vsi->num_rx_queues); in iavf_configure_queues() 93 if (!vsi->enable_head_writeback) { in iavf_configure_queues() 132 struct iavf_vsi *vsi = &sc->vsi; in iavf_map_queues() local 133 struct iavf_rx_queue *rx_que = vsi->rx_queues; in iavf_map_queues() 134 if_softc_ctx_t scctx = vsi->shared; in iavf_map_queues()
|
H A D | iavf_lib.c | 507 struct iavf_vsi *vsi = &sc->vsi; in iavf_get_vsi_res_from_vf_res() local 522 vsi->id = sc->vsi_res->vsi_id; in iavf_get_vsi_res_from_vf_res() 758 struct iavf_vsi *vsi = &sc->vsi; in iavf_configure_tx_itr() local 759 struct iavf_tx_queue *que = vsi->tx_queues; in iavf_configure_tx_itr() 761 vsi->tx_itr_setting = sc->tx_itr; in iavf_configure_tx_itr() 763 for (int i = 0; i < IAVF_NTXQS(vsi); i++, que++) { in iavf_configure_tx_itr() 767 vsi->tx_itr_setting); in iavf_configure_tx_itr() 768 txr->itr = vsi->tx_itr_setting; in iavf_configure_tx_itr() 783 struct iavf_vsi *vsi = &sc->vsi; in iavf_configure_rx_itr() local 784 struct iavf_rx_queue *que = vsi->rx_queues; in iavf_configure_rx_itr() [all …]
|
H A D | iavf_iflib.h | 200 struct iavf_vsi *vsi; member 219 struct iavf_vsi *vsi; member 332 struct iavf_vsi vsi; member 387 void iavf_init_tx_ring(struct iavf_vsi *vsi, struct iavf_tx_queue *que); 391 void iavf_init_tx_rsqs(struct iavf_vsi *vsi); 392 void iavf_init_tx_cidx(struct iavf_vsi *vsi); 394 void iavf_add_vsi_sysctls(device_t dev, struct iavf_vsi *vsi, 399 void iavf_add_queues_sysctls(device_t dev, struct iavf_vsi *vsi);
|
H A D | iavf_vc_common.c | 312 struct iavf_vsi *vsi = &sc->vsi; in iavf_enable_queues() local 315 vqs.tx_queues = (1 << IAVF_NTXQS(vsi)) - 1; in iavf_enable_queues() 336 struct iavf_vsi *vsi = &sc->vsi; in iavf_disable_queues() local 339 vqs.tx_queues = (1 << IAVF_NTXQS(vsi)) - 1; in iavf_disable_queues() 515 a->vsi_id = sc->vsi.id; in iavf_add_ether_filters() 579 d->vsi_id = sc->vsi.id; in iavf_del_ether_filters() 660 struct iavf_vsi *vsi = &sc->vsi; in iavf_update_stats_counters() local 663 vsi->ipackets = es->rx_unicast + es->rx_multicast + es->rx_broadcast; in iavf_update_stats_counters() 664 vsi->opackets = es->tx_unicast + es->tx_multicast + es->tx_broadcast; in iavf_update_stats_counters() 665 vsi->ibytes = es->rx_bytes; in iavf_update_stats_counters() [all …]
|
/freebsd/sys/dev/ixl/ |
H A D | ixl_pf_iflib.c | 40 struct ixl_vsi *vsi = &pf->vsi; in ixl_configure_tx_itr() local 41 struct ixl_tx_queue *que = vsi->tx_queues; in ixl_configure_tx_itr() 43 vsi->tx_itr_setting = pf->tx_itr; in ixl_configure_tx_itr() 45 for (int i = 0; i < vsi->num_tx_queues; i++, que++) { in ixl_configure_tx_itr() 49 vsi->tx_itr_setting); in ixl_configure_tx_itr() 50 txr->itr = vsi->tx_itr_setting; in ixl_configure_tx_itr() 59 struct ixl_vsi *vsi = &pf->vsi; in ixl_configure_rx_itr() local 60 struct ixl_rx_queue *que = vsi->rx_queues; in ixl_configure_rx_itr() 62 vsi->rx_itr_setting = pf->rx_itr; in ixl_configure_rx_itr() 64 for (int i = 0; i < vsi->num_rx_queues; i++, que++) { in ixl_configure_rx_itr() [all …]
|
H A D | if_ixl.c | 363 device_t dev = iflib_get_dev(pf->vsi.ctx); in ixl_allocate_pci_resources() 407 if_softc_ctx_t scctx = pf->vsi.shared; in ixl_setup_ssctx() 418 if (pf->vsi.enable_head_writeback) { in ixl_setup_ssctx() 470 iflib_admin_intr_deferred(pf->vsi.ctx); in ixl_admin_timer() 479 struct ixl_vsi *vsi = &pf->vsi; in ixl_attach_pre_recovery_mode() local 487 if (vsi->shared->isc_intr == IFLIB_INTR_MSIX) { in ixl_attach_pre_recovery_mode() 503 struct ixl_vsi *vsi; in ixl_if_attach_pre() local 514 vsi = &pf->vsi; in ixl_if_attach_pre() 515 vsi->back = pf; in ixl_if_attach_pre() 519 vsi->dev = dev; in ixl_if_attach_pre() [all …]
|
H A D | ixl.h | 272 #define IXL_SET_IPACKETS(vsi, count) (vsi)->ipackets = (count) argument 273 #define IXL_SET_IERRORS(vsi, count) (vsi)->ierrors = (count) argument 274 #define IXL_SET_OPACKETS(vsi, count) (vsi)->opackets = (count) argument 275 #define IXL_SET_OERRORS(vsi, count) (vsi)->oerrors = (count) argument 276 #define IXL_SET_COLLISIONS(vsi, count) /* Do nothing; collisions is always 0. */ argument 277 #define IXL_SET_IBYTES(vsi, count) (vsi)->ibytes = (count) argument 278 #define IXL_SET_OBYTES(vsi, count) (vsi)->obytes = (count) argument 279 #define IXL_SET_IMCASTS(vsi, count) (vsi)->imcasts = (count) argument 280 #define IXL_SET_OMCASTS(vsi, count) (vsi)->omcasts = (count) argument 281 #define IXL_SET_IQDROPS(vsi, count) (vsi)->iqdrops = (count) argument [all …]
|
H A D | ixl_txrx.c | 292 scctx = txr->que->vsi->shared; in ixl_tso_setup() 340 struct ixl_vsi *vsi = arg; in ixl_isc_txd_encap() local 341 if_softc_ctx_t scctx = vsi->shared; in ixl_isc_txd_encap() 342 struct ixl_tx_queue *que = &vsi->tx_queues[pi->ipi_qsidx]; in ixl_isc_txd_encap() 402 if (!vsi->enable_head_writeback && tx_intr) { in ixl_isc_txd_encap() 416 struct ixl_vsi *vsi = arg; in ixl_isc_txd_flush() local 417 struct tx_ring *txr = &vsi->tx_queues[txqid].txr; in ixl_isc_txd_flush() 424 MPASS(pidx < vsi->shared->isc_ntxd[0]); in ixl_isc_txd_flush() 425 wr32(vsi->hw, txr->tail, pidx); in ixl_isc_txd_flush() 435 ixl_init_tx_ring(struct ixl_vsi *vsi, struct ixl_tx_queue *que) in ixl_init_tx_ring() argument [all …]
|
H A D | ixl_pf_iov.c | 48 static void ixl_vf_vsi_release(struct ixl_pf *pf, struct ixl_vsi *vsi); 174 vf->vsi.seid = vsi_ctx.seid; in ixl_vf_alloc_vsi() 175 vf->vsi.vsi_num = vsi_ctx.vsi_number; in ixl_vf_alloc_vsi() 176 vf->vsi.num_rx_queues = vf->qtag.num_active; in ixl_vf_alloc_vsi() 177 vf->vsi.num_tx_queues = vf->qtag.num_active; in ixl_vf_alloc_vsi() 183 code = i40e_aq_config_vsi_bw_limit(hw, vf->vsi.seid, 0, 0, NULL); in ixl_vf_alloc_vsi() 190 memcpy(&vf->vsi.info, &vsi_ctx.info, sizeof(vf->vsi.info)); in ixl_vf_alloc_vsi() 201 vf->vsi.flags |= IXL_FLAGS_IS_VF; in ixl_vf_setup_vsi() 207 vf->vsi.dev = pf->dev; in ixl_vf_setup_vsi() 209 ixl_init_filters(&vf->vsi); in ixl_vf_setup_vsi() [all …]
|
H A D | ixl_pf_main.c | 571 struct ixl_vsi *vsi = ama->vsi; in ixl_add_maddr() local 576 f = ixl_find_filter(&vsi->ftl, macaddr, IXL_VLAN_ANY); in ixl_add_maddr() 582 device_printf(vsi->dev, "WARNING: no filter available!!\n"); in ixl_add_maddr() 606 ixl_add_multi(struct ixl_vsi *vsi) in ixl_add_multi() argument 608 if_t ifp = vsi->ifp; in ixl_add_multi() 609 struct i40e_hw *hw = vsi->hw; in ixl_add_multi() 618 status = i40e_aq_set_vsi_multicast_promiscuous(hw, vsi->seid, in ixl_add_multi() 626 ixl_del_multi(vsi, true); in ixl_add_multi() 630 cb_arg.vsi = vsi; in ixl_add_multi() 635 ixl_add_hw_filters(vsi, &cb_arg.to_add, mcnt); in ixl_add_multi() [all …]
|
/freebsd/sys/dev/ice/ |
H A D | if_ice_iflib.c | 123 static void ice_init_tx_tracking(struct ice_vsi *vsi); 897 struct ice_vsi *vsi = &sc->pf_vsi; in ice_free_irqvs() local 910 for (i = 0; i < vsi->num_rx_queues; i++) in ice_free_irqvs() 911 vsi->rx_queues[i].irqv = NULL; in ice_free_irqvs() 913 for (i = 0; i < vsi->num_tx_queues; i++) in ice_free_irqvs() 914 vsi->tx_queues[i].irqv = NULL; in ice_free_irqvs() 936 struct ice_vsi *vsi = &sc->pf_vsi; in ice_if_detach() local 964 ice_vsi_del_txqs_ctx(vsi); in ice_if_detach() 965 ice_vsi_del_rxqs_ctx(vsi); in ice_if_detach() 1029 struct ice_vsi *vsi = &sc->pf_vsi; in ice_if_tx_queues_alloc() local [all …]
|
H A D | ice_lib.c | 68 static int ice_setup_vsi_qmap(struct ice_vsi *vsi, struct ice_vsi_ctx *ctx); 74 static int ice_add_mac_to_list(struct ice_vsi *vsi, struct ice_list_head *list, 85 static bool ice_filter_is_mcast(struct ice_vsi *vsi, struct ice_fltr_info *info); 89 static void ice_vsi_set_rss_params(struct ice_vsi *vsi); 91 static int ice_set_rss_key(struct ice_vsi *vsi); 92 static int ice_set_rss_lut(struct ice_vsi *vsi); 93 static void ice_set_rss_flow_flds(struct ice_vsi *vsi); 94 static void ice_clean_vsi_rss_cfg(struct ice_vsi *vsi); 106 static void ice_add_sysctls_sw_stats(struct ice_vsi *vsi, 118 static void ice_setup_vsi_common(struct ice_softc *sc, struct ice_vsi *vsi, 351 ice_setup_vsi_common(struct ice_softc * sc,struct ice_vsi * vsi,enum ice_vsi_type type,int idx,bool dynamic) ice_setup_vsi_common() argument 379 struct ice_vsi *vsi; ice_alloc_vsi() local 431 ice_alloc_vsi_qmap(struct ice_vsi * vsi,const int max_tx_queues,const int max_rx_queues) ice_alloc_vsi_qmap() argument 463 ice_free_vsi_qmaps(struct ice_vsi * vsi) ice_free_vsi_qmaps() argument 568 ice_setup_vsi_qmap(struct ice_vsi * vsi,struct ice_vsi_ctx * ctx) ice_setup_vsi_qmap() argument 625 ice_setup_vsi_mirroring(struct ice_vsi * vsi) ice_setup_vsi_mirroring() argument 674 ice_remove_vsi_mirroring(struct ice_vsi * vsi) ice_remove_vsi_mirroring() argument 707 ice_initialize_vsi(struct ice_vsi * vsi) ice_initialize_vsi() argument 781 ice_deinit_vsi(struct ice_vsi * vsi) ice_deinit_vsi() argument 823 ice_release_vsi(struct ice_vsi * vsi) ice_release_vsi() argument 1340 ice_configure_all_rxq_interrupts(struct ice_vsi * vsi) ice_configure_all_rxq_interrupts() argument 1388 ice_configure_all_txq_interrupts(struct ice_vsi * vsi) ice_configure_all_txq_interrupts() argument 1415 ice_flush_rxq_interrupts(struct ice_vsi * vsi) ice_flush_rxq_interrupts() argument 1452 ice_flush_txq_interrupts(struct ice_vsi * vsi) ice_flush_txq_interrupts() argument 1484 ice_configure_rx_itr(struct ice_vsi * vsi) ice_configure_rx_itr() argument 1508 ice_configure_tx_itr(struct ice_vsi * vsi) ice_configure_tx_itr() argument 1534 struct ice_vsi *vsi = txq->vsi; ice_setup_tx_ctx() local 1587 ice_cfg_vsi_for_tx(struct ice_vsi * vsi) ice_cfg_vsi_for_tx() argument 1654 struct ice_vsi *vsi = rxq->vsi; ice_setup_rx_ctx() local 1730 ice_cfg_vsi_for_rx(struct ice_vsi * vsi) ice_cfg_vsi_for_rx() argument 1795 ice_control_rx_queue(struct ice_vsi * vsi,u16 qidx,bool enable) ice_control_rx_queue() argument 1853 ice_control_all_rx_queues(struct ice_vsi * vsi,bool enable) ice_control_all_rx_queues() argument 1884 ice_add_mac_to_list(struct ice_vsi * vsi,struct ice_list_head * list,const u8 * addr,enum ice_sw_fwd_act_type action) ice_add_mac_to_list() argument 1934 ice_add_vsi_mac_filter(struct ice_vsi * vsi,const u8 * addr) ice_add_vsi_mac_filter() argument 1974 struct ice_vsi *vsi = &sc->pf_vsi; ice_cfg_pf_default_mac_filters() local 2004 ice_remove_vsi_mac_filter(struct ice_vsi * vsi,const u8 * addr) ice_remove_vsi_mac_filter() argument 2044 struct ice_vsi *vsi = &sc->pf_vsi; ice_rm_pf_default_mac_filters() local 2489 ice_update_vsi_hw_stats(struct ice_vsi * vsi) ice_update_vsi_hw_stats() argument 2541 ice_reset_vsi_stats(struct ice_vsi * vsi) ice_reset_vsi_stats() argument 4743 struct ice_vsi *vsi = (struct ice_vsi *)arg1; ice_sysctl_tx_cso_stat() local 4774 struct ice_vsi *vsi = (struct ice_vsi *)arg1; ice_sysctl_rx_cso_stat() local 4806 struct ice_vsi *vsi = (struct ice_vsi *)arg1; ice_sysctl_rx_errors_stat() local 4872 ice_add_sysctls_sw_stats(struct ice_vsi * vsi,struct sysctl_ctx_list * ctx,struct sysctl_oid * parent) ice_add_sysctls_sw_stats() argument 4938 ice_add_vsi_sysctls(struct ice_vsi * vsi) ice_add_vsi_sysctls() argument 5184 ice_filter_is_mcast(struct ice_vsi * vsi,struct ice_fltr_info * info) ice_filter_is_mcast() argument 5403 ice_add_vlan_hw_filters(struct ice_vsi * vsi,u16 * vid,u16 length) ice_add_vlan_hw_filters() argument 5454 ice_add_vlan_hw_filter(struct ice_vsi * vsi,u16 vid) ice_add_vlan_hw_filter() argument 5468 ice_remove_vlan_hw_filters(struct ice_vsi * vsi,u16 * vid,u16 length) ice_remove_vlan_hw_filters() argument 5519 ice_remove_vlan_hw_filter(struct ice_vsi * vsi,u16 vid) ice_remove_vlan_hw_filter() argument 5542 struct ice_vsi *vsi = (struct ice_vsi *)arg1; ice_sysctl_rx_itr() local 5594 struct ice_vsi *vsi = (struct ice_vsi *)arg1; ice_sysctl_tx_itr() local 5646 ice_add_vsi_tunables(struct ice_vsi * vsi,struct sysctl_oid * parent) ice_add_vsi_tunables() argument 5684 ice_del_vsi_sysctl_ctx(struct ice_vsi * vsi) ice_del_vsi_sysctl_ctx() argument 6847 ice_vsi_disable_tx(struct ice_vsi * vsi) ice_vsi_disable_tx() argument 6941 ice_vsi_set_rss_params(struct ice_vsi * vsi) ice_vsi_set_rss_params() argument 6977 ice_vsi_add_txqs_ctx(struct ice_vsi * vsi) ice_vsi_add_txqs_ctx() argument 6999 ice_vsi_add_rxqs_ctx(struct ice_vsi * vsi) ice_vsi_add_rxqs_ctx() argument 7020 ice_vsi_del_txqs_ctx(struct ice_vsi * vsi) ice_vsi_del_txqs_ctx() argument 7043 ice_vsi_del_rxqs_ctx(struct ice_vsi * vsi) ice_vsi_del_rxqs_ctx() argument 7067 struct ice_vsi *vsi = txq->vsi; ice_add_txq_sysctls() local 7113 struct ice_vsi *vsi = rxq->vsi; ice_add_rxq_sysctls() local 7183 ice_set_rss_key(struct ice_vsi * vsi) ice_set_rss_key() argument 7217 ice_set_rss_flow_flds(struct ice_vsi * vsi) ice_set_rss_flow_flds() argument 7303 ice_set_rss_lut(struct ice_vsi * vsi) ice_set_rss_lut() argument 7354 ice_config_rss(struct ice_vsi * vsi) ice_config_rss() argument 7599 ice_get_ifnet_counter(struct ice_vsi * vsi,ift_counter counter) ice_get_ifnet_counter() argument 7678 struct ice_vsi *vsi = sc->all_vsi[i]; ice_replay_all_vsi_cfg() local 7710 ice_clean_vsi_rss_cfg(struct ice_vsi * vsi) ice_clean_vsi_rss_cfg() argument 7747 struct ice_vsi *vsi = sc->all_vsi[i]; ice_clean_all_vsi_rss_cfg() local 8570 ice_vsi_setup_q_map(struct ice_vsi * vsi,struct ice_vsi_ctx * ctxt) ice_vsi_setup_q_map() argument 8667 struct ice_vsi *vsi = &sc->pf_vsi; ice_pf_vsi_cfg_tc() local 9071 ice_add_ethertype_to_list(struct ice_vsi * vsi,struct ice_list_head * list,u16 ethertype,u16 direction,enum ice_sw_fwd_act_type action) ice_add_ethertype_to_list() argument 9110 struct ice_vsi *vsi = &sc->pf_vsi; ice_cfg_pf_ethertype_filters() local 9168 struct ice_vsi *vsi = &sc->pf_vsi; ice_add_rx_lldp_filter() local 9236 struct ice_vsi *vsi = &sc->pf_vsi; ice_del_rx_lldp_filter() local [all...] |
H A D | ice_lib.h | 931 void ice_release_vsi(struct ice_vsi *vsi); 933 void ice_alloc_vsi_qmap(struct ice_vsi *vsi, const int max_tx_queues, 935 void ice_free_vsi_qmaps(struct ice_vsi *vsi); 936 int ice_initialize_vsi(struct ice_vsi *vsi); 937 void ice_deinit_vsi(struct ice_vsi *vsi); 943 void ice_configure_all_rxq_interrupts(struct ice_vsi *vsi); 945 void ice_configure_all_txq_interrupts(struct ice_vsi *vsi); 946 void ice_flush_rxq_interrupts(struct ice_vsi *vsi); 947 void ice_flush_txq_interrupts(struct ice_vsi *vsi); 948 int ice_cfg_vsi_for_tx(struct ice_vsi *vsi); [all …]
|
H A D | ice_flex_pipe.h | 69 ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *vsig); 76 ice_add_vsi_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig); 78 ice_add_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl); 80 ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl); 90 ice_add_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count, 93 ice_rem_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
|
H A D | ice_flex_pipe.c | 1013 * @vsi: HW VSI number to program 1020 ice_vsig_update_xlt2_sect(struct ice_hw *hw, enum ice_block blk, u16 vsi, in ice_vsig_update_xlt2_sect() 1034 sect->offset = CPU_TO_LE16(vsi); in ice_vsig_update_xlt2_sect() 1054 u16 vsi; in ice_vsig_update_xlt2() 1056 for (vsi = 0; vsi < ICE_MAX_VSI; vsi++) { in ice_vsig_update_xlt2() 1058 if (hw->blk[blk].xlt2.vsis[vsi].changed) { in ice_vsig_update_xlt2() 1062 vsig = hw->blk[blk].xlt2.vsis[vsi].vsig; in ice_vsig_update_xlt2() 1063 status = ice_vsig_update_xlt2_sect(hw, blk, vsi, vsi in ice_vsig_update_xlt2() 1019 ice_vsig_update_xlt2_sect(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig) ice_vsig_update_xlt2_sect() argument 1053 u16 vsi; ice_vsig_update_xlt2() local 1084 ice_vsig_find_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 * vsig) ice_vsig_find_vsi() argument 1240 ice_vsig_remove_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig) ice_vsig_remove_vsi() argument 1298 ice_vsig_add_mv_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig) ice_vsig_add_mv_vsi() argument 1636 u16 vsi; ice_init_sw_xlt2_db() local 3067 ice_move_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig,struct LIST_HEAD_TYPE * chg) ice_move_vsi() argument 3374 ice_create_prof_id_vsig(struct ice_hw * hw,enum ice_block blk,u16 vsi,u64 hdl,struct LIST_HEAD_TYPE * chg) ice_create_prof_id_vsig() argument 3424 ice_create_vsig_from_lst(struct ice_hw * hw,enum ice_block blk,u16 vsi,struct LIST_HEAD_TYPE * lst,u16 * new_vsig,struct LIST_HEAD_TYPE * chg) ice_create_vsig_from_lst() argument 3499 ice_add_vsi_flow(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig) ice_add_vsi_flow() argument 3537 ice_add_prof_id_flow(struct ice_hw * hw,enum ice_block blk,u16 vsi,u64 hdl) ice_add_prof_id_flow() argument 3684 ice_add_flow(struct ice_hw * hw,enum ice_block blk,u16 vsi[],u8 count,u64 id) ice_add_flow() argument 3733 ice_rem_prof_id_flow(struct ice_hw * hw,enum ice_block blk,u16 vsi,u64 hdl) ice_rem_prof_id_flow() argument 3867 ice_rem_flow(struct ice_hw * hw,enum ice_block blk,u16 vsi[],u8 count,u64 id) ice_rem_flow() argument [all...] |
H A D | ice_rdma.c | 162 * allocation failure, EXDEV on vsi device mismatch 168 struct ice_vsi *vsi = NULL; in ice_rdma_qset_register_request() local 212 vsi = sc->all_vsi[i]; in ice_rdma_qset_register_request() 217 if (!vsi) { in ice_rdma_qset_register_request() 222 if (sc != vsi->sc) { in ice_rdma_qset_register_request() 249 status = ice_cfg_vsi_rdma(hw->port_info, vsi->idx, ena_tc, in ice_rdma_qset_register_request() 261 status = ice_ena_vsi_rdma_qset(hw->port_info, vsi->idx, in ice_rdma_qset_register_request() 290 * ice_rdma_update_vsi_filter - configure vsi information 294 * @return 0 on success, EINVAL on wrong vsi 301 struct ice_vsi *vsi; in ice_rdma_update_vsi_filter() local [all...] |