# How to use function esp offload?

**URL:** <https://forums.developer.nvidia.com/t/how-to-use-function-esp-offload/285469>\
**Category:** Ethernet Adapter Cards\
**Created:** [March 9, 2024, 6:25am UTC](https://forums.developer.nvidia.com/t/how-to-use-function-esp-offload/285469 "2024-03-09T06:25:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwjzju](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@cwjzju](https://forums.developer.nvidia.com/u/cwjzju)\
**Post date:** [March 9, 2024, 6:25am UTC](https://forums.developer.nvidia.com/t/how-to-use-function-esp-offload/285469/1 "2024-03-09T06:25:31Z")

</div>

hello  
I could not see the esp offload function working in my environment, would someone help? Thanks

1. the card used: MCX623106AC-CDAT

2. the esp offload status: ethtool -k ens610np0 | grep esp  
tx-esp-segmentation: on  
esp-hw-offload: on [fixed]  
esp-tx-csum-hw-offload: on [fixed]

3. the offload SA and policies as follows:  

4. the pcap tcpdump from card:  
only TX packet crypto is offload (is TCP packet shown in wireshark)while RX is not(ESP packet).

---

<div class="post-metadata">

**Author:** ![samerka](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/samerka/32/367020_2.png) [@samerka](https://forums.developer.nvidia.com/u/samerka)\
**Post date:** [March 12, 2024, 7:58am UTC](https://forums.developer.nvidia.com/t/how-to-use-function-esp-offload/285469/2 "2024-03-12T07:58:06Z")

</div>

Hi

Please refer to the below page  
[https://docs.nvidia.com/networking/display/ofedv522200/ipsec+crypto+offload](https://docs.nvidia.com/networking/display/ofedv522200/ipsec+crypto+offload)

Thanks

---

<div class="post-metadata">

**Author:** ![cwjzju](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@cwjzju](https://forums.developer.nvidia.com/u/cwjzju)\
**Post date:** [March 30, 2024, 6:27am UTC](https://forums.developer.nvidia.com/t/how-to-use-function-esp-offload/285469/3 "2024-03-30T06:27:31Z")

</div>

hi samerka  
Thanks for your reply, I should make my question clear: how to configure IPSec full crypto offload using ip xfrm? I mean hardware offload the encapsulation/decapsulation of ESP packet, not only the payload encryption/decryption.
