linux/drivers/net/ethernet/netronome/nfp
Jakub Kicinski 180012dc05 nfp: remove buggy RX buffer length validation
Meaning of data_len and meta_len RX WB descriptor fields is
slightly confusing.  Add a comment with a diagram clarifying
the layout.  Also remove the buffer length validation:
(a) it's imprecise for static rx-offsets; (b) if firmware
is buggy enough to DMA past the end of the buffer
WARN_ON_ONCE() doesn't seem like a strong enough response.
skb_put() will do the checking for us anyway.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-16 22:34:40 -04:00
..
Makefile
nfp_net_common.c nfp: remove buggy RX buffer length validation 2016-04-16 22:34:40 -04:00
nfp_net_ctrl.h nfp: remove unused suspicious mask defines 2016-04-16 22:34:40 -04:00
nfp_net_debugfs.c nfp: remove unnecessary static 2016-04-16 22:34:39 -04:00
nfp_net_ethtool.c nfp: allow ring size reconfiguration at runtime 2016-04-08 15:26:06 -04:00
nfp_net.h nfp: allow ring size reconfiguration at runtime 2016-04-08 15:26:06 -04:00
nfp_netvf_main.c