]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use u8 as ownership type in mlx5e_get_cqe()
authorTariq Toukan <tariqt@mellanox.com>
Mon, 3 Apr 2017 07:48:30 +0000 (10:48 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 30 Apr 2017 13:03:19 +0000 (16:03 +0300)
commit71281e5256b08aa14b4b7f6d8790fe523808ed05
tree94e16cd8030a251f82abf003cedbac7b8d6249f5
parentcd97d369694d00b675f23fe99d15c2aa94676d16
net/mlx5e: Use u8 as ownership type in mlx5e_get_cqe()

CQE ownership indication is as small as a single bit.
Use u8 to speedup the comparison.

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