This PR is basically cxgb4 driver + PR380. As soon as PR380 gets merged -- this PR will be rebased so that only one patch remains for the merge.
----------------github------------------------ /** Email created from pull request 383 (MykytaI:caterpillar_mdev_cxgb4) ** https://github.com/Linaro/odp/pull/383 ** Patch: https://github.com/Linaro/odp/pull/383.patch ** Base sha: ea7b4281992e3cf772fb84708ed7f3985bce78e7 ** Merge commit sha: ada243973a9be91da63a389068ba881b853dc118 **/ ----------------/github------------------------ ----------------checkpatch.pl------------------------ WARNING: Possible switch case/default not preceeded by break or fallthrough comment #459: FILE: platform/linux-generic/pktio/mdev/cxgb4.c:420: + case VFIO_NET_MDEV_TX_RING: WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt #618: FILE: platform/linux-generic/pktio/mdev/cxgb4.c:579: + volatile cxgb4_rx_desc_t *rxd = &rxq->rx_descs[rxq->rx_next]; WARNING: externs should be avoided in .c files #936: FILE: platform/linux-generic/pktio/subsystem.c:48: +extern int enable_link_cxgb4_pktio_ops; total: 0 errors, 3 warnings, 0 checks, 910 lines checked to_send-p-000.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. ----------------/checkpatch.pl------------------------
