#ifndef XEN_HVC_CONSOLE_H #define XEN_HVC_CONSOLE_H extern struct console xenboot_console; #ifdef CONFIG_HVC_XEN void xen_console_resume(void); void xen_raw_console_write(const char *str); __printf(1, 2) void xen_raw_printk(const char *fmt, ...); #else static inline void xen_console_resume(void) { } static inline void xen_raw_console_write(const char *str) { } static inline __printf(1, 2) void xen_raw_printk(const char *fmt, ...) { } #endif #endif /* XEN_HVC_CONSOLE_H */ ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2017-02-06 16:55:42 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-07 13:31:00 -0500
commitc6d30e8391b85e00eb544e6cf047ee0160ee9938 (patch)
tree4204297fe6a0fe740463c0583682b3fe8f352241
parentfa3e93e86cc3d1809fba67cb138883ed4bb74a5f (diff)
bnxt_en: Add basic XDP support.
Add basic ndo_xdp support to setup and query program, configure the NIC to run in rx page mode, and support XDP_PASS, XDP_DROP, XDP_ABORTED actions only. v3: Pass modified offset and length to stack for XDP_PASS. Remove Kconfig option. v2: Added trace_xdp_exception() Added dma_syncs. Added XDP headroom support. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Tested-by: Andy Gospodarek <gospo@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>