Lines Matching +full:auto +full:- +full:negotiation
1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
14 - `Overview`_
15 - `Acquiring Firmware`_
16 - `Devlink Info`_
17 - `Configure Device`_
18 - `Statistics`_
25 are also incorporated in the companies' family of Agilio SmartNICs. The SR-IOV
35 Firmware files on the host filesystem contain card type (`AMDA-*` string), media
40 `linux-firmware.git` repository.
46 -----------------
60 ------------------------------
66 actual firmware files in application-named subdirectories in
72 │ ├── nic_AMDA0081-0001_1x40.nffw
73 │ └── nic_AMDA0081-0001_4x10.nffw
75 │ ├── nic_AMDA0081-0001_1x40.nffw
76 │ └── nic_AMDA0081-0001_4x10.nffw
78 │ ├── nic_AMDA0081-0001_1x40.nffw
79 │ └── nic_AMDA0081-0001_4x10.nffw
80 ├── nic_AMDA0081-0001_1x40.nffw -> bpf/nic_AMDA0081-0001_1x40.nffw
81 └── nic_AMDA0081-0001_4x10.nffw -> bpf/nic_AMDA0081-0001_4x10.nffw
96 -----------------------------
104 nfp: netronome/serial-00-12-34-aa-bb-cc-10-ff.nffw: not found
105 nfp: netronome/pci-0000:02:00.0.nffw: not found
106 nfp: netronome/nic_AMDA0081-0001_1x40.nffw: found, loading...
108 In this case if file (or link) called *serial-00-12-34-aa-bb-5d-10-ff.nffw*
109 or *pci-0000:02:00.0.nffw* is present in `/lib/firmware/netronome` this
112 Note that `serial-*` and `pci-*` files are **not** automatically included
117 ------------------------
123 $ ethtool -i <netdev>
126 -----------------------
162 serial_number CSAAMDA2001-1003000111
165 board.id AMDA2001-1003
170 fw.mgmt 22.10.0-rc3
172 fw.app nic-22.09.0
173 chip.init AMDA-2001-1003 1003000111
176 fw.mgmt 22.10.0-rc3
178 chip.init AMDA-2001-1003 1003000111
185 Configure interface link-speed
186 ------------------------------
196 Set interface link-speed to 10G::
198 $ ethtool -s <netdev port 0> speed 10000
199 $ ethtool -s <netdev port 1> speed 10000
201 Set interface link-speed to 25G::
203 $ ethtool -s <netdev port 0> speed 25000
204 $ ethtool -s <netdev port 1> speed 25000
211 ---------------------------------------------------
233 ----------------------------------------------
235 Agilio SmartNICs support FEC mode configuration, e.g. Auto, Firecode Base-R,
244 $ ethtool --show-fec <netdev>
246 To force the FEC mode for a particular port, auto-negotiation must be disabled
247 (see the `Auto-negotiation`_ section). An example of how to set the FEC mode
248 to Reed-Solomon is::
250 $ ethtool --set-fec <netdev> encoding rs
252 Auto-negotiation section in Configure Device
253 ----------------
255 To change auto-negotiation settings, the link must first be put down. After the
256 link is down, auto-negotiation can be enabled or disabled using::
258 ethtool -s <netdev> autoneg <on|off>
263 Following device statistics are available through the ``ethtool -S`` interface:
265 .. flat-table:: NFP device statistics
266 :header-rows: 1
269 * - Name
270 - ID
271 - Meaning
273 * - dev_rx_discards
274 - 1
275 - Packet can be discarded on the RX path for one of the following reasons:
288 * - dev_rx_errors
289 - 2
290 - A packet can be counted (and dropped) as RX error for the following
293 * A problem with the VEB lookup (only when SR-IOV is used).
297 * - dev_rx_bytes
298 - 3
299 - Total number of bytes received.
301 * - dev_rx_uc_bytes
302 - 4
303 - Unicast bytes received.
305 * - dev_rx_mc_bytes
306 - 5
307 - Multicast bytes received.
309 * - dev_rx_bc_bytes
310 - 6
311 - Broadcast bytes received.
313 * - dev_rx_pkts
314 - 7
315 - Total number of packets received.
317 * - dev_rx_mc_pkts
318 - 8
319 - Multicast packets received.
321 * - dev_rx_bc_pkts
322 - 9
323 - Broadcast packets received.
325 * - dev_tx_discards
326 - 10
327 - A packet can be discarded in the TX direction if the MAC is
330 * - dev_tx_errors
331 - 11
332 - A packet can be counted as TX error (and dropped) for one for the
344 * - dev_tx_bytes
345 - 12
346 - Total number of bytes transmitted.
348 * - dev_tx_uc_bytes
349 - 13
350 - Unicast bytes transmitted.
352 * - dev_tx_mc_bytes
353 - 14
354 - Multicast bytes transmitted.
356 * - dev_tx_bc_bytes
357 - 15
358 - Broadcast bytes transmitted.
360 * - dev_tx_pkts
361 - 16
362 - Total number of packets transmitted.
364 * - dev_tx_mc_pkts
365 - 17
366 - Multicast packets transmitted.
368 * - dev_tx_bc_pkts
369 - 18
370 - Broadcast packets transmitted.