aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSubbaraya Sundeep <[email protected]>2025-05-12 12:42:36 +0000
committerJakub Kicinski <[email protected]>2025-05-15 02:14:31 +0000
commit865ab2461375e3a5a2526f91f9a9f17b8931bc9e (patch)
tree2169c698600116fda24ef91e6e1f05ac7ab6bb79 /net/unix/af_unix.c
parentnetlink: specs: tc: all actions are indexed arrays (diff)
downloadkernel-865ab2461375e3a5a2526f91f9a9f17b8931bc9e.tar.gz
kernel-865ab2461375e3a5a2526f91f9a9f17b8931bc9e.zip
octeontx2-pf: macsec: Fix incorrect max transmit size in TX secy
MASCEC hardware block has a field called maximum transmit size for TX secy. Max packet size going out of MCS block has be programmed taking into account full packet size which has L2 header,SecTag and ICV. MACSEC offload driver is configuring max transmit size as macsec interface MTU which is incorrect. Say with 1500 MTU of real device, macsec interface created on top of real device will have MTU of 1468(1500 - (SecTag + ICV)). This is causing packets from macsec interface of size greater than or equal to 1468 are not getting transmitted out because driver programmed max transmit size as 1468 instead of 1514(1500 + ETH_HDR_LEN). Fixes: c54ffc73601c ("octeontx2-pf: mcs: Introduce MACSEC hardware offloading") Signed-off-by: Subbaraya Sundeep <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions