Skip to content

Commit f7bf0ec

Browse files
emuslnkuba-moo
authored andcommitted
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: Shannon Nelson <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 2d9d9f2 commit f7bf0ec

File tree

1 file changed

+22
-0
lines changed
  • Documentation/networking/device_drivers/ethernet/pensando

1 file changed

+22
-0
lines changed

Documentation/networking/device_drivers/ethernet/pensando/ionic.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ Minimal SR-IOV support is currently offered and can be enabled by setting
9999
the sysfs 'sriov_numvfs' value, if supported by your particular firmware
100100
configuration.
101101

102+
XDP
103+
---
104+
105+
Support for XDP includes the basics, plus Jumbo frames, Redirect and
106+
ndo_xmit. There is no current support for zero-copy sockets or HW offload.
107+
102108
Statistics
103109
==========
104110

@@ -138,6 +144,12 @@ Driver port specific::
138144
rx_csum_none: 0
139145
rx_csum_complete: 3
140146
rx_csum_error: 0
147+
xdp_drop: 0
148+
xdp_aborted: 0
149+
xdp_pass: 0
150+
xdp_tx: 0
151+
xdp_redirect: 0
152+
xdp_frames: 0
141153

142154
Driver queue specific::
143155

@@ -149,18 +161,28 @@ Driver queue specific::
149161
tx_0_frags: 0
150162
tx_0_tso: 0
151163
tx_0_tso_bytes: 0
164+
tx_0_hwstamp_valid: 0
165+
tx_0_hwstamp_invalid: 0
152166
tx_0_csum_none: 3
153167
tx_0_csum: 0
154168
tx_0_vlan_inserted: 0
169+
tx_0_xdp_frames: 0
155170
rx_0_pkts: 2
156171
rx_0_bytes: 120
157172
rx_0_dma_map_err: 0
158173
rx_0_alloc_err: 0
159174
rx_0_csum_none: 0
160175
rx_0_csum_complete: 0
161176
rx_0_csum_error: 0
177+
rx_0_hwstamp_valid: 0
178+
rx_0_hwstamp_invalid: 0
162179
rx_0_dropped: 0
163180
rx_0_vlan_stripped: 0
181+
rx_0_xdp_drop: 0
182+
rx_0_xdp_aborted: 0
183+
rx_0_xdp_pass: 0
184+
rx_0_xdp_tx: 0
185+
rx_0_xdp_redirect: 0
164186

165187
Firmware port specific::
166188

0 commit comments

Comments
 (0)