Lines Matching refs:nic_desc
2036 struct oce_nic_resc_desc *nic_desc = NULL;
2088 nic_desc = (struct oce_nic_resc_desc *) fwcmd->params.rsp.resources;
2091 if ((nic_desc->desc_type == NIC_RESC_DESC_TYPE_V0) ||
2092 (nic_desc->desc_type == NIC_RESC_DESC_TYPE_V1)) {
2096 nic_desc = (struct oce_nic_resc_desc *) \
2097 ((char *)nic_desc + nic_desc->desc_len);
2104 sc->max_vlans = HOST_16(nic_desc->vlan_count);
2105 sc->nwqs = HOST_16(nic_desc->txq_count);
2111 sc->nrssqs = HOST_16(nic_desc->rssq_count);
2135 struct oce_nic_resc_desc *nic_desc = NULL;
2188 nic_desc = (struct oce_nic_resc_desc *) fwcmd->params.rsp.resources;
2191 if ((nic_desc->desc_type == NIC_RESC_DESC_TYPE_V0) ||
2192 (nic_desc->desc_type == NIC_RESC_DESC_TYPE_V1)) {
2196 nic_desc = (struct oce_nic_resc_desc *) \
2197 ((char *)nic_desc + nic_desc->desc_len);
2204 sc->max_vlans = nic_desc->vlan_count;
2205 sc->nwqs = HOST_32(nic_desc->txq_count);
2211 sc->nrssqs = HOST_32(nic_desc->rssq_count);