Searched refs:nrds_rings (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ctx.c | 269 int i, nrds_rings, nsds_rings; in nx_fw_cmd_create_rx_ctx() local 277 nrds_rings = adapter->max_rds_rings; in nx_fw_cmd_create_rx_ctx() 281 SIZEOF_HOSTRQ_RX(nx_hostrq_rx_ctx_t, nrds_rings, nsds_rings); in nx_fw_cmd_create_rx_ctx() 283 SIZEOF_CARDRSP_RX(nx_cardrsp_rx_ctx_t, nrds_rings, nsds_rings); in nx_fw_cmd_create_rx_ctx() 313 prq->num_rds_rings = cpu_to_le16(nrds_rings); in nx_fw_cmd_create_rx_ctx() 318 (sizeof(nx_hostrq_rds_ring_t) * nrds_rings); in nx_fw_cmd_create_rx_ctx() 324 for (i = 0; i < nrds_rings; i++) { in nx_fw_cmd_create_rx_ctx()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 248 u8 i, nrds_rings, nsds_rings; in qlcnic_82xx_fw_cmd_create_rx_ctx() local 257 nrds_rings = adapter->max_rds_rings; in qlcnic_82xx_fw_cmd_create_rx_ctx() 260 rq_size = SIZEOF_HOSTRQ_RX(struct qlcnic_hostrq_rx_ctx, nrds_rings, in qlcnic_82xx_fw_cmd_create_rx_ctx() 262 rsp_size = SIZEOF_CARDRSP_RX(struct qlcnic_cardrsp_rx_ctx, nrds_rings, in qlcnic_82xx_fw_cmd_create_rx_ctx() 300 prq->num_rds_rings = cpu_to_le16(nrds_rings); in qlcnic_82xx_fw_cmd_create_rx_ctx() 305 (sizeof(struct qlcnic_hostrq_rds_ring) * nrds_rings); in qlcnic_82xx_fw_cmd_create_rx_ctx() 311 for (i = 0; i < nrds_rings; i++) { in qlcnic_82xx_fw_cmd_create_rx_ctx()
|