sfc: only enable TX timestamping if the adapter is licensed for it
authorMartin Habets <mhabets@solarflare.com>
Thu, 25 Jan 2018 17:25:33 +0000 (17:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jan 2018 21:05:14 +0000 (16:05 -0500)
commit50663fe1808fcd08cc60c3adfa3692b27a51161d
treec7cf2b8cdd605af75a7f9d8e7f8fec692029ce74
parent23418dc131464ffe29c9ac2d71cf95bf2883fc4f
sfc: only enable TX timestamping if the adapter is licensed for it

If we try to enable the feature and do not have the license for it, the
 MCPU will refuse and fail our TX queue init.

Signed-off-by: Martin Habets <mhabets@solarflare.com>
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/nic.h