Skip to content
Commit 33595642 authored by Ganji Aravind's avatar Ganji Aravind Committed by David S. Miller
Browse files

cxgb4: Fix work request size calculation for loopback test



Work request used for sending loopback packet needs to add
the firmware work request only once. So, fix by using
correct structure size.

Fixes: 7235ffae ("cxgb4: add loopback ethtool self-test")
Signed-off-by: default avatarGanji Aravind <ganji.aravind@chelsio.com>
Reviewed-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ab97a289
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment