summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2016-02-09 15:57:44 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-16 23:21:47 +0300
commitb0eed40ea15235b1dd138093901569077ba532ee (patch)
tree5e0b852d33f65cc72c30fdac8ae787cbb4140575 /net/sunrpc
parentb236872739df6410c7c60874ff8f3fb188ffb9d0 (diff)
downloadlinux-b0eed40ea15235b1dd138093901569077ba532ee.tar.xz
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: 66e49dedada6 ("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>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions