OSDN Git Service

iavf: Fix up debug print macro
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 17 Jun 2019 23:10:58 +0000 (16:10 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 28 Jun 2019 22:59:56 +0000 (15:59 -0700)
commit75051ce4c5d8e9ef3d74364803540355cd35e05b
tree3c13e3f69dd5afff9d6995d4bddf0c3365308652
parentab6973aed6200510662856afce5e3d1e386b7b64
iavf: Fix up debug print macro

This aligns the iavf_debug() macro with the other Intel drivers.

Add the bus number, bus_id field to i40e_bus_info so output shows
each physical port(i.e func) in following format:
  [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]
domains are numbered from 0 to ffff), bus (0-ff), slot (0-1f) and
function (0-7).

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
drivers/net/ethernet/intel/iavf/iavf_osdep.h