netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 net-next 0/4] MTU changes and other fixes
@ 2016-01-05 11:57 Jakub Kicinski
  2016-01-05 11:57 ` [PATCHv2 net-next 1/4] nfp: return error if MTU change fails Jakub Kicinski
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Jakub Kicinski @ 2016-01-05 11:57 UTC (permalink / raw)
  To: netdev; +Cc: simon.horman, rolf.neugebauer, Jakub Kicinski

Hi!

Four small fixes around RX buffer sizing.  First one makes sure
we return an error if .ndo_change_mtu() fails.  Second one corrects
the length used for unmapping DMA buffers when MTU is changed,
third makes sure buffers are big enough to meet FW's expectations.
Last change corrects packet length validation on RX.

v2:
 - add first patch (return error on fail).


Jakub Kicinski (4):
  nfp: return error if MTU change fails
  nfp: free buffers before changing MTU
  nfp: correct RX buffer length calculation
  nfp: fix RX buffer length validation

 .../net/ethernet/netronome/nfp/nfp_net_common.c    | 42 ++++++++++------------
 1 file changed, 18 insertions(+), 24 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2016-01-07 21:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-05 11:57 [PATCHv2 net-next 0/4] MTU changes and other fixes Jakub Kicinski
2016-01-05 11:57 ` [PATCHv2 net-next 1/4] nfp: return error if MTU change fails Jakub Kicinski
2016-01-05 11:57 ` [PATCHv2 net-next 2/4] nfp: free buffers before changing MTU Jakub Kicinski
2016-01-05 11:57 ` [PATCHv2 net-next 3/4] nfp: correct RX buffer length calculation Jakub Kicinski
2016-01-05 11:57 ` [PATCHv2 net-next 4/4] nfp: fix RX buffer length validation Jakub Kicinski
2016-01-07 19:57 ` [PATCHv2 net-next 0/4] MTU changes and other fixes David Miller
2016-01-07 20:49   ` Jakub Kicinski
2016-01-07 21:33     ` David Miller
2016-01-07 21:50       ` Jakub Kicinski
2016-01-07 21:55         ` David Miller

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