nfp: print a warning when binding VFs to PF driver
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 12 Jun 2019 23:59:03 +0000 (16:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 02:18:27 +0000 (19:18 -0700)
commitf767fc6655ea31eb8af2fc0d2c4461cdb05e3478
treee4a2d8b6c7f0f7ef89b66e9d90b632b1fe4d32bc
parent605fd1c67e6557c2a0694b7dd7a9d70294944bb3
nfp: print a warning when binding VFs to PF driver

Users sometimes mistakenly try to manually bind the PF driver
to the VFs, print a warning message in that case.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_main.c