linux_dsm_epyc7002/drivers/net/ethernet
Bodong Wang 2f69e591e4 {IB, net}/mlx5: E-Switch, Use index of rep for vport to IB port mapping
In the single IB device mode, the mapping between vport number and
rep relies on a counter. However for dynamic vport allocation, it is
desired to keep consistent map of eswitch vport and IB port.

Hence, simplify code to remove the free running counter and instead
use the available vport index during load/unload sequence from the
eswitch.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Suggested-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2019-07-01 16:40:30 -07:00
..
3com
8390
adaptec
aeroflex Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
agere
alacritech drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
allwinner net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
alteon
altera net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
amazon Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
amd amd-xgbe: Mark expected switch fall-throughs 2019-04-26 11:28:47 -04:00
apm
apple
aquantia net: aquantia: fix undefined devm_hwmon_device_register_with_info reference 2019-05-09 09:48:44 -07:00
arc net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
atheros Remove Mysterious Macro Intended to Obscure Weird Behaviours (mmiowb()) 2019-05-06 16:57:52 -07:00
aurora net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
broadcom Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
brocade
cadence Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-05-07 17:22:09 -07:00
calxeda
cavium net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
chelsio treewide: prefix header search paths with $(srctree)/ 2019-05-18 11:49:57 +09:00
cirrus ARM: ep93xx: move network platform data to separate header 2019-04-28 23:08:15 -07:00
cisco net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
cortina net: gemini: remove unnecessary assert 2019-04-18 17:06:15 -07:00
davicom net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
dec
dlink
emulex net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
ezchip net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
faraday
freescale net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
fujitsu
hisilicon net: hns3: remove redundant assignment of l2_hdr to itself 2019-05-08 09:44:37 -07:00
hp
huawei net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
i825xx parisc: Tune LASI LAN for QEMU 2019-05-03 23:47:38 +02:00
ibm net/ibmvnic: Update carrier state after link state change 2019-05-10 15:12:09 -07:00
intel Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
marvell net: mvpp2: cls: Add missing NETIF_F_NTUPLE flag 2019-05-13 08:49:58 -07:00
mediatek net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
mellanox {IB, net}/mlx5: E-Switch, Use index of rep for vport to IB port mapping 2019-07-01 16:40:30 -07:00
micrel net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
microchip
moxa
mscc ocelot: Clean up stats update deferred work 2019-04-16 21:43:53 -07:00
myricom drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
natsemi
neterion Remove Mysterious Macro Intended to Obscure Weird Behaviours (mmiowb()) 2019-05-06 16:57:52 -07:00
netronome nfp: add missing kdoc 2019-05-09 16:41:46 -07:00
ni
nuvoton
nvidia
nxp net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
oki-semi
packetengines
pasemi net: pasemi: remove set but not used variable 'cpyhdr' 2019-04-04 17:36:23 -07:00
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
qualcomm net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
rdc net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
realtek pci-v5.2-changes 2019-05-14 10:30:10 -07:00
renesas net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
rocker ipv4: Flag fib_info with a fib_nh using IPv6 gateway 2019-04-08 15:22:41 -07:00
samsung net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
seeq net: seeq: fix crash caused by not set dev.parent 2019-05-13 09:04:19 -07:00
sfc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
sgi
silan net/ethernet/silan/sc92031: Remove stale comment about mmiowb() 2019-04-08 12:09:18 +01:00
sis
smsc
socionext net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
stmicro - Core Frameworks 2019-05-14 10:39:08 -07:00
sun net: remove 'fallback' argument from dev->ndo_select_queue() 2019-03-20 11:18:55 -07:00
synopsys net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
tehuti
ti net: ethernet: ti: netcp_ethss: fix build 2019-05-13 09:56:05 -07:00
toshiba
tundra
via drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
wiznet Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
xilinx net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
xircom
xscale ARM: ixp4xx: Move IXP4xx QMGR and NPE headers 2019-04-23 16:02:15 +02:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
Makefile
netx-eth.c