diff options
author | Xavier Simonart <xavier.simonart@intel.com> | 2019-01-23 14:26:01 +0100 |
---|---|---|
committer | Xavier Simonart <xavier.simonart@intel.com> | 2019-02-07 13:49:26 +0100 |
commit | 0eca932897b14ebe0cfa63a5678b81a3146a5121 (patch) | |
tree | e78aa4990c92ea30c27bece10a9e48031d37f044 /common/vnf_common/thread_fe.h | |
parent | 06d71cb8ceab4d531a29b09c589eeda7bd4e6311 (diff) |
Add check for configuration error (not enough mbuf)
Number of mbufs must at least cover for number of rx descriptors,
number of tx descriptors, number of mbuf cached and number of
mbufs handled by the application.
If this is not the case, a warning is returned.
This ony check for the more basic cases. This will not check for
instance for cases with multiples rings where more mbufs might be
cached.
Change-Id: If2c0c9fc76ed4500849d92cf7586bb0b25d8ab22
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'common/vnf_common/thread_fe.h')
0 files changed, 0 insertions, 0 deletions