summaryrefslogtreecommitdiff
path: root/sock.h
blob: 155e64e7404d74e04323b496f1c05316705eca9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef SOCK_H
#define SOCK_H

#include <stdbool.h>
#include <stdint.h>

extern int af_socket(int af);
extern int pf_socket(void);
extern int pf_socket_type(uint32_t type);
extern void set_nonblocking(int fd);
extern int set_nonblocking_sloppy(int fd);
extern int set_reuseaddr(int fd);
extern void set_sock_qdisc_bypass(int fd, bool verbose);
extern void set_sock_prio(int fd, int prio);
extern void set_tcp_nodelay(int fd);
extern void set_socket_keepalive(int fd);
extern int set_ipv6_only(int fd);
extern void set_mtu_disc_dont(int fd);
extern void set_system_socket_memory(int *vals, size_t len);
extern void reset_system_socket_memory(int *vals, size_t len);

#endif /* SOCK_H */
d>2016-12-15 15:16:21 -0500 commit54971406b7731efd5dbe0b1ccc42dfbd8af1f3b2 (patch) treeb3c5bd3e3d36e0729ea7c5eed1f4542be074fb4e /arch parent2cf026ae85c42f253feb9f420d1b4bc99bd5503d (diff)
drm/amdgpu: disable uvd pg on Tonga.
it does not work with GPU pass through if the VM is not cleanly shutdown leading to a hang when the modules is reloaded. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'arch')