From: Matthew Wilcox <willy@infradead.org> To: davem@davemloft.net Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>, hch@lst.de, netdev@vger.kernel.org Subject: [PATCH 0/5] Beginnings of skb_frag -> bio_vec conversion Date: Tue, 30 Apr 2019 21:17:51 -0700 Message-ID: <20190501041757.8647-1-willy@infradead.org> (raw) 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
next reply index Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-01 4:17 Matthew Wilcox [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190501041757.8647-1-willy@infradead.org \ --to=willy@infradead.org \ --cc=davem@davemloft.net \ --cc=hch@lst.de \ --cc=netdev@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Netdev Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/netdev/0 netdev/git/0.git git clone --mirror https://lore.kernel.org/netdev/1 netdev/git/1.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 netdev netdev/ https://lore.kernel.org/netdev \ netdev@vger.kernel.org public-inbox-index netdev Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.netdev AGPL code for this site: git clone https://public-inbox.org/public-inbox.git