sfc: add start and stop methods to channels
authorEdward Cree <ecree.xilinx@gmail.com>
Mon, 14 Nov 2022 13:15:52 +0000 (13:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2022 09:07:02 +0000 (09:07 +0000)
commit85697f97fd3cdb1766ba53ac2d129bbc34e6df98
tree9f9c86d36b17402d85adc154a4c7f5bebd415431
parente395153984871e33624ce5e3f72038de979f5b3e
sfc: add start and stop methods to channels

The TC extra channel needs to do extra work in efx_{start,stop}_channels()
 to start/stop MAE counter streaming from the hardware.  Add callbacks for
 it to implement.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/efx_channels.c
drivers/net/ethernet/sfc/net_driver.h