def show_coalesce(devname):
 try:
  coalesce = ethtool.get_coalesce(devname)
 except IOError:
  log.error('Interrupt coalescing not supported on {0}'.format(devname))
  return 'Not supported'
 ret = {}
 for (key, value) in coalesce.items():
  ret[ethtool_coalesce_remap[key]] = coalesce[key]
 return ret

def show_coalesce ( devname ) : try : coalesce = ethtool . get_coalesce ( devname ) except IOError : log . error ( 'Interrupt coalescing not supported on {0}' . format ( devname ) ) return 'Not supported' ret = { } for ( key , value ) in coalesce . items ( ) : ret [ ethtool_coalesce_remap [ key ] ] = coalesce [ key ] return ret
queries the specified network device for coalescing information cli example: .