linux/drivers/net/ethernet/netronome/nfp/nfpcore
Dirk van der Merwe 447e9ebfc1 nfp: set config bit (ifup/ifdown) on netdev open/close
When a netdev (PF netdev or representor) is opened or closed, set the
physical port config bit appropriately - which powers UP/DOWN the PHY
module for the physical interface.

The PHY is powered first in the HW/FW configuration step when opening
the netdev and again last in the HW/FW configuration step when closing
the netdev.

This is only applicable when there is a physical port associated with
the netdev and if the NSP support this. Otherwise we silently ignore
this step.

The 'nfp_eth_set_configured' can actually return positive values -
updated the function documentation appropriately.

Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-25 12:29:45 -07:00
..
nfp6000
crc32.h
nfp6000_pcie.c nfp: shorten CPP core probe logs 2017-05-30 11:27:05 -04:00
nfp6000_pcie.h
nfp_arm.h
nfp_cpp.h nfp: remove unused nfp_cpp_area_check_range() 2017-06-27 15:48:47 -04:00
nfp_cppcore.c nfp: remove unused nfp_cpp_area_check_range() 2017-06-27 15:48:47 -04:00
nfp_cpplib.c nfp: move area mapping helper into nfpcore 2017-06-27 15:48:47 -04:00
nfp_hwinfo.c nfp: remove automatic caching of HWInfo 2017-06-09 12:52:08 -04:00
nfp_mip.c nfp: report application FW build name in ethtool -i 2017-06-09 12:52:09 -04:00
nfp_mutex.c nfp: don't wait for resources indefinitely 2017-05-30 11:27:06 -04:00
nfp_nffw.c nfp: add support for reading nffw info 2017-02-10 15:52:25 -05:00
nfp_nffw.h nfp: add helper for mapping runtime symbols 2017-06-27 15:48:47 -04:00
nfp_nsp_cmds.c nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_nsp_eth.c nfp: set config bit (ifup/ifdown) on netdev open/close 2017-07-25 12:29:45 -07:00
nfp_nsp.c nfp: remove automatic caching of RTsym table 2017-06-09 12:52:08 -04:00
nfp_nsp.h nfp: map mac_stats and vf_cfg BARs 2017-06-25 11:42:01 -04:00
nfp_resource.c nfp: don't wait for resources indefinitely 2017-05-30 11:27:06 -04:00
nfp_rtsym.c nfp: add helper for mapping runtime symbols 2017-06-27 15:48:47 -04:00
nfp_target.c
nfp.h nfp: remove automatic caching of HWInfo 2017-06-09 12:52:08 -04:00