Linux-Doc Archive mirror
 help / color / mirror / Atom feed
* [PATCH net] ionic: update documentation for XDP support
@ 2024-03-18 23:53 Shannon Nelson
  2024-03-19  1:59 ` Bagas Sanjaya
  0 siblings, 1 reply; 3+ messages in thread
From: Shannon Nelson @ 2024-03-18 23:53 UTC (permalink / raw
  To: netdev, davem, kuba, edumazet, pabeni, corbet
  Cc: linux-doc, brett.creeley, drivers, Shannon Nelson

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 <shannon.nelson@amd.com>
---
 .../ethernet/pensando/ionic.rst               | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/Documentation/networking/device_drivers/ethernet/pensando/ionic.rst b/Documentation/networking/device_drivers/ethernet/pensando/ionic.rst
index 6ec7d686efab..a3f7e4d6b95e 100644
--- a/Documentation/networking/device_drivers/ethernet/pensando/ionic.rst
+++ b/Documentation/networking/device_drivers/ethernet/pensando/ionic.rst
@@ -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
 configuration.
 
+XDP
+---
+
+Support for XDP includes the basics, plus Jumbo frames, Redirect
+and ndo_xmit.  There is no current for zero-copy sockets or HW offload.
+
 Statistics
 ==========
 
@@ -138,6 +144,12 @@ Driver port specific::
      rx_csum_none: 0
      rx_csum_complete: 3
      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::
 
@@ -149,9 +161,12 @@ Driver queue specific::
      tx_0_frags: 0
      tx_0_tso: 0
      tx_0_tso_bytes: 0
+     tx_0_hwstamp_valid: 0
+     tx_0_hwstamp_invalid: 0
      tx_0_csum_none: 3
      tx_0_csum: 0
      tx_0_vlan_inserted: 0
+     tx_0_xdp_frames: 0
      rx_0_pkts: 2
      rx_0_bytes: 120
      rx_0_dma_map_err: 0
@@ -159,8 +174,15 @@ Driver queue specific::
      rx_0_csum_none: 0
      rx_0_csum_complete: 0
      rx_0_csum_error: 0
+     rx_0_hwstamp_valid: 0
+     rx_0_hwstamp_invalid: 0
      rx_0_dropped: 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::
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net] ionic: update documentation for XDP support
  2024-03-18 23:53 [PATCH net] ionic: update documentation for XDP support Shannon Nelson
@ 2024-03-19  1:59 ` Bagas Sanjaya
  2024-03-19 16:18   ` Nelson, Shannon
  0 siblings, 1 reply; 3+ messages in thread
From: Bagas Sanjaya @ 2024-03-19  1:59 UTC (permalink / raw
  To: Shannon Nelson, netdev, davem, kuba, edumazet, pabeni, corbet
  Cc: linux-doc, brett.creeley, drivers

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

On Mon, Mar 18, 2024 at 04:53:31PM -0700, Shannon Nelson wrote:
> +XDP
> +---
> +
> +Support for XDP includes the basics, plus Jumbo frames, Redirect
> +and ndo_xmit.  There is no current for zero-copy sockets or HW offload.
"... no current support ..."

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net] ionic: update documentation for XDP support
  2024-03-19  1:59 ` Bagas Sanjaya
@ 2024-03-19 16:18   ` Nelson, Shannon
  0 siblings, 0 replies; 3+ messages in thread
From: Nelson, Shannon @ 2024-03-19 16:18 UTC (permalink / raw
  To: Bagas Sanjaya, netdev, davem, kuba, edumazet, pabeni, corbet
  Cc: linux-doc, brett.creeley, drivers

On 3/18/2024 6:59 PM, Bagas Sanjaya wrote:
> On Mon, Mar 18, 2024 at 04:53:31PM -0700, Shannon Nelson wrote:
>> +XDP
>> +---
>> +
>> +Support for XDP includes the basics, plus Jumbo frames, Redirect
>> +and ndo_xmit.  There is no current for zero-copy sockets or HW offload.
> "... no current support ..."
> 

Right, I'll fix that up.
Thanks,
sln

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-19 16:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-18 23:53 [PATCH net] ionic: update documentation for XDP support Shannon Nelson
2024-03-19  1:59 ` Bagas Sanjaya
2024-03-19 16:18   ` Nelson, Shannon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).