numam-dpdk/drivers
Michal Krawczyk 3c7e44c7d3 net/ena/base: convert values to 32-bit before shifting
When filling out meta descriptor, all values should be converted to the
desired type (u32 in case of the meta descriptor) to prevent losing the
data.

For example, io_sq->phase is of type u8. If
ENA_ETH_IO_TX_META_DESC_PHASE_SHIFT would be greater then 8, all data
would be lost.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
2020-09-30 19:19:09 +02:00
..
baseband mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
bus bus/pci: fix mapping BAR containing MSI-X table 2020-09-28 11:39:14 +02:00
common common/octeontx2: upgrade mbox definition to version 9 2020-09-30 19:19:09 +02:00
compress mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
crypto eal: remove deprecated coherent IO memory barriers 2020-09-23 13:40:26 +02:00
event eal: remove deprecated coherent IO memory barriers 2020-09-23 13:40:26 +02:00
mempool build: remove makefiles 2020-09-08 00:09:50 +02:00
net net/ena/base: convert values to 32-bit before shifting 2020-09-30 19:19:09 +02:00
raw eal: remove deprecated coherent IO memory barriers 2020-09-23 13:40:26 +02:00
regex eal: remove deprecated coherent IO memory barriers 2020-09-23 13:40:26 +02:00
vdpa vdpa/mlx5: fix completion queue polling 2020-09-18 18:55:12 +02:00
meson.build common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00