diff options
author | Patrisious Haddad <phaddad@nvidia.com> | 2022-05-02 14:40:56 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-08-20 12:35:23 +0300 |
commit | f132fdd9dc81e045bcf95005d418a31fbe9d942f (patch) | |
tree | 9f5baf69c637f2ea0733e76db45aea21197e0676 /lib/ubsan.h | |
parent | 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4 (diff) | |
download | linux-f132fdd9dc81e045bcf95005d418a31fbe9d942f.tar.gz linux-f132fdd9dc81e045bcf95005d418a31fbe9d942f.tar.bz2 linux-f132fdd9dc81e045bcf95005d418a31fbe9d942f.zip |
macsec: add functions to get macsec real netdevice and check offload
Given a macsec net_device add two functions to return the real net_device
for that device, and check if that macsec device is offloaded or not.
This is needed for auxiliary drivers that implement MACsec offload, but
have flows which are triggered over the macsec net_device, this allows
the drivers in such cases to verify if the device is offloaded or not,
and to access the real device of that macsec device, which would
belong to the driver, and would be needed for the offload procedure.
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Mark Zhang <markzhang@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'lib/ubsan.h')
0 files changed, 0 insertions, 0 deletions