net/mlx5e: Use memset to init skbs_frags array to zeros
authorTariq Toukan <tariqt@mellanox.com>
Sun, 25 Jun 2017 12:23:35 +0000 (15:23 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 3 Sep 2017 03:34:08 +0000 (06:34 +0300)
commit9bafe2adabd16e74e28920956680b15bf529c2eb
tree9ed865765a1a1da822a15ee1efe67ee4a1109e28
parentb681c481f11bd2839d759f493b00008a6c690e61
net/mlx5e: Use memset to init skbs_frags array to zeros

In RX data-path, use memset() instead of loop assignment
to init the whole skbs_frags array.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c