]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Use 'skb_add_rx_frag()' instead of hand coding it
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 4 Apr 2021 09:45:11 +0000 (11:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Apr 2021 18:55:44 +0000 (11:55 -0700)
commitfac9035f54f103648bf182d122abeef804a24fdb
treed5c3d06d3a80bc1f8b6ab375e6c430b7f929343f
parentd9dde1c9ff3710869efe1769755f078b24325ce2
sfc: Use 'skb_add_rx_frag()' instead of hand coding it

Some lines of code can be merged into an equivalent 'skb_add_rx_frag()'
call which is less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/rx.c