On Thu, Sep 19, 2024 at 6:47 AM Jun Wang <[email protected]> wrote:
> > On Wed, Sep 18, 2024 at 4:01 AM Jun Wang <[email protected]> wrote:
> > > Hi David,
> > > As you mentioned, I also found that the results obtained by
> > > netdev_dpdk_get_custom_stats are filtered. However, I noticed that in
> > > DPDK, different net drivers handle xstats commands in various ways.
> > > If we apply a unified filtering process, it may result in not being
> > > able to retrieve the desired results for different net drivers.
> > > Therefore, I believe adding a new interface might be a suitable
> > > solution. For example, the xstats of the ixgbe/i40e/txgbe driver.
> >
> > Well, the problem is that drivers came up with all the stats they
> > could get from the hw with no unification.
> > This is why I was requesting some example of the stats you need, to
> > see if DPDK can align drivers, and then OVS filter can be extended.
I see no repy, so I understand that you have no explicit requirement
for a stat not reported in OVS.
> >
> > On the other hand, for *debugging*, you may query those vendor
> > specific stats via the DPDK telemetry socket.
>
> I tried using DPDK telemetry with the X710 network card, and it was
> indeed able to retrieve all xstat statistics. However, there seems to
> be an issue with retrieving xstat data from the Wangxun network card
> using the txgbe driver.
> This might be an issue with the specific driver.
[...]
> wangxun txgbe driver:
> --> /ethdev/xstats,0
> {
> "/ethdev/xstats": {
> "rx_good_packets": 28224,
> "tx_good_packets": 110,
> "rx_good_bytes": 3048375,
> "tx_good_bytes": 13640,
> "rx_missed_errors": 0,
> "rx_errors": 0,
> "tx_errors": 0,
> "rx_mbuf_allocation_errors": 0
> }
> }
Definitely a driver issue.
I did not look at the txgbe driver code, but such issue is often
around the count of reported xstats (in xstats_get_names() or
xstats_get() op).
Please open a bz at bugs.dpdk.org and assign it to a txgbe driver maintainer.
--
David Marchand
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev