net/bnxt: use shorter SIMD initializers
authorLance Richardson <lance.richardson@broadcom.com>
Thu, 22 Oct 2020 18:50:51 +0000 (14:50 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:02 +0000 (23:35 +0100)
commit9bc54faf76a008ab33d4c81f6fe81ce119867673
tree29852824291f567f7f0cf7375ff9d87bde0ecfc6
parent47b70761670dc8b5bb8399df280476d9767b11df
net/bnxt: use shorter SIMD initializers

Make SIMD initialization code less verbose by using appropriate
intrinsics when all lanes of a vector are initialized to the
same value.

Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxtx_vec_neon.c
drivers/net/bnxt/bnxt_rxtx_vec_sse.c