Lines Matching refs:cfg_req

1615 	struct bfi_enet_rx_cfg_req *cfg_req = &rx->bfi_enet_cmd.cfg_req;  in bna_bfi_rx_enet_start()  local
1620 bfi_msgq_mhdr_set(cfg_req->mh, BFI_MC_ENET, in bna_bfi_rx_enet_start()
1622 cfg_req->mh.num_entries = htons( in bna_bfi_rx_enet_start()
1625 cfg_req->rx_cfg.frame_size = bna_enet_mtu_get(&rx->bna->enet); in bna_bfi_rx_enet_start()
1626 cfg_req->num_queue_sets = rx->num_paths; in bna_bfi_rx_enet_start()
1635 bfi_enet_datapath_q_init(&cfg_req->q_cfg[i].qs.q, in bna_bfi_rx_enet_start()
1637 cfg_req->q_cfg[i].qs.rx_buffer_size = in bna_bfi_rx_enet_start()
1643 bfi_enet_datapath_q_init(&cfg_req->q_cfg[i].ql.q, in bna_bfi_rx_enet_start()
1651 cfg_req->rx_cfg.multi_buffer = in bna_bfi_rx_enet_start()
1656 cfg_req->q_cfg[i].ql.rx_buffer_size = in bna_bfi_rx_enet_start()
1664 bfi_enet_datapath_q_init(&cfg_req->q_cfg[i].cq.q, in bna_bfi_rx_enet_start()
1667 cfg_req->q_cfg[i].ib.index_addr.a32.addr_lo = in bna_bfi_rx_enet_start()
1669 cfg_req->q_cfg[i].ib.index_addr.a32.addr_hi = in bna_bfi_rx_enet_start()
1671 cfg_req->q_cfg[i].ib.intr.msix_index = in bna_bfi_rx_enet_start()
1675 cfg_req->ib_cfg.int_pkt_dma = BNA_STATUS_T_DISABLED; in bna_bfi_rx_enet_start()
1676 cfg_req->ib_cfg.int_enabled = BNA_STATUS_T_ENABLED; in bna_bfi_rx_enet_start()
1677 cfg_req->ib_cfg.int_pkt_enabled = BNA_STATUS_T_DISABLED; in bna_bfi_rx_enet_start()
1678 cfg_req->ib_cfg.continuous_coalescing = BNA_STATUS_T_DISABLED; in bna_bfi_rx_enet_start()
1679 cfg_req->ib_cfg.msix = (rxp->cq.ib.intr_type == BNA_INTR_T_MSIX) in bna_bfi_rx_enet_start()
1682 cfg_req->ib_cfg.coalescing_timeout = in bna_bfi_rx_enet_start()
1684 cfg_req->ib_cfg.inter_pkt_timeout = in bna_bfi_rx_enet_start()
1686 cfg_req->ib_cfg.inter_pkt_count = (u8)rxp->cq.ib.interpkt_count; in bna_bfi_rx_enet_start()
1690 cfg_req->rx_cfg.rxq_type = BFI_ENET_RXQ_LARGE_SMALL; in bna_bfi_rx_enet_start()
1694 cfg_req->rx_cfg.rxq_type = BFI_ENET_RXQ_HDS; in bna_bfi_rx_enet_start()
1695 cfg_req->rx_cfg.hds.type = rx->hds_cfg.hdr_type; in bna_bfi_rx_enet_start()
1696 cfg_req->rx_cfg.hds.force_offset = rx->hds_cfg.forced_offset; in bna_bfi_rx_enet_start()
1697 cfg_req->rx_cfg.hds.max_header_size = rx->hds_cfg.forced_offset; in bna_bfi_rx_enet_start()
1701 cfg_req->rx_cfg.rxq_type = BFI_ENET_RXQ_SINGLE; in bna_bfi_rx_enet_start()
1707 cfg_req->rx_cfg.strip_vlan = rx->rxf.vlan_strip_status; in bna_bfi_rx_enet_start()
1710 sizeof(struct bfi_enet_rx_cfg_req), &cfg_req->mh); in bna_bfi_rx_enet_start()
3088 struct bfi_enet_tx_cfg_req *cfg_req = &tx->bfi_enet_cmd.cfg_req; in bna_bfi_tx_enet_start() local
3092 bfi_msgq_mhdr_set(cfg_req->mh, BFI_MC_ENET, in bna_bfi_tx_enet_start()
3094 cfg_req->mh.num_entries = htons( in bna_bfi_tx_enet_start()
3097 cfg_req->num_queues = tx->num_txq; in bna_bfi_tx_enet_start()
3101 bfi_enet_datapath_q_init(&cfg_req->q_cfg[i].q.q, &txq->qpt); in bna_bfi_tx_enet_start()
3102 cfg_req->q_cfg[i].q.priority = txq->priority; in bna_bfi_tx_enet_start()
3104 cfg_req->q_cfg[i].ib.index_addr.a32.addr_lo = in bna_bfi_tx_enet_start()
3106 cfg_req->q_cfg[i].ib.index_addr.a32.addr_hi = in bna_bfi_tx_enet_start()
3108 cfg_req->q_cfg[i].ib.intr.msix_index = in bna_bfi_tx_enet_start()
3112 cfg_req->ib_cfg.int_pkt_dma = BNA_STATUS_T_ENABLED; in bna_bfi_tx_enet_start()
3113 cfg_req->ib_cfg.int_enabled = BNA_STATUS_T_ENABLED; in bna_bfi_tx_enet_start()
3114 cfg_req->ib_cfg.int_pkt_enabled = BNA_STATUS_T_DISABLED; in bna_bfi_tx_enet_start()
3115 cfg_req->ib_cfg.continuous_coalescing = BNA_STATUS_T_ENABLED; in bna_bfi_tx_enet_start()
3116 cfg_req->ib_cfg.msix = (txq->ib.intr_type == BNA_INTR_T_MSIX) in bna_bfi_tx_enet_start()
3118 cfg_req->ib_cfg.coalescing_timeout = in bna_bfi_tx_enet_start()
3120 cfg_req->ib_cfg.inter_pkt_timeout = in bna_bfi_tx_enet_start()
3122 cfg_req->ib_cfg.inter_pkt_count = (u8)txq->ib.interpkt_count; in bna_bfi_tx_enet_start()
3124 cfg_req->tx_cfg.vlan_mode = BFI_ENET_TX_VLAN_WI; in bna_bfi_tx_enet_start()
3125 cfg_req->tx_cfg.vlan_id = htons((u16)tx->txf_vlan_id); in bna_bfi_tx_enet_start()
3126 cfg_req->tx_cfg.admit_tagged_frame = BNA_STATUS_T_ENABLED; in bna_bfi_tx_enet_start()
3127 cfg_req->tx_cfg.apply_vlan_filter = BNA_STATUS_T_DISABLED; in bna_bfi_tx_enet_start()
3130 sizeof(struct bfi_enet_tx_cfg_req), &cfg_req->mh); in bna_bfi_tx_enet_start()