liquidio: disallow enabling firmware debug from a VF
authorDerek Chickles <derek.chickles@cavium.com>
Fri, 9 Jun 2017 02:20:36 +0000 (19:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 16:50:55 +0000 (12:50 -0400)
commit7fa136531e646b0608b08a6afa85030a57a7ff33
treee9413e9318652fb97782bd5636b08f31aff372af
parentfe741e2362f33bbea813bcc3a921de356c6653db
liquidio: disallow enabling firmware debug from a VF

Disallow enabling firmware debug from a VF.  Only PF is allowed to do that.

Signed-off-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c