diff options
author | Shannon Nelson <[email protected]> | 2021-07-23 11:02:46 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-07-23 21:57:41 +0100 |
commit | f79eef711eb57d56874b08ea11db69221de54a6d (patch) | |
tree | 60fdafba1e1a3787ab8517bb81d218d7316e647f /net/unix/unix_bpf.c | |
parent | 6840e17b8ea992453e2d6f460d403cb05d194e76 (diff) |
ionic: catch no ptp support earlier
If PTP configuration is attempted on ports that don't support
it, such as VF ports, the driver will return an error status
-95, or EOPNOSUPP and print an error message
enp98s0: hwstamp set failed: -95
Because some daemons can retry every few seconds, this can end
up filling the dmesg log and pushing out other more useful
messages.
We can catch this issue earlier in our handling and return
the error without a log message.
Fixes: 829600ce5e4e ("ionic: add ts_config replay")
Signed-off-by: Shannon Nelson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions