Commit f7bf0ec1 authored by Shannon Nelson's avatar Shannon Nelson Committed by Jakub Kicinski

ionic: update documentation for XDP support

Add information to our documentation for the XDP features
and related ethtool stats.

While we're here, we also add the missing timestamp stats.
Signed-off-by: default avatarShannon Nelson <shannon.nelson@amd.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240319163534.38796-1-shannon.nelson@amd.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2d9d9f25
...@@ -99,6 +99,12 @@ Minimal SR-IOV support is currently offered and can be enabled by setting ...@@ -99,6 +99,12 @@ Minimal SR-IOV support is currently offered and can be enabled by setting
the sysfs 'sriov_numvfs' value, if supported by your particular firmware the sysfs 'sriov_numvfs' value, if supported by your particular firmware
configuration. configuration.
XDP
---
Support for XDP includes the basics, plus Jumbo frames, Redirect and
ndo_xmit. There is no current support for zero-copy sockets or HW offload.
Statistics Statistics
========== ==========
...@@ -138,6 +144,12 @@ Driver port specific:: ...@@ -138,6 +144,12 @@ Driver port specific::
rx_csum_none: 0 rx_csum_none: 0
rx_csum_complete: 3 rx_csum_complete: 3
rx_csum_error: 0 rx_csum_error: 0
xdp_drop: 0
xdp_aborted: 0
xdp_pass: 0
xdp_tx: 0
xdp_redirect: 0
xdp_frames: 0
Driver queue specific:: Driver queue specific::
...@@ -149,9 +161,12 @@ Driver queue specific:: ...@@ -149,9 +161,12 @@ Driver queue specific::
tx_0_frags: 0 tx_0_frags: 0
tx_0_tso: 0 tx_0_tso: 0
tx_0_tso_bytes: 0 tx_0_tso_bytes: 0
tx_0_hwstamp_valid: 0
tx_0_hwstamp_invalid: 0
tx_0_csum_none: 3 tx_0_csum_none: 3
tx_0_csum: 0 tx_0_csum: 0
tx_0_vlan_inserted: 0 tx_0_vlan_inserted: 0
tx_0_xdp_frames: 0
rx_0_pkts: 2 rx_0_pkts: 2
rx_0_bytes: 120 rx_0_bytes: 120
rx_0_dma_map_err: 0 rx_0_dma_map_err: 0
...@@ -159,8 +174,15 @@ Driver queue specific:: ...@@ -159,8 +174,15 @@ Driver queue specific::
rx_0_csum_none: 0 rx_0_csum_none: 0
rx_0_csum_complete: 0 rx_0_csum_complete: 0
rx_0_csum_error: 0 rx_0_csum_error: 0
rx_0_hwstamp_valid: 0
rx_0_hwstamp_invalid: 0
rx_0_dropped: 0 rx_0_dropped: 0
rx_0_vlan_stripped: 0 rx_0_vlan_stripped: 0
rx_0_xdp_drop: 0
rx_0_xdp_aborted: 0
rx_0_xdp_pass: 0
rx_0_xdp_tx: 0
rx_0_xdp_redirect: 0
Firmware port specific:: Firmware port specific::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment