linux-bl808/drivers/net/ethernet/intel/ice
Maciej Fijalkowski 59bb080805 ice: introduce frame padding computation logic
Take into account the underlying architecture specific settings and
based on that calculate the possible padding that can be supplied.
Typically, for x86 and standard MTU size we will end up with 192 bytes
of headroom. This is the same behavior as our other drivers have and we
can dedicate it for XDP purposes.

Furthermore, introduce the Rx ring flag for indicating whether build_skb
is used on particular. Based on that invoke the routines for padding
calculation.

Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-11-04 13:09:50 -08:00
..
ice.h ice: introduce legacy Rx flag 2019-11-04 13:09:46 -08:00
ice_adminq_cmd.h ice: Implement Dynamic Device Personalization (DDP) download 2019-09-12 11:19:16 -07:00
ice_base.c ice: introduce frame padding computation logic 2019-11-04 13:09:50 -08:00
ice_base.h ice: get rid of per-tc flow in Tx queue configuration routines 2019-11-04 10:03:14 -08:00
ice_common.c ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_common.h ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_controlq.c
ice_controlq.h
ice_dcb.c ice: Allow for delayed LLDP MIB change registration 2019-09-05 08:13:41 -07:00
ice_dcb.h ice: Allow for delayed LLDP MIB change registration 2019-09-05 08:13:41 -07:00
ice_dcb_lib.c ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_dcb_lib.h ice: Introduce ice_base.c 2019-11-04 10:03:14 -08:00
ice_devids.h
ice_ethtool.c ice: introduce frame padding computation logic 2019-11-04 13:09:50 -08:00
ice_flex_pipe.c ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_flex_pipe.h ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_flex_type.h ice: Initialize DDP package structures 2019-09-12 11:28:40 -07:00
ice_hw_autogen.h ice: Implement Dynamic Device Personalization (DDP) download 2019-09-12 11:19:16 -07:00
ice_lan_tx_rx.h ice: update Tx context struct 2019-09-05 08:13:41 -07:00
ice_lib.c ice: introduce frame padding computation logic 2019-11-04 13:09:50 -08:00
ice_lib.h ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00
ice_main.c ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00
ice_nvm.c
ice_osdep.h
ice_sched.c ice: Check root pointer for validity 2019-09-05 08:13:40 -07:00
ice_sched.h
ice_sriov.c
ice_sriov.h
ice_status.h
ice_switch.c ice: Fix resource leak in ice_remove_rule_internal() 2019-09-03 16:08:54 -07:00
ice_switch.h
ice_txrx.c ice: introduce frame padding computation logic 2019-11-04 13:09:50 -08:00
ice_txrx.h ice: introduce frame padding computation logic 2019-11-04 13:09:50 -08:00
ice_txrx_lib.c ice: Move common functions to ice_txrx_lib.c 2019-11-04 11:45:05 -08:00
ice_txrx_lib.h ice: Move common functions to ice_txrx_lib.c 2019-11-04 11:45:05 -08:00
ice_type.h ice: Implement Dynamic Device Personalization (DDP) download 2019-09-12 11:19:16 -07:00
ice_virtchnl_pf.c ice: Introduce ice_base.c 2019-11-04 10:03:14 -08:00
ice_virtchnl_pf.h ice: add support for virtchnl_queue_select.[tx|rx]_queues bitmap 2019-08-26 23:37:16 -07:00
ice_xsk.c ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00
ice_xsk.h ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00
Makefile ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00