Lines Matching refs:rx_descriptors
50 static int rx_descriptors = SPIDER_NET_RX_DESCRIPTORS_DEFAULT; variable
53 module_param(rx_descriptors, int, 0444);
56 MODULE_PARM_DESC(rx_descriptors, "number of descriptors used " \
2336 size_add(tx_descriptors, rx_descriptors))); in spider_net_alloc_card()
2347 card->rx_chain.num_desc = rx_descriptors; in spider_net_alloc_card()
2350 card->tx_chain.ring = card->darray + rx_descriptors; in spider_net_alloc_card()
2525 if (rx_descriptors < SPIDER_NET_RX_DESCRIPTORS_MIN) { in spider_net_init()
2526 rx_descriptors = SPIDER_NET_RX_DESCRIPTORS_MIN; in spider_net_init()
2527 pr_info("adjusting rx descriptors to %i.\n", rx_descriptors); in spider_net_init()
2529 if (rx_descriptors > SPIDER_NET_RX_DESCRIPTORS_MAX) { in spider_net_init()
2530 rx_descriptors = SPIDER_NET_RX_DESCRIPTORS_MAX; in spider_net_init()
2531 pr_info("adjusting rx descriptors to %i.\n", rx_descriptors); in spider_net_init()