net/sfc: support datapath logs which may be compiled out
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 13 Oct 2020 13:45:32 +0000 (14:45 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:48:18 +0000 (19:48 +0200)
commit24715bb93ab385ab4a2b7d7114150b2f9fe767e9
tree98a60ec773359095d092117df166b0cb693f91ee
parent2d98a5a6c224cedec8fe3150be2149258cc150ad
net/sfc: support datapath logs which may be compiled out

Add datapath log level which limits logs included in build since
on datapath it is too expensive to dive into rte_log() function
even if it does nothing.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_dp.h