[dpdk-dev] New driver (large patch) question.

Vincent JARDIN vincent.jardin at 6wind.com
Thu Mar 3 00:07:21 CET 2016


Please,

Le 02/03/2016 22:30, Stephen Hurd a écrit :
> Too many of the DPDK drivers are bloated.
>>Recall the venerable paraphrase of Pascal, "I made this so long because I
>>did not have time to make it shorter."
>>https://en.wikipedia.org/wiki/Wikipedia:Too_long;_didn%27t_read

Keep In Simple, Small Is Beautiful, the big drivers with dead codes are 
not easy to be maintained. We have lot of duplication of efforts between 
the kernel and some DPDK PMDs,

Currently, the breakdown of Lines of Codes of the PMDs are:

492 ring
522 null
666 af_packet
829 pcap
1229 szedata2
1300 mpipe
1411 xenvirt
2036 nfp
2260 vmxnet3
3074 virtio
4129 mlx4
4205 bonding
4524 mlx5
4904 enic
7654 cxgbe
7969 fm10k
27862 ixgbe
29209 e1000
31392 i40e
38031 bnx2x

(I did use cloc).

Vincent


More information about the dev mailing list