01b645dcff
Move the packet prepare logic into a separate function so that it can be reused later. Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>