]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: fix return value of ena_com_config_llq_info()
authorSameeh Jubran <sameehj@amazon.com>
Wed, 1 May 2019 13:47:07 +0000 (16:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 May 2019 04:14:46 +0000 (00:14 -0400)
commitbcb7d76a4f5124105f0817fe3e708ca6c3ec3c59
tree6d3692ec12b70a0b08f61220a159f17f5966de9d
parentafd31e283f701d290ff8dc456bc749e7817428b4
net: ena: fix return value of ena_com_config_llq_info()

ena_com_config_llq_info() returns 0 even if ena_com_set_llq() fails.
Return the failure code of ena_com_set_llq() in case it fails.

fixes: 62336430c9d1 ("net: ena: add functions for handling Low Latency Queues in ena_com")

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