Revert "ANDROID: Make vsock virtio packet buff size configurable"
This reverts commit f465fb7e1a
.
Now that vsock is more careful with its page allocations, overriding
this option doesn't achieve an awful lot.
Bug: 421244320
Bug: 149494272
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I3ff4e92407f97f547528da459c1dad3519eb8b04
This commit is contained in:
committed by
Isaac Manjarres
parent
d89d5bb9ca
commit
be350eab93
@@ -137,8 +137,7 @@ static inline size_t virtio_vsock_skb_len(struct sk_buff *skb)
|
||||
*/
|
||||
#define VIRTIO_VSOCK_DEFAULT_RX_BUF_SIZE SKB_WITH_OVERHEAD(1024 * 4)
|
||||
#define VIRTIO_VSOCK_MAX_BUF_SIZE 0xFFFFFFFFUL
|
||||
#define VIRTIO_VSOCK_MAX_PKT_BUF_SIZE virtio_transport_max_vsock_pkt_buf_size
|
||||
extern uint virtio_transport_max_vsock_pkt_buf_size;
|
||||
#define VIRTIO_VSOCK_MAX_PKT_BUF_SIZE (1024 * 64)
|
||||
|
||||
enum {
|
||||
VSOCK_VQ_RX = 0, /* for host to guest data */
|
||||
|
@@ -29,10 +29,6 @@
|
||||
static void virtio_transport_cancel_close_work(struct vsock_sock *vsk,
|
||||
bool cancel_timeout);
|
||||
|
||||
uint virtio_transport_max_vsock_pkt_buf_size = 64 * 1024;
|
||||
module_param(virtio_transport_max_vsock_pkt_buf_size, uint, 0444);
|
||||
EXPORT_SYMBOL_GPL(virtio_transport_max_vsock_pkt_buf_size);
|
||||
|
||||
static const struct virtio_transport *
|
||||
virtio_transport_get_ops(struct vsock_sock *vsk)
|
||||
{
|
||||
|
Reference in New Issue
Block a user