linux/drivers/net/ethernet/mellanox/mlx5/core
Saeed Mahameed b0eed40ea1 net/mlx5e: Use static constant netdevice ndos
Currently our netdevice ops is a one static global variable which
is referenced by all mlx5e netdevice instances. This can be
problematic when different driver instances do not share same
HW capabilities (e.g SRIOV PF and VFs probed to the host).

Now we have two constant global netdevice ops variables, one
for basic netdevice ops and the other with extended SRIOV ops,
on netdevice construction we choose the one suitable for
current device capabilities.

Fixes: 66e49dedad ("net/mlx5e: Add support for SR-IOV ndos")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-16 15:21:47 -05:00
..
alloc.c net/mlx5e: Allocate DMA coherent memory on reader NUMA node 2015-07-27 00:29:17 -07:00
cmd.c asm-generic cleanups 2015-11-06 14:22:15 -08:00
cq.c net/mlx5_core: New init and exit flow for mlx5_core 2015-09-28 22:19:50 -07:00
debugfs.c net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
en_clock.c net/mlx5e: Add PTP Hardware Clock (PHC) support 2016-01-05 14:11:50 -05:00
en_ethtool.c net/mlx5e: Add PTP Hardware Clock (PHC) support 2016-01-05 14:11:50 -05:00
en_fs.c net/mlx5e: Rename en_flow_table.c to en_fs.c 2015-12-12 00:15:24 -05:00
en_main.c net/mlx5e: Use static constant netdevice ndos 2016-02-16 15:21:47 -05:00
en_rx.c net/mlx5e: Add HW timestamping (TS) support 2016-01-05 14:11:50 -05:00
en_tx.c net/mlx5e: Add HW timestamping (TS) support 2016-01-05 14:11:50 -05:00
en_txrx.c mlx5: support napi_complete_done() 2015-11-18 16:17:39 -05:00
en.h Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
eq.c Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
eswitch.c net/mlx5: Use flow steering infrastructure for mlx5_en 2015-12-12 00:15:24 -05:00
eswitch.h net/mlx5: Use flow steering infrastructure for mlx5_en 2015-12-12 00:15:24 -05:00
fs_cmd.c net/mlx5_core: Connect flow tables 2016-01-11 17:48:53 -05:00
fs_cmd.h net/mlx5_core: Connect flow tables 2016-01-11 17:48:53 -05:00
fs_core.c net/mlx5_core: Export flow steering API 2016-01-11 17:48:53 -05:00
fs_core.h net/mlx5_core: Set priority attributes 2016-01-11 17:48:53 -05:00
fw.c net/mlx5: Fix query E-Switch capabilities 2015-12-12 00:15:23 -05:00
health.c net/mlx5_core: Add pci error handlers to mlx5_core driver 2015-10-14 19:14:42 -07:00
Kconfig net/mlx5e: Add PTP Hardware Clock (PHC) support 2016-01-05 14:11:50 -05:00
mad.c IB/core cleanup: Add const on args - device->process_mad 2015-06-02 09:33:13 -04:00
main.c Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
Makefile net/mlx5e: Add HW timestamping (TS) support 2016-01-05 14:11:50 -05:00
mcg.c net/mlx5_core: HW data structs/types definitions cleanup 2015-05-30 18:23:11 -07:00
mlx5_core.h net/mlx5_core: Introduce access function to read internal timer 2016-01-05 14:11:50 -05:00
mr.c net/mlx5_core: New init and exit flow for mlx5_core 2015-09-28 22:19:50 -07:00
pagealloc.c net/mlx5_core: Add base sriov support 2015-12-03 12:08:43 -05:00
pd.c net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
port.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-10-20 06:08:27 -07:00
qp.c {IB, net}/mlx5: Move the modify QP operation table to mlx5_ib 2016-01-21 12:01:09 -05:00
sriov.c net/mlx5: E-Switch, Add SR-IOV (FDB) support 2015-12-03 12:08:46 -05:00
srq.c net/mlx5_core: Export transport objects 2016-01-21 12:01:08 -05:00
transobj.c IB/mlx5: Support setting Ethernet priority for Raw Packet QPs 2016-01-21 12:01:09 -05:00
uar.c net/mlx5e: TX latency optimization to save DMA reads 2015-07-27 00:29:17 -07:00
vport.c Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
wq.c net/mlx5e: Allocate DMA coherent memory on reader NUMA node 2015-07-27 00:29:17 -07:00
wq.h net/mlx5e: Allocate DMA coherent memory on reader NUMA node 2015-07-27 00:29:17 -07:00