| 720854c9 | 17-Sep-2020 |
Michal Krawczyk <[email protected]> |
net/ena/base: do not use hardcoded RSS key buffer size
It's well defined how the RSS key buffer looks from the device perspective, so the constant value should be used instead of magic number. Also
net/ena/base: do not use hardcoded RSS key buffer size
It's well defined how the RSS key buffer looks from the device perspective, so the constant value should be used instead of magic number. Also it doesn't has to be calculated dynamically.
Signed-off-by: Michal Krawczyk <[email protected]> Reviewed-by: Igor Chauskin <[email protected]> Reviewed-by: Guy Tzalik <[email protected]> Reviewed-by: Stephen Hemminger <[email protected]>
show more ...
|
| a366fe41 | 08-Apr-2020 |
Michal Krawczyk <[email protected]> |
net/ena/base: use 48-bit memory addresses
ENA device is using 48-bit memory for IO. Because of that, the upper limit had to be updated.
From the driver perspective, it's just a cosmetic change to m
net/ena/base: use 48-bit memory addresses
ENA device is using 48-bit memory for IO. Because of that, the upper limit had to be updated.
From the driver perspective, it's just a cosmetic change to make definition of the structure 'ena_common_mem_addr' more descriptive and the address value was verified anyway for the valid range in the function 'ena_com_mem_addr_set()'.
Signed-off-by: Michal Krawczyk <[email protected]> Reviewed-by: Igor Chauskin <[email protected]> Reviewed-by: Guy Tzalik <[email protected]>
show more ...
|