]> Git Repo - linux.git/commit
macsec: Enable devices to advertise whether they update sk_buff md_dst during offloads
authorRahul Rameshbabu <[email protected]>
Tue, 23 Apr 2024 18:13:02 +0000 (11:13 -0700)
committerJakub Kicinski <[email protected]>
Thu, 25 Apr 2024 15:20:54 +0000 (08:20 -0700)
commit475747a19316b08e856c666a20503e73d7ed67ed
treeffe19176b60807af19c46b7b3e9028c85fcf7897
parent4dcd0e83ea1d1df9b2e0174a6d3e795b3477d64e
macsec: Enable devices to advertise whether they update sk_buff md_dst during offloads

Cannot know whether a Rx skb missing md_dst is intended for MACsec or not
without knowing whether the device is able to update this field during an
offload. Assume that an offload to a MACsec device cannot support updating
md_dst by default. Capable devices can advertise that they do indicate that
an skb is related to a MACsec offloaded packet using the md_dst.

Cc: Sabrina Dubroca <[email protected]>
Cc: [email protected]
Fixes: 860ead89b851 ("net/macsec: Add MACsec skb_metadata_dst Rx Data path support")
Signed-off-by: Rahul Rameshbabu <[email protected]>
Reviewed-by: Benjamin Poirier <[email protected]>
Reviewed-by: Cosmin Ratiu <[email protected]>
Reviewed-by: Sabrina Dubroca <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
include/net/macsec.h
This page took 0.055643 seconds and 4 git commands to generate.