net/cxgbe: support flow API for matching IP TOS
[dpdk.git] / drivers / net / cxgbe / base / common.h
index 973d4d7..793cad1 100644 (file)
@@ -158,6 +158,7 @@ struct tp_params {
        int protocol_shift;
        int ethertype_shift;
        int macmatch_shift;
+       int tos_shift;
 
        u64 hash_filter_mask;
 };
@@ -272,6 +273,7 @@ struct adapter_params {
        bool ulptx_memwrite_dsgl;          /* use of T5 DSGL allowed */
        u8 fw_caps_support;               /* 32-bit Port Capabilities */
        u8 filter2_wr_support;            /* FW support for FILTER2_WR */
+       u32 max_tx_coalesce_num; /* Max # of Tx packets that can be coalesced */
 };
 
 /* Firmware Port Capabilities types.