]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: update the TX frame queues on DPNI_IRQ_EVENT_ENDPOINT_CHANGED
authorIoana Ciornei <ioana.ciornei@nxp.com>
Wed, 30 Oct 2019 23:18:30 +0000 (01:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 21:19:45 +0000 (14:19 -0700)
commita4db76504fbfd277a0f13fd786226e65241deb8a
tree79058fd197ee3b910d58e72d003126ec18b703b4
parent4ca7702b4b2cc126f1d6909109b1aaeee2f7f059
dpaa2-eth: update the TX frame queues on DPNI_IRQ_EVENT_ENDPOINT_CHANGED

Currently the function is called at every link up event, although the
FQID values will only change when the DPNI is disconnected from the
current object and reconnected to a different one.

The patch also avoids the forward declaration of update_tx_fqids.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c