/* * Copyright (C) 2014 Alexander Shiyan * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #ifndef __DT_BINDINGS_CLOCK_IMX1_H #define __DT_BINDINGS_CLOCK_IMX1_H #define IMX1_CLK_DUMMY 0 #define IMX1_CLK_CLK32 1 #define IMX1_CLK_CLK16M_EXT 2 #define IMX1_CLK_CLK16M 3 #define IMX1_CLK_CLK32_PREMULT 4 #define IMX1_CLK_PREM 5 #define IMX1_CLK_MPLL 6 #define IMX1_CLK_MPLL_GATE 7 #define IMX1_CLK_SPLL 8 #define IMX1_CLK_SPLL_GATE 9 #define IMX1_CLK_MCU 10 #define IMX1_CLK_FCLK 11 #define IMX1_CLK_HCLK 12 #define IMX1_CLK_CLK48M 13 #define IMX1_CLK_PER1 14 #define IMX1_CLK_PER2 15 #define IMX1_CLK_PER3 16 #define IMX1_CLK_CLKO 17 #define IMX1_CLK_UART3_GATE 18 #define IMX1_CLK_SSI2_GATE 19 #define IMX1_CLK_BROM_GATE 20 #define IMX1_CLK_DMA_GATE 21 #define IMX1_CLK_CSI_GATE 22 #define IMX1_CLK_MMA_GATE 23 #define IMX1_CLK_USBD_GATE 24 #define IMX1_CLK_MAX 25 #endif n value='master' selected='selected'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-01-18 23:03:08 -0800
committerDavid S. Miller <davem@davemloft.net>2017-01-20 12:41:46 -0500
commite048fc50d7bde23136e098e04a324d7e3404408d (patch)
tree942be3963c8a58d2fa891a7d043d34b69e07ea89
parentcdb749cef16bceb74950fc8668f2632ff7cac9aa (diff)
net/mlx5e: Do not recycle pages from emergency reserve
A driver using dev_alloc_page() must not reuse a page allocated from emergency memory reserve. Otherwise all packets using this page will be immediately dropped, unless for very specific sockets having SOCK_MEMALLOC bit set. This issue might be hard to debug, because only a fraction of received packets would be dropped. Fixes: 4415a0319f92 ("net/mlx5e: Implement RX mapped page cache for page recycle") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Tariq Toukan <tariqt@mellanox.com> Cc: Saeed Mahameed <saeedm@mellanox.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>