]> git.baikalelectronics.ru Git - kernel.git/commit
net: enetc: increase TX ring size
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 16 Apr 2021 21:22:21 +0000 (00:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Apr 2021 00:08:39 +0000 (17:08 -0700)
commit23add0f1a03dd0e7d128efadbd1dd9fb046e439e
tree269ee546bfe069b8dc835442b531a8f0b53c1a75
parent335a19a9e9f15837d05cd98cbf04b6798b3d76ec
net: enetc: increase TX ring size

Now that commit b6803ad4c37f ("net: enetc: increase RX ring default
size") has increased the RX ring size, it is quite easy to congest the
TX rings when the traffic is predominantly XDP_TX, as the RX ring is
quite a bit larger than the TX one.

Since we bit the bullet and did the expensive thing already (larger RX
rings consume more memory pages), it seems quite foolish to keep the TX
rings small. So make them equally sized with TX.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc.h