Skip to content

Commit c1bd17e

Browse files
akiyanodavem330
authored andcommitted
net: ena: change default RSS hash function to Toeplitz
Currently in the driver we are setting the hash function to be CRC32. Starting with this commit we want to change the default behaviour so that we set the hash function to be Toeplitz instead. Signed-off-by: Sameeh Jubran <[email protected]> Signed-off-by: Arthur Kiyanovski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f66c2ea commit c1bd17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/amazon/ena/ena_netdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3991,7 +3991,7 @@ static int ena_rss_init_default(struct ena_adapter *adapter)
39913991
}
39923992
}
39933993

3994-
rc = ena_com_fill_hash_function(ena_dev, ENA_ADMIN_CRC32, NULL,
3994+
rc = ena_com_fill_hash_function(ena_dev, ENA_ADMIN_TOEPLITZ, NULL,
39953995
ENA_HASH_KEY_SIZE, 0xFFFFFFFF);
39963996
if (unlikely(rc && (rc != -EOPNOTSUPP))) {
39973997
dev_err(dev, "Cannot fill hash function\n");

0 commit comments

Comments
 (0)