]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i40e: DRY rx_ptype handling code
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 4 Dec 2018 17:31:15 +0000 (18:31 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 12 Dec 2018 23:46:02 +0000 (15:46 -0800)
commit800b8f637d07cc00a05e2e0d847d8d7c61745654
tree40267daeb4ba4c6b93f059668f88ac57d32b5523
parent2a508c64ad278d022543ec3360449c7f243eb56b
i40e: DRY rx_ptype handling code

Move rx_ptype extracting to i40e_process_skb_fields() to avoid
duplicating the code.

Signed-off-by: Michał Mirosław <michal.miroslaw@atendesoftware.pl>
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40e/i40e_txrx_common.h
drivers/net/ethernet/intel/i40e/i40e_xsk.c