]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i40e: Fix for extra byte swap in tunnel setup
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Wed, 24 Aug 2016 18:33:51 +0000 (11:33 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Sep 2016 05:33:39 +0000 (22:33 -0700)
commitb3f5c7bc88bab134e9649e42d30be15e3775f00d
tree5d9796a8dba6fc89451eb9874303df64e9888a82
parentd4a0658d813ec72965a52f04f07258a4018ccb17
i40e: Fix for extra byte swap in tunnel setup

This patch fixes an issue where we were byte swapping the port
parameter, then byte swapping it again in function execution.
Obviously, that's unnecessary, so take it out of the function calls.
Without this patch, the udp based tunnel configuration would
not be correct.

Change-ID: I788d83c5bd5732170f1a81dbfa0b1ac3ca8ea5b7
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c