]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio VF: fix incorrect struct being used
authorPrasad Kanneganti <prasad.kanneganti@cavium.com>
Wed, 4 Jan 2017 19:31:55 +0000 (11:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Jan 2017 20:31:24 +0000 (15:31 -0500)
commit02710818b1b93b4f1728231d8b134c4fcfbda2b6
treef8fac318a0fdc85795dd9bcc845bb0064a0e2c66
parent0f9042a7fc6445f7c3c856b500b1f2da1dd37c77
liquidio VF: fix incorrect struct being used

The VF driver is using the wrong struct when sending commands to the NIC
firmware, sometimes causing adverse effects in the firmware.  The right
struct is the one that the PF is using, so make the VF use that as well.

Signed-off-by: Prasad Kanneganti <prasad.kanneganti@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/octeon_nic.c