diff options
author | Netanel Belgazal <netanel@amazon.com> | 2018-09-09 08:15:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-09 07:59:55 -0700 |
commit | ef5b0771d247379c90c8bf1332ff32f7f74bff7f (patch) | |
tree | b5d8610f6a4dd013bfbd5452a62eb8660f8f17da /sound/xen/xen_snd_front_cfg.c | |
parent | 772ed869f535b4ec2b134645c951ff22de4d3f79 (diff) | |
download | linux-ef5b0771d247379c90c8bf1332ff32f7f74bff7f.tar.bz2 |
net: ena: fix driver when PAGE_SIZE == 64kB
The buffer length field in the ena rx descriptor is 16 bit, and the
current driver passes a full page in each ena rx descriptor.
When PAGE_SIZE equals 64kB or more, the buffer length field becomes
zero.
To solve this issue, limit the ena Rx descriptor to use 16kB even
when allocating 64kB kernel pages. This change would not impact ena
device functionality, as 16kB is still larger than maximum MTU.
Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/xen/xen_snd_front_cfg.c')
0 files changed, 0 insertions, 0 deletions