Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    TCP Offloading (TOE) Question

    Scheduled Pinned Locked Moved Hardware
    4 Posts 2 Posters 913 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tman222
      last edited by

      Hi all,

      I have a quick related to NIC tuning and configuration: I've read in several places that it makes sense to disable TCP offloading (TOE) on NIC's that are used within routers/firewalls (e.g. pfSense). Is this because in a router/firewall like pfSense each packet has to be processed by the CPU anyway, so there is really no point in off loading that work to the NIC (i.e. it just adds extra complexity or latency), or is it mainly done for speed reasons (i.e. the CPU can process packets faster than the NIC)? Or are there other reasons? Thanks in advance for your help and explanation, I really appreciate it.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Mostly it's because the vast majority of traffic though the firewall is not connections terminated on it. It's connections between clients behind the firewall and servers on the Internet. Those offloading options only help TCP connections terminated at the firewall.

        Of that small proportion of traffic the benefits of offloading are minimal and some drivers don't support it correctly so there is risk of it breaking.

        Leaving the default settings works on almost every case. Very very occasionally we see something that doesn't work with TCP checksum offloading and that also has to be disabled.

        Steve

        1 Reply Last reply Reply Quote 0
        • T
          tman222
          last edited by

          Thanks @stephenw10. Did you mean leave the default TOE settings that the NIC driver dictates, or leave the pfSense default offloading settings? Thanks again.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            I mean leave the pfSense default settings unless you have some really good reason to change them.

            Steve

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.