> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/enetc.4.md).

# enetc.4

`enetc` — Freescale ENETC PCIe 千兆以太网驱动

## 名称

`enetc`

## 概要

`若要将此驱动编译进内核，内核配置文件中必须包含以下行： sp options SOC_NXP_LS device pci device fdt device iflib device enetc`

## 描述

`enetc` 驱动为 LS1028A SoC 中集成的 ENETC 千兆以太网 NIC 提供支持。使用 [iflib(9)](/man/man9/iflib.9.md) 与内核其余部分通信。支持物理端口以及连接到内部交换机的虚拟接口。

此版本驱动中已实现以下硬件卸载：

```sh
- 接收 IP 校验和验证。
- VLAN 标签插入和提取。
- 基于 VLAN 标签的数据包过滤。
```

有关配置此设备的更多信息，请参见 [ifconfig(8)](/man/man8/ifconfig.8.md)。

## 参见

[vlan(4)](/man/man4/vlan.4.md), [ifconfig(8)](/man/man8/ifconfig.8.md), [iflib(9)](/man/man9/iflib.9.md)

## 历史

`enetc` 驱动首次出现于 FreeBSD 14.0。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/enetc.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
