linux_dsm_epyc7002/drivers/net/ethernet
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
..
3com
8390
adaptec
adi
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon net: ena: update ena driver to version 1.2.0 2017-06-23 14:15:11 -04:00
amd drivers: net: add missing interrupt.h include 2017-07-18 11:13:41 -07:00
apm xgene: Don't fail probe, if there is no clk resource for SGMII interfaces 2017-07-13 09:21:15 -07:00
apple net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
aquantia
arc
atheros net: atl1c: fix spelling mistake: "droppted" -> "dropped" 2017-06-29 12:24:26 -04:00
aurora
broadcom bnxt_en: Use SWITCHDEV_SET_OPS(). 2017-07-24 21:20:52 -07:00
brocade
cadence net: cadence: macb: constify pci_device_id. 2017-07-17 13:37:15 -07:00
calxeda
cavium liquidio: fix implicit irq include causing build failures 2017-07-24 16:26:27 -07:00
chelsio Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-07-21 03:38:43 +01:00
cirrus
cisco cisco: enic: Fic an error handling path in 'vnic_dev_init_devcmd2()' 2017-07-11 10:54:15 -07:00
davicom
dec net: tulip: remove useless code in tulip_init_one() 2017-07-19 16:33:57 -07:00
dlink
emulex
ezchip
faraday
freescale net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
fujitsu
hisilicon Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-07-21 03:38:43 +01:00
hp
i825xx
ibm ibmvnic: Check for transport event on driver resume 2017-07-24 17:40:10 -07:00
intel xdp: Add batching support to redirect map 2017-07-17 09:48:06 -07:00
marvell net: mvpp2: remove mvpp2_pool_refill() 2017-06-22 13:42:56 -04:00
mediatek net: ethernet: mediatek: remove useless code in mtk_poll_tx() 2017-07-19 16:33:57 -07:00
mellanox mlx4_en: remove unnecessary error check 2017-07-24 17:26:32 -07:00
micrel
microchip
moxa
myricom
natsemi
neterion s2io: Remove UFO support. 2017-07-17 09:52:57 -07:00
netronome nfp: set config bit (ifup/ifdown) on netdev open/close 2017-07-25 12:29:45 -07:00
nuvoton
nvidia
nxp net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
oki-semi
packetengines net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
pasemi
qlogic qlcnic: remove unnecessary static in qlcnic_dump_fw() 2017-07-19 16:33:57 -07:00
qualcomm net: qcom/emac: fix double free of SGMII IRQ during shutdown 2017-07-14 08:55:32 -07:00
rdc
realtek
renesas
rocker Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-30 12:43:08 -04:00
samsung
seeq
sfc sfc: Add ethtool -m support for QSFP modules 2017-07-19 16:23:28 -07:00
sgi ioc3-eth: store pointer to net_device for priviate area 2017-07-15 14:28:56 -07:00
silan
sis
smsc smsc911x: Add check for ioremap_nocache() return code 2017-07-12 14:35:43 -07:00
stmicro NET: dwmac: Make dwmac reset unconditional 2017-07-19 13:52:19 -07:00
sun net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
synopsys drivers: net: add missing interrupt.h include 2017-07-18 11:13:41 -07:00
tehuti net: tehuti: don't process data if it has not been copied from userspace 2017-07-19 22:48:02 -07:00
ti net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
tile
toshiba networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
tundra
via
wiznet
xilinx net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c net: ec_bhf: constify pci_device_id. 2017-07-17 13:37:15 -07:00
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c