Lines Matching refs:rx_descriptors
62 static int rx_descriptors = SPIDER_NET_RX_DESCRIPTORS_DEFAULT;
65 module_param(rx_descriptors, int, 0444);
68 MODULE_PARM_DESC(rx_descriptors, "number of descriptors used " \
2377 (tx_descriptors + rx_descriptors) * sizeof(struct spider_net_descr);
2389 card->rx_chain.num_desc = rx_descriptors;
2392 card->tx_chain.ring = card->darray + rx_descriptors;
2568 if (rx_descriptors < SPIDER_NET_RX_DESCRIPTORS_MIN) {
2569 rx_descriptors = SPIDER_NET_RX_DESCRIPTORS_MIN;
2570 pr_info("adjusting rx descriptors to %i.\n", rx_descriptors);
2572 if (rx_descriptors > SPIDER_NET_RX_DESCRIPTORS_MAX) {
2573 rx_descriptors = SPIDER_NET_RX_DESCRIPTORS_MAX;
2574 pr_info("adjusting rx descriptors to %i.\n", rx_descriptors);