| 1128 | } |
| 1129 | |
| 1130 | static void ena_com_hash_key_destroy(struct ena_com_dev *ena_dev) |
| 1131 | { |
| 1132 | struct ena_rss *rss = &ena_dev->rss; |
| 1133 | |
| 1134 | if (rss->hash_key) |
| 1135 | ENA_MEM_FREE_COHERENT(ena_dev->dmadev, |
| 1136 | sizeof(*rss->hash_key), |
| 1137 | rss->hash_key, |
| 1138 | rss->hash_key_dma_addr, |
| 1139 | rss->hash_key_mem_handle); |
| 1140 | rss->hash_key = NULL; |
| 1141 | } |
| 1142 | |
| 1143 | static int ena_com_hash_ctrl_init(struct ena_com_dev *ena_dev) |
| 1144 | { |
no outgoing calls
no test coverage detected