fm10k/base: add VF Tx timestamp mode no-op
authorWang Xiao W <xiao.w.wang@intel.com>
Thu, 10 Sep 2015 04:38:11 +0000 (12:38 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 7 Oct 2015 11:25:07 +0000 (13:25 +0200)
commitce1a476adcedc0b6048439e2ae1665b86aec5ada
tree53e59db5265e83c01d5fb17f206a7716979d94af
parent14d2d7d475655157904c09dfc053fedb0610b1ff
fm10k/base: add VF Tx timestamp mode no-op

This patch resolves a bug in Linux where we called the
request_tx_timestamp_mode function that is undefined for VF. Implement a
no-op function that simply ensures that the mode is NONE, otherwise it
would fail with ERR_PARAM.

Signed-off-by: Wang Xiao W <xiao.w.wang@intel.com>
drivers/net/fm10k/base/fm10k_vf.c