Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3c63365 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

sfc: Enable heuristic selection between page and skb RX buffers



Now that we can tell whether GRO is being applied, this heuristic is
effective once more.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 18e1d2be
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -61,7 +61,7 @@
 *   rx_alloc_method = (rx_alloc_level > RX_ALLOC_LEVEL_LRO ?
 *   rx_alloc_method = (rx_alloc_level > RX_ALLOC_LEVEL_LRO ?
 *                      RX_ALLOC_METHOD_PAGE : RX_ALLOC_METHOD_SKB)
 *                      RX_ALLOC_METHOD_PAGE : RX_ALLOC_METHOD_SKB)
 */
 */
static int rx_alloc_method = RX_ALLOC_METHOD_PAGE;
static int rx_alloc_method = RX_ALLOC_METHOD_AUTO;


#define RX_ALLOC_LEVEL_LRO 0x2000
#define RX_ALLOC_LEVEL_LRO 0x2000
#define RX_ALLOC_LEVEL_MAX 0x3000
#define RX_ALLOC_LEVEL_MAX 0x3000