commit | c821e617896e99b82fa82777b1ac1263c51eea64 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Mon Jun 05 17:01:46 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 07 12:51:38 2017 -0400 |
tree | f0c5f54f9ae57e6ec33120839922a40a7813c348 | |
parent | cd083ce158cf43f8c26ad9a552ba25b222536e1e [diff] |
nfp: prepare print macros for use without netdev To be able to reuse print macros easily with control vNICs make the macros check if netdev pointer is populated and use dev_* print functions otherwise. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>