drivers: allow pruning log during build
authorStephen Hemminger <shemming@brocade.com>
Thu, 9 Jul 2015 23:01:05 +0000 (16:01 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 30 Jul 2015 18:16:04 +0000 (20:16 +0200)
commit7cf90aeb8de4692d971764ab5a47b52f26026307
tree7ac949be83af64e21b05422d6641af7d74fc32d2
parentfa400b6268a4860861e81a944d5cd7566c683628
drivers: allow pruning log during build

Some drivers was not following DPDK convention and
was leaving logging always in even if LOG_LEVEL was configured
to disable debug logs.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
[Thomas: apply same fix to i40e, fm10k and bnx2x]
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
drivers/net/bnx2x/bnx2x_logs.h
drivers/net/e1000/e1000_logs.h
drivers/net/fm10k/fm10k_logs.h
drivers/net/i40e/i40e_logs.h
drivers/net/ixgbe/ixgbe_logs.h