summaryrefslogtreecommitdiff
path: root/tprintf.h
blob: b2ca69ea6c327db8b2928174555e3d9186f4fc5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef TPRINTF_H
#define TPRINTF_H

#include "built_in.h"
#include "colors.h"
#include "colorize.h"

extern void tprintf_init(void);
extern void tprintf(char *msg, ...) __check_format_printf(1, 2);
extern void tprintf_flush(void);
extern void tprintf_cleanup(void);

extern void tputchar_safe(int c);
extern void tputs_safe(const char *str, size_t len);

#define DEFAULT_TTY_SIZE	80

#endif /* TPRINTF_H */
d>2016-09-23 00:03:37 -0700 commit691e412132f07bd566934b7cbc430e87c5656de1 (patch) tree243b0cc23e98a75b91b3fb5a8546f321fe28fa94 parentcdd0766d7da19085e88df86d1e5e21d9fe3d374f (diff)
ixgbe: simplify the logic for setting VLAN filtering
Simplify the logic for setting VLNCTRL.VFE by checking the VMDQ flag and 82598 MAC instead of having to maintain a list of MAC types. Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat