]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7d0596067ee6094d583875a4d42d6f6e379d3ca
treec7cf2b8cdd605af75a7f9d8e7f8fec692029ce74
parent8035a29f2888af6ed6c17a226d94211278b55108
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