DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] net/nfp: use a single struct eth_dev_ops
@ 2022-09-22 13:03 Niklas Söderlund
  2022-09-22 13:03 ` [PATCH 1/2] net/nfp: fix return value of nfp card init function Niklas Söderlund
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Niklas Söderlund @ 2022-09-22 13:03 UTC (permalink / raw)
  To: dev; +Cc: oss-drivers, Jin Liu, Chaoyong He, Niklas Söderlund

Hi all,

This small series aims to reduce code duplication by using a single 
shared struct eth_dev_ops for NFDk and NFD3.

Patch 1/2 is a small bug fix that suck in when adding support for 
NFP3800 where the error code is not correctly propagated.

Patch 2/2 is do the real work by merging the two existing structs and 
adding the small glue in the setup step that differenced them.

Jin Liu (2):
  net/nfp: fix return value of nfp card init function
  net/nfp: optimize ethdev struct

 drivers/net/nfp/nfp_ethdev.c    | 38 ++++-----------------------------
 drivers/net/nfp/nfp_ethdev_vf.c | 36 +++----------------------------
 drivers/net/nfp/nfp_rxtx.c      | 33 ++++++++++++++++++++++++++--
 drivers/net/nfp/nfp_rxtx.h      |  5 +----
 4 files changed, 39 insertions(+), 73 deletions(-)

-- 
2.37.3


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

end of thread, other threads:[~2022-10-05 16:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 13:03 [PATCH 0/2] net/nfp: use a single struct eth_dev_ops Niklas Söderlund
2022-09-22 13:03 ` [PATCH 1/2] net/nfp: fix return value of nfp card init function Niklas Söderlund
2022-09-22 13:03 ` [PATCH 2/2] net/nfp: optimize ethdev struct Niklas Söderlund
2022-10-05 16:51 ` [PATCH 0/2] net/nfp: use a single struct eth_dev_ops Ferruh Yigit

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 NNTP newsgroup(s).