net/mlx4: add CRC stripping capability
authorMoti Haimovsky <motih@mellanox.com>
Thu, 8 Feb 2018 11:14:27 +0000 (13:14 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Feb 2018 17:42:14 +0000 (18:42 +0100)
commit0ab56bd30c74cbd36758bc92cbce65c4a6988c1b
tree3beba7a3f36969ce414cadb01c45335b4c17c80f
parent7469a495aec98082bcd4219cf7a25c6c3867c11a
net/mlx4: add CRC stripping capability

This patch updates mlx4 Rx offload capabilities to also indicate that
Rx CRC stripping is (always) supported.

Since the device does not support disabling CRC stripping the PMD
silently ignores such requests.

Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4_rxq.c