---
name: "if_ntb"
section: "4"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/if_ntb"
---

# if\_ntb(4)

Virtual Ethernet interface for Non-Transparent Bridges

## NAME

**if\_ntb** – Virtual Ethernet interface for Non-Transparent Bridges

## SYNOPSIS

To compile this driver into your kernel, place the following lines in your kernel configuration file:

**device ntb** **device ntb\_transport** **device if\_ntb**

Or, to load the driver as a module at boot, place the following line in [loader.conf(5)](/loader.conf/5.md):

```
if_ntb_load="YES"
```

The following tunables are settable from the [loader(8)](/loader/8.md):

- *hw.if\_ntb.num\_queues*

  Limits maximal number of queues per interface. Default is unlimited.

## DESCRIPTION

The **if\_ntb** driver attaches on top of the [ntb\_transport(4)](/ntb_transport/4.md) driver to utilize one or more of its packet queues to create virtual Ethernet network interface between the systems. Typical MTU for the interface is about 64KB to reduce overhead. Default MAC address for the interface is randomly generated.

The **if\_ntb** driver does not implement any real hardware offload, but since PCIe link is protected by CRC32, in some situations it may be possible to save some CPU cycles by enabling fake checksum offload on both link sides via setting **rxcsum** and **txcsum** interface options.

## SEE ALSO

[ntb\_transport(4)](/ntb_transport/4.md)

## AUTHORS

The **if\_ntb** driver was developed by Intel and originally written by Carl Delsey ⟨*carl@FreeBSD.org*⟩. Later improvements were done by Conrad E. Meyer ⟨*cem@FreeBSD.org*⟩ and Alexander Motin ⟨*mav@FreeBSD.org*⟩.

## BUGS

Linux supports only one queue per interface, so manual configuration may be required for compatibility.
