i40e: fix out of bound read
i40e: fix out of bound read

Klocwork reports array 'src_offset' may use index 16.
In function i40e_srcoff_to_flx_pit, index j + 1 can reach I40E_FDIR_MAX_FLEX_LEN.
This patch fixes this issue to avoid array bound.

Test report: http://www.dpdk.org/ml/archives/dev/2015-March/016030.html

Fixes: d8b90c4eabe9 ("i40e: take flow director flexible payload configuration")

Signed-off-by: Jingjing Wu <64d28b617c3b4840f5ded1bfa611cba7fadfe5c7@intel.com>
Acked-by: Helin Zhang <aba9dfdb1a6ec8bf1ff66b95272c029f8dfde1b1@intel.com>
Tested-by: Min Cao <2a88aab028744885054f990971530d20553769a9@intel.com>

john-mcnamara-intel/dpdk,venkynv/dpdk-mirror,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,msune/dpdk,tsphillips/dpdk-fork,john-mcnamara-intel/dpdk,venkynv/dpdk-mirror,venkynv/dpdk-mirror,mixja/dpdk,mixja/dpdk,mixja/dpdk,msune/dpdk,tsphillips/dpdk-fork,msune/dpdk,venkynv/dpdk-mirror,tsphillips/dpdk-fork,tsphillips/dpdk-fork,msune/dpdk,mixja/dpdk