aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorRaed Salem <[email protected]>2021-10-26 10:10:42 +0300
committerSaeed Mahameed <[email protected]>2021-10-29 13:53:28 -0700
commit428ffea0711a11efa0c1c4ee1fac27903ed091be (patch)
treeb3c825f56c8e598bccb4b93173c44de6e8a99651 /drivers/usb/cdns3/cdns3-imx.c
parentae2ee3be99a87fdbc01bd82e77eb26dcb69d874a (diff)
net/mlx5e: IPsec: Refactor checksum code in tx data path
Part of code that is related solely to IPsec is always compiled in the driver code regardless if the IPsec functionality is enabled or disabled in the driver code, this will add unnecessary branch in case IPsec is disabled at Tx data path. Move IPsec related code to IPsec related file such that in case of IPsec is disabled and because of unlikely macro the compiler should be able to optimize and omit the checksum IPsec code all together from Tx data path Signed-off-by: Raed Salem <[email protected]> Reviewed-by: Emeel Hakim <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions