diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2020-06-15 13:02:49 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-06-28 00:00:25 +0300 |
commit | a29074367b347af9e19d36522f7ad9a7db4b9c28 (patch) | |
tree | 144ad2cdc4d1bbbfb47757af72c87d5970dc1c50 /Documentation/networking | |
parent | ed9a7c53b8781f851bd8406551d6abfb2d826683 (diff) | |
download | linux-a29074367b347af9e19d36522f7ad9a7db4b9c28.tar.xz |
net/mlx5e: kTLS, Improve rx handler function call
Prior to this patch mlx5e tls rx handler was called unconditionally on
all rx frames and the decision whether a frame is a valid tls record
is done inside that function. A function call can be expensive especially
for regular rx packet rate. To avoid this, check the tls validity before
jumping into the tls rx handler.
While at it, split between kTLS device offload rx handler and FPGA tls rx
handler using a similar method.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions