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: 944c6bf6c2eaea883ba943fa1513d1f3e5c7c334
 ** Merge commit sha: 690042b575b8e36502c5e88e1594255db761c5ad
 **/
----------------/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
#939: FILE: platform/linux-generic/pktio/subsystem.c:48:
+extern int enable_link_cxgb4_pktio_ops;

total: 0 errors, 3 warnings, 0 checks, 912 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------------------------

Reply via email to