Page MenuHomeFreeBSD

D59791.id187034.diff
No OneTemporary

D59791.id187034.diff

Index: sys/dev/ixl/ixl.h
===================================================================
--- sys/dev/ixl/ixl.h
+++ sys/dev/ixl/ixl.h
@@ -516,7 +516,6 @@
/* Common function prototypes between PF/VF driver */
void ixl_debug_core(device_t dev, u32 enabled_mask, u32 mask, char *fmt, ...);
void ixl_init_tx_ring(struct ixl_vsi *vsi, struct ixl_tx_queue *que);
-void ixl_get_default_rss_key(u32 *);
const char * i40e_vc_stat_str(struct i40e_hw *hw,
enum virtchnl_status_code stat_err);
void ixl_init_tx_rsqs(struct ixl_vsi *vsi);
Index: sys/dev/ixl/ixl_pf_main.c
===================================================================
--- sys/dev/ixl/ixl_pf_main.c
+++ sys/dev/ixl/ixl_pf_main.c
@@ -1099,7 +1099,7 @@
struct i40e_hw *hw = &pf->hw;
struct ixl_vsi *vsi = &pf->vsi;
device_t dev = pf->dev;
- u32 rss_seed[IXL_RSS_KEY_SIZE_REG];
+ u32 rss_seed[IXL_RSS_KEY_SIZE_REG] = {0};
enum i40e_status_code status;
/* Fetch the configured RSS key */
Index: sys/dev/ixl/ixl_txrx.c
===================================================================
--- sys/dev/ixl/ixl_txrx.c
+++ sys/dev/ixl/ixl_txrx.c
@@ -86,23 +86,6 @@
NULL
};
-/*
- * @key key is saved into this parameter
- */
-void
-ixl_get_default_rss_key(u32 *key)
-{
- MPASS(key != NULL);
-
- u32 rss_seed[IXL_RSS_KEY_SIZE_REG] = {0x41b01687,
- 0x183cfd8c, 0xce880440, 0x580cbc3c,
- 0x35897377, 0x328b25e1, 0x4fa98922,
- 0xb7d90c14, 0xd5bad70d, 0xcd15a2c1,
- 0x0, 0x0, 0x0};
-
- bcopy(rss_seed, key, IXL_RSS_KEY_SIZE);
-}
-
/**
* i40e_vc_stat_str - convert virtchnl status err code to a string
* @hw: pointer to the HW structure

File Metadata

Mime Type
text/plain
Expires
Tue, Sep 22, 4:05 PM (3 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39422586
Default Alt Text
D59791.id187034.diff (1 KB)

Event Timeline