]> 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)
commiteae1c18bbd2a4d2c8d8527362c24390706aabba3
treec7cf2b8cdd605af75a7f9d8e7f8fec692029ce74
parentfa1d4a6f3662591823c955fb649d8443ee7350ba
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