]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: add support for changing max_header_size in LLQ mode
authorSameeh Jubran <sameehj@amazon.com>
Mon, 3 Jun 2019 14:43:26 +0000 (17:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 20:30:38 +0000 (13:30 -0700)
commit1057b224d8b36ad9f7c247e8e086fd8605e722a2
tree4bdf694ed86cd5b10c2858e6e44542467f66fca2
parentd9c1d75ff7ea8e52325e031af16df97971568ef5
net: ena: add support for changing max_header_size in LLQ mode

Up until now the driver always used a single setting for the sizes
of the different parts of the llq entry - 128 for entry size, 2 for
descriptors before header and 96 for maximum header size.

The current code makes sure that the parts of the llq entry are
compatible with each other and with the initial llq entry size given
by the device.

This commit changes this code to support any llq entry size

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_com.c