Searched hist:"70 f5817deddbc6ef3faa35841cab83c280cc653a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | diff 70f5817deddbc6ef3faa35841cab83c280cc653a Tue Jan 18 15:41:28 CST 2022 Robert Hancock <robert.hancock@calian.com> net: axienet: limit minimum TX ring size
The driver will not work properly if the TX ring size is set to below MAX_SKB_FRAGS + 1 since it needs to hold at least one full maximally fragmented packet in the TX ring. Limit setting the ring size to below this value.
Fixes: 8b09ca823ffb4 ("net: axienet: Make RX/TX ring sizes configurable") Signed-off-by: Robert Hancock <robert.hancock@calian.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|