netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Beginnings of skb_frag -> bio_vec conversion
@ 2019-05-01  4:17 Matthew Wilcox
  2019-05-01  4:17 ` [PATCH 1/5] net: Increase the size of skb_frag_t Matthew Wilcox
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Matthew Wilcox @ 2019-05-01  4:17 UTC (permalink / raw)
  To: davem; +Cc: Matthew Wilcox (Oracle), hch, netdev

From: "Matthew Wilcox (Oracle)" <willy@infradead.org>

It turns out there's a lot of accessors for the skb_frag, which would
make this conversion really easy if some drivers didn't bypass them.
This is what I've done so far; my laptop's not really beefy enough to
cope with changing skbuff.h too often ;-)

This would be a great time to tell me I'm going about this all wrong.
I already found one problem in this patch set; some of the drivers should
have been converted to skb_frag_dma_map() instead of fixing the arguments
to dma_map_page().  But anyway, I need sleep.

Matthew Wilcox (Oracle) (5):
  net: Increase the size of skb_frag_t
  net: Reorder the contents of skb_frag_t
  net: Include bvec.h in skbuff.h
  net: Use skb accessors for skb->page
  net: Rename skb_frag page to bv_page

 drivers/hsi/clients/ssi_protocol.c            |  3 ++-
 .../net/ethernet/cavium/liquidio/lio_main.c   |  2 +-
 .../ethernet/cavium/liquidio/lio_vf_main.c    |  2 +-
 drivers/net/ethernet/freescale/fec_main.c     |  2 +-
 drivers/net/ethernet/marvell/mvneta.c         |  2 +-
 .../net/ethernet/marvell/mvpp2/mvpp2_main.c   |  2 +-
 drivers/net/ethernet/qualcomm/emac/emac-mac.c |  3 ++-
 drivers/net/usb/usbnet.c                      |  2 +-
 drivers/net/xen-netback/netback.c             |  4 ++--
 drivers/staging/octeon/ethernet-tx.c          |  3 +--
 drivers/target/iscsi/cxgbit/cxgbit_target.c   |  6 +++---
 include/linux/skbuff.h                        | 20 +++++++------------
 net/core/skbuff.c                             |  8 ++++----
 net/core/tso.c                                |  4 ++--
 net/kcm/kcmsock.c                             |  2 +-
 net/tls/tls_device.c                          |  4 ++--
 16 files changed, 32 insertions(+), 37 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2019-05-02 10:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-01  4:17 [PATCH 0/5] Beginnings of skb_frag -> bio_vec conversion Matthew Wilcox
2019-05-01  4:17 ` [PATCH 1/5] net: Increase the size of skb_frag_t Matthew Wilcox
2019-05-01  4:17 ` [PATCH 2/5] net: Reorder the contents " Matthew Wilcox
2019-05-01  4:17 ` [PATCH 3/5] net: Include bvec.h in skbuff.h Matthew Wilcox
2019-05-01  4:17 ` [PATCH 4/5] net: Use skb accessors for skb->page Matthew Wilcox
2019-05-02 10:21   ` kbuild test robot
2019-05-01  4:17 ` [PATCH 5/5] net: Rename skb_frag page to bv_page Matthew Wilcox
2019-05-01  8:14 ` [PATCH 0/5] Beginnings of skb_frag -> bio_vec conversion Eric Dumazet
2019-05-01  9:44   ` Matthew Wilcox

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).