summaryrefslogtreecommitdiff
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2022-09-07 12:23:25 +0100
committerDavid S. Miller <davem@davemloft.net>2022-09-07 12:23:25 +0100
commit98ba81081b429d147c0230f59a999aa80d0b9d33 (patch)
treef7f6ebfc27ba4fd819252be6a0124e1ec0fc523b /lib/nlattr.c
parent13248b975038241be329388a9a707dd12fdd5466 (diff)
parente4616f64726bfe3362712b403b70f9d3bcde166a (diff)
Merge branch 'sfc-ptp'
Edward Cree says: ==================== sfc: add support for PTP over IPv6 and 802.3 Most recent cards (8000 series and newer) had enough hardware support for this, but it was not enabled in the driver. The transmission of PTP packets over these protocols was already added in commit bd4a2697e5e2 ("sfc: use hardware tx timestamps for more than PTP"), but receiving them was already unsupported so synchronization didn't happen. These patches add support for timestamping received packets over IPv6/UPD and IEEE802.3. v2: fixed weird indentation in efx_ptp_init_filter v3: fixed bug caused by usage of htons in PTP_EVENT_PORT definition. It was used in more places, where htons was used too, so using it 2 times leave it again in host order. I didn't detected it in my tests because it only affected if timestamping through the MC, but the model I used do it through the MAC. Detected by kernel test robot <lkp@intel.com> v4: removed `inline` specifiers from 2 local functions v5: restored deleted comment with useful explanation about packets reordering. Deleted useless whitespaces. ==================== Reviewed-by: Edward Cree <ecree.xilinx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions