summaryrefslogtreecommitdiffstats
path: root/sound/i2c/other
diff options
context:
space:
mode:
authorNetanel Belgazal <netanel@amazon.com>2018-09-09 08:15:21 +0000
committerDavid S. Miller <davem@davemloft.net>2018-09-09 07:59:55 -0700
commitef5b0771d247379c90c8bf1332ff32f7f74bff7f (patch)
treeb5d8610f6a4dd013bfbd5452a62eb8660f8f17da /sound/i2c/other
parent772ed869f535b4ec2b134645c951ff22de4d3f79 (diff)
downloadlinux-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/i2c/other')
0 files changed, 0 insertions, 0 deletions