aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorMichael Sit Wei Hong <[email protected]>2023-10-20 11:25:35 +0800
committerDavid S. Miller <[email protected]>2023-10-21 11:53:32 +0100
commit95201f36f395df34321fcddbce12103e8bbe4970 (patch)
treeac1348a166afe560a73c325d48b365172ec5fa8b /net/ipv4/tcp_input.c
parentd2ca43f30611ac41bccfa8352c53f5432f0ecbb0 (diff)
net: stmmac: update MAC capabilities when tx queues are updated
Upon boot up, the driver will configure the MAC capabilities based on the maximum number of tx and rx queues. When the user changes the tx queues to single queue, the MAC should be capable of supporting Half Duplex, but the driver does not update the MAC capabilities when it is configured so. Using the stmmac_reinit_queues() to check the number of tx queues and set the MAC capabilities accordingly. Fixes: 0366f7e06a6b ("net: stmmac: add ethtool support for get/set channels") Cc: <[email protected]> # 5.17+ Signed-off-by: Michael Sit Wei Hong <[email protected]> Signed-off-by: Gan, Yi Fang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions