lkml.org 
[lkml]   [2021]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 5.12 100/160] ice: mark PTYPE 2 as reserved
    Date
    From: Jacob Keller <jacob.e.keller@intel.com>

    [ Upstream commit 0c526d440f76676733cb470b454db9d5507a3a50 ]

    The entry for PTYPE 2 in the ice_ptype_lkup table incorrectly states
    that this is an L2 packet with no payload. According to the datasheet,
    this PTYPE is actually unused and reserved.

    Fix the lookup entry to indicate this is an unused entry that is
    reserved.

    Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
    Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
    Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h b/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h
    index 98a7f27c532b..c0ee0541e53f 100644
    --- a/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h
    +++ b/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h
    @@ -608,7 +608,7 @@ static const struct ice_rx_ptype_decoded ice_ptype_lkup[] = {
    /* L2 Packet types */
    ICE_PTT_UNUSED_ENTRY(0),
    ICE_PTT(1, L2, NONE, NOF, NONE, NONE, NOF, NONE, PAY2),
    - ICE_PTT(2, L2, NONE, NOF, NONE, NONE, NOF, NONE, NONE),
    + ICE_PTT_UNUSED_ENTRY(2),
    ICE_PTT_UNUSED_ENTRY(3),
    ICE_PTT_UNUSED_ENTRY(4),
    ICE_PTT_UNUSED_ENTRY(5),
    --
    2.30.2
    \
     
     \ /
      Last update: 2021-07-06 13:40    [W:2.361 / U:0.484 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site