Skip to content

Commit

Permalink
DPDK: make Sandesh quiet
Browse files Browse the repository at this point in the history
Insufficient space in external memory buffer is not actually
an error for the vRouter/DPDK, so we supress those messages
by using -DSANDESH_QUIET.

Change-Id: I5bc0a51f7c4659f2733a72e9b45322d117265a87
Closes-bug: #1546291
  • Loading branch information
semihalf-berestovskyy-andriy committed Feb 25, 2016
1 parent bc92292 commit a5a1cab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions SConscript
Expand Up @@ -30,6 +30,10 @@ env.Append(CPPPATH = [env['TOP'] + '/vrouter/sandesh/gen-c'])
env.Append(CPPPATH = ['#tools'])
env.Append(CPPPATH = ['#tools/sandesh/library/c'])

# Make Sandesh quiet for production
if 'production' in env['OPT']:
DefaultEnvironment().Append(CPPDEFINES='SANDESH_QUIET')

vr_root = './'
makefile = vr_root + 'Makefile'
dp_dir = Dir(vr_root).srcnode().abspath + '/'
Expand Down
2 changes: 1 addition & 1 deletion host/SConscript
Expand Up @@ -14,7 +14,7 @@ libvrouter_sources = [
'vr_host_packet.c',
'vr_host_io.c',
'vrouter_host_mod.c',
'ulinux.c'
'ulinux.c'
]
# CFLAGS
env.Append(CCFLAGS = '-g')
Expand Down

0 comments on commit a5a1cab

Please sign in to comment.