Lines Matching refs:tx_cfg
819 struct gve_tx_queue_config tx_cfg; member
1103 static inline u32 gve_num_tx_qpls(const struct gve_tx_queue_config *tx_cfg, in gve_num_tx_qpls() argument
1108 return tx_cfg->num_queues + tx_cfg->num_xdp_queues; in gve_num_tx_qpls()
1127 return priv->tx_cfg.max_queues + rx_qid; in gve_rx_qpl_id()
1130 static inline u32 gve_get_rx_qpl_id(const struct gve_tx_queue_config *tx_cfg, in gve_get_rx_qpl_id() argument
1133 return tx_cfg->max_queues + rx_qid; in gve_get_rx_qpl_id()
1141 static inline u32 gve_rx_start_qpl_id(const struct gve_tx_queue_config *tx_cfg) in gve_rx_start_qpl_id() argument
1143 return gve_get_rx_qpl_id(tx_cfg, 0); in gve_rx_start_qpl_id()
1158 if (id < gve_rx_start_qpl_id(&priv->tx_cfg)) in gve_qpl_dma_dir()
1172 return priv->tx_cfg.num_queues + priv->tx_cfg.num_xdp_queues; in gve_num_tx_queues()
1177 return priv->tx_cfg.num_queues + queue_id; in gve_xdp_tx_queue_id()