net: ena: fix swapped parameters when calling ena_com_indirect_table_fill_entry
authorSameeh Jubran <sameehj@amazon.com>
Wed, 1 May 2019 13:47:03 +0000 (16:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 May 2019 04:14:46 +0000 (00:14 -0400)
commit3c6eeff295f01bdf1c6c3addcb0a04c0c6c029e9
tree15103dc039f3345e59d3b8e8bd21f6f2868080a5
parent93aa4792c3908eac87ddd368ee0fe0564148232b
net: ena: fix swapped parameters when calling ena_com_indirect_table_fill_entry

second parameter should be the index of the table rather than the value.

Fixes: 1738cd3ed342 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Saeed Bshara <saeedb@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_ethtool.c