mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
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: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
18e1d2beb6
commit
c3c6336504
@ -61,7 +61,7 @@
|
||||
* rx_alloc_method = (rx_alloc_level > RX_ALLOC_LEVEL_LRO ?
|
||||
* 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_MAX 0x3000
|
||||
|
Loading…
Reference in New Issue
Block a user